From 7ae6c16f51e873c73455f28e71a7b13c0d783d57 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 20 Aug 2024 15:09:39 +0000 Subject: [PATCH] Use -fno-omit-frame-pointer for host windows. Helps with debugging/profiling. Bug: http://b/245707217 Change-Id: I6c163c67a04ab53a0b8a00edb233e6d60404f0a4 --- cc/config/x86_windows_host.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cc/config/x86_windows_host.go b/cc/config/x86_windows_host.go index ea7d3426a..a4d43b996 100644 --- a/cc/config/x86_windows_host.go +++ b/cc/config/x86_windows_host.go @@ -47,6 +47,8 @@ var ( // Windows flags to generate PDB "-g", "-gcodeview", + + "-fno-omit-frame-pointer", } windowsIncludeFlags = []string{