From 67612c37f140162a8dc941370567cef83e7ba290 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 20 Aug 2024 15:07:30 +0000 Subject: [PATCH] Use -fno-omit-frame-pointer for host darwin. Helps with debugging/profiling. Bug: http://b/245707217 Change-Id: Ifbe2f6d05059d4ffee5c33ddec743188164100ef --- cc/config/darwin_host.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cc/config/darwin_host.go b/cc/config/darwin_host.go index 2ea607a9d..1783f4967 100644 --- a/cc/config/darwin_host.go +++ b/cc/config/darwin_host.go @@ -29,6 +29,7 @@ var ( darwinCflags = []string{ "-fPIC", "-funwind-tables", + "-fno-omit-frame-pointer", "-isysroot ${macSdkRoot}", "-mmacosx-version-min=${macMinVersion}",