Index: build/toolchain.gypi |
diff --git a/build/toolchain.gypi b/build/toolchain.gypi |
index e1cd791490ae0dd2f8accfc7812b3812c2a1b127..16c87be244fc8591bfdc7b9f289c66322ed06cad 100644 |
--- a/build/toolchain.gypi |
+++ b/build/toolchain.gypi |
@@ -1304,7 +1304,7 @@ |
# Don't use -O3 with sanitizers. |
['nacl_target_arch=="none" and asan==0 and msan==0 and lsan==0 \ |
and tsan==0 and ubsan==0 and ubsan_vptr==0', { |
- 'cflags': ['-O3'], |
+ 'cflags': ['-O3 -fno-omit-frame-pointer'], |
'cflags!': ['-O2'], |
}, { |
'cflags': ['-O2'], |