diff options
author | Reid Kleckner <reid@kleckner.net> | 2015-02-04 23:45:07 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2015-02-04 23:45:07 +0000 |
commit | 86ea7707753927a118d5a1c5db734dd669ff1a89 (patch) | |
tree | e0bd3eecf42b41e5bee5e0ab0343aecf5e652fed /clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp | |
parent | 92e0476c671a3a1734d8c504aac7af6df93feeab (diff) | |
download | bcm5719-llvm-86ea7707753927a118d5a1c5db734dd669ff1a89.tar.gz bcm5719-llvm-86ea7707753927a118d5a1c5db734dd669ff1a89.zip |
Driver: Stop forcing frame pointer usage on Windows
Previously, we would use a frame pointer by default on non-Linux OSs. On
Linux, any optimization flags imply -fomit-frame-pointer. XCore always
defaulted to -fomit-frame-pointer.
Now x86 Windows matches our behavior on Linux. All other ISAs supported
by Windows (ARM, x64) use xdata information, and frame pointers aren't
useful. Frame pointers are now off by default for such targets, but can
be forced via -fno-omit-frame-pointer and code using alloca().
In fact, on Win64 our frame-pointer prologue is not describable with
UNWIND_INFO. This change is a workaround to avoid using the broken FP
using prologue for most functions. This is PR22467.
llvm-svn: 228236
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp')
0 files changed, 0 insertions, 0 deletions