Chromium Code Reviews| Index: build/config/compiler/BUILD.gn |
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
| index a59907bc8ddeaeeaf1918bc2512127074eb2464e..43887fbf9ec34a76c06f0fad00da110b88f55cf9 100644 |
| --- a/build/config/compiler/BUILD.gn |
| +++ b/build/config/compiler/BUILD.gn |
| @@ -1338,7 +1338,11 @@ config("symbols") { |
| ldflags = [ "/DEBUG" ] |
| } |
| } else { |
| - cflags = [ "-g2" ] |
| + if (!is_ios) { |
|
Dirk Pranke
2016/04/11 16:23:00
nit: I probably would've flipped the order of the
sdefresne
2016/04/12 11:28:34
Done.
|
| + cflags = [ "-g2" ] |
| + } else { |
| + cflags = [ "-gdwarf-2" ] |
| + } |
| if (use_debug_fission) { |
| cflags += [ "-gsplit-dwarf" ] |
| } |