1 |
--- patch109/build/config/compiler/BUILD.gn 2022-12-25 21:57:21.589178349 +0100 |
2 |
+++ patch109/build/config/compiler/BUILD.gn.simple-template-names 2022-12-25 22:08:18.256749105 +0100 |
3 |
@@ -768,17 +768,6 @@ config("compiler") { |
4 |
cflags += [ "-fcomplete-member-pointers" ] |
5 |
} |
6 |
|
7 |
- # Use DWARF simple template names, with the following exceptions: |
8 |
- # |
9 |
- # * Windows is not supported as it doesn't use DWARF. |
10 |
- # * Apple platforms (e.g. MacOS, iPhone, iPad) aren't supported because xcode |
11 |
- # lldb doesn't have the needed changes yet. |
12 |
- # * Fuchsia isn't supported as zxdb doesn't support simple template names yet. |
13 |
- # TODO(crbug.com/1379070): Remove if the upstream default ever changes. |
14 |
- if (is_clang && !is_nacl && !is_win && !is_apple && !is_fuchsia) { |
15 |
- cflags_cc += [ "-gsimple-template-names" ] |
16 |
- } |
17 |
- |
18 |
# MLGO specific flags. These flags enable an ML-based inliner trained on |
19 |
# Chrome on Android (arm32) with ThinLTO enabled, optimizing for size. |
20 |
# The "release" ML model is embedded into clang as part of its build. |