Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index cb21e93db1dfc044dbe58eb99a965327f63ab725..9583f779dfff6f1ae3a7c14f00a5c384789b2852 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) { |
+ cflags = [ "-gdwarf-2" ] |
+ } else { |
+ cflags = [ "-g2" ] |
+ } |
if (use_debug_fission) { |
cflags += [ "-gsplit-dwarf" ] |
} |