summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows/WindowsSupport.h
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-11-23 17:30:31 +0000
committerXinliang David Li <davidxl@google.com>2015-11-23 17:30:31 +0000
commit4dff875259d315005e2bb90a11a5472108c9a3e3 (patch)
tree3a6aaace9ae5465cddb10910c25dce5fd1d452a0 /llvm/lib/Support/Windows/WindowsSupport.h
parente95d7fac58f02a719d18a7077b70cc19e5f80caa (diff)
downloadbcm5719-llvm-4dff875259d315005e2bb90a11a5472108c9a3e3.tar.gz
bcm5719-llvm-4dff875259d315005e2bb90a11a5472108c9a3e3.zip
Disable frame pointer elimination when using -pg
(Re-apply patch after bug fixing) This diff makes sure that the driver does not pass -fomit-frame-pointer or -momit-leaf-frame-pointer to the frontend when -pg is used. Currently, clang gives an error if -fomit-frame-pointer is used in combination with -pg, but -momit-leaf-frame-pointer was forgotten. Also, disable frame pointer elimination in the frontend when -pg is set. Patch by Stefan Kempf. llvm-svn: 253886
Diffstat (limited to 'llvm/lib/Support/Windows/WindowsSupport.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud