Commit | Line | Data |
---|---|---|
bd70e9dd VM |
1 | --- a/build/config/compiler/BUILD.gn |
2 | +++ b/build/config/compiler/BUILD.gn | |
3 | @@ -422,18 +422,6 @@ | |
c6d538bf VM |
4 | cflags += [ "-fcolor-diagnostics" ] |
5 | } | |
6 | ||
7 | - # TODO(hans): Remove this once Clang generates better optimized debug info by | |
8 | - # default. https://crbug.com/765793 | |
9 | - if (is_clang && !is_nacl && current_toolchain == host_toolchain && | |
10 | - target_os != "chromeos") { | |
11 | - cflags += [ | |
12 | - "-Xclang", | |
13 | - "-mllvm", | |
14 | - "-Xclang", | |
bd70e9dd | 15 | - "-instcombine-lower-dbg-declare=0", |
c6d538bf VM |
16 | - ] |
17 | - } | |
18 | - | |
19 | # Print absolute paths in diagnostics. There is no precedent for doing this | |
20 | # on Linux/Mac (GCC doesn't support it), but MSVC does this with /FC and | |
21 | # Windows developers rely on it (crbug.com/636109) so only do this on Windows. |