diff options
Diffstat (limited to 'www/deno/files/patch-build_config_compiler_BUILD.gn')
-rw-r--r-- | www/deno/files/patch-build_config_compiler_BUILD.gn | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/www/deno/files/patch-build_config_compiler_BUILD.gn b/www/deno/files/patch-build_config_compiler_BUILD.gn index e13c3a8e32be..5ab5b3d7bb9f 100644 --- a/www/deno/files/patch-build_config_compiler_BUILD.gn +++ b/www/deno/files/patch-build_config_compiler_BUILD.gn @@ -1,6 +1,6 @@ ---- cargo-crates/v8-135.1.0/build/config/compiler/BUILD.gn.orig 1973-11-29 22:33:09 UTC -+++ cargo-crates/v8-135.1.0/build/config/compiler/BUILD.gn -@@ -198,7 +198,7 @@ declare_args() { +--- cargo-crates/v8-137.2.1/build/config/compiler/BUILD.gn.orig 2006-07-24 01:21:28 UTC ++++ cargo-crates/v8-137.2.1/build/config/compiler/BUILD.gn +@@ -197,7 +197,7 @@ declare_args() { # This greatly reduces the size of debug builds, at the cost of # debugging information which is required by some specialized # debugging tools. @@ -9,7 +9,7 @@ # Limits the debuginfo that gets generated in "minimal symbols" mode to just # line tables. This flag only has any effect when `symbol_level` is set to 1. -@@ -267,13 +267,16 @@ config("no_unresolved_symbols") { +@@ -266,13 +266,16 @@ config("default_include_dirs") { # Compiler instrumentation can introduce dependencies in DSOs to symbols in # the executable they are loaded into, so they are unresolved at link-time. config("no_unresolved_symbols") { @@ -83,7 +83,7 @@ # We don't use clang -cc1as on Windows (yet? https://crbug.com/762167) asmflags = [ "-Wa,-fdebug-compilation-dir,." ] } -@@ -1643,7 +1650,7 @@ config("clang_revision") { +@@ -1643,7 +1650,7 @@ config("compiler_deterministic") { config("clang_revision") { if (is_clang && clang_base_path == default_clang_base_path && @@ -92,16 +92,7 @@ update_args = [ "--print-revision", "--verify-version=$clang_version", -@@ -1980,7 +1987,7 @@ config("default_warnings") { - "-Wno-thread-safety-reference-return", - - # TODO(crbug.com/376641662): Fix and re-enable. -- "-Wno-nontrivial-memcall", -+ # "-Wno-nontrivial-memcall", - ] - - cflags_cc += [ -@@ -2299,7 +2306,7 @@ config("thin_archive") { +@@ -2359,7 +2366,7 @@ config("export_dynamic") { # 2. Remove the thin_archive config, so that the .a file actually contains all # .o files, instead of just references to .o files in the build directoy config("thin_archive") { @@ -110,7 +101,7 @@ # The macOS and iOS linker ld64.ldd doesn't support thin archive without # symbol table, gcc on linux also throws the error `archive has no index`. # AIX does support -s option, not -S option. -@@ -2754,7 +2761,7 @@ config("afdo") { +@@ -2809,7 +2816,7 @@ config("afdo_optimize_size") { # There are some targeted places that AFDO regresses, so we provide a separate # config to allow AFDO to be disabled per-target. config("afdo") { @@ -119,7 +110,7 @@ cflags = [] if (clang_emit_debug_info_for_profiling) { # Add the following flags to generate debug info for profiling. -@@ -2781,7 +2788,7 @@ config("afdo") { +@@ -2836,7 +2843,7 @@ config("afdo") { cflags += [ "-Wno-backend-plugin" ] inputs = [ _clang_sample_profile ] } @@ -128,7 +119,7 @@ cflags = [ "-fauto-profile=${auto_profile_path}" ] inputs = [ auto_profile_path ] } -@@ -2885,7 +2892,7 @@ config("symbols") { +@@ -2940,7 +2947,7 @@ config("symbols") { # Keeping -g2 for saigo as it's the only toolchain whose artifacts that are # part of chromium release (other nacl toolchains are used only for tests). if ((!is_nacl || is_nacl_saigo) && current_os != "zos") { @@ -137,16 +128,16 @@ } if (!is_nacl && is_clang && !is_tsan && !is_asan) { -@@ -2920,7 +2927,7 @@ config("symbols") { +@@ -2975,7 +2982,7 @@ config("symbols") { # DWARF info may be corrupt; offsets in a range list entry are in different # sections" there. Maybe just a bug in nacl_switch_32.S. _enable_gdb_index = - symbol_level == 2 && !is_apple && !is_nacl && current_cpu != "x86" && + symbol_level == 2 && !is_apple && !is_bsd && !is_nacl && current_cpu != "x86" && - current_os != "zos" && use_lld && + current_os != "zos" && use_lld && !is_wasm && # Disable on non-fission 32-bit Android because it pushes # libcomponents_unittests over the 4gb size limit. -@@ -2958,7 +2965,7 @@ config("symbols") { +@@ -3013,7 +3020,7 @@ config("symbols") { cflags += [ "-gomit-unreferenced-methods" ] } |