21 lines
916 B
Diff
21 lines
916 B
Diff
--- a/build/config/compiler/BUILD.gn
|
|
+++ b/build/config/compiler/BUILD.gn
|
|
@@ -805,17 +805,6 @@
|
|
cflags += [ "-fcomplete-member-pointers" ]
|
|
}
|
|
|
|
- # Use DWARF simple template names, with the following exceptions:
|
|
- #
|
|
- # * Windows is not supported as it doesn't use DWARF.
|
|
- # * Apple platforms (e.g. MacOS, iPhone, iPad) aren't supported because xcode
|
|
- # lldb doesn't have the needed changes yet.
|
|
- # * Fuchsia isn't supported as zxdb doesn't support simple template names yet.
|
|
- # TODO(crbug.com/1379070): Remove if the upstream default ever changes.
|
|
- if (is_clang && !is_nacl && !is_win && !is_apple && !is_fuchsia) {
|
|
- cflags_cc += [ "-gsimple-template-names" ]
|
|
- }
|
|
-
|
|
# MLGO specific flags. These flags enable an ML-based inliner trained on
|
|
# Chrome on Android (arm32) with ThinLTO enabled, optimizing for size.
|
|
# The "release" ML model is embedded into clang as part of its build.
|