commit | 67612c37f140162a8dc941370567cef83e7ba290 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Aug 20 15:07:30 2024 +0000 |
committer | Elliott Hughes <enh@google.com> | Tue Aug 20 15:07:30 2024 +0000 |
tree | f14ad6147d3c4db5848004f04f23bbb7986b235a | |
parent | cda9ce15ffcdcb6e1b6d73a88ee667c284a74974 [diff] [blame] |
Use -fno-omit-frame-pointer for host darwin. Helps with debugging/profiling. Bug: http://b/245707217 Change-Id: Ifbe2f6d05059d4ffee5c33ddec743188164100ef
diff --git a/cc/config/darwin_host.go b/cc/config/darwin_host.go index 2ea607a..1783f49 100644 --- a/cc/config/darwin_host.go +++ b/cc/config/darwin_host.go
@@ -29,6 +29,7 @@ darwinCflags = []string{ "-fPIC", "-funwind-tables", + "-fno-omit-frame-pointer", "-isysroot ${macSdkRoot}", "-mmacosx-version-min=${macMinVersion}",