diff options
author | Quentin Colombet <qcolombet@apple.com> | 2015-11-14 01:55:17 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2015-11-14 01:55:17 +0000 |
commit | 2cdcfd23cd019d40977006f6bee476442821a8b1 (patch) | |
tree | 657d44350d9cd9244ccd375e8567f9bddd73d6aa /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | d1d5c5168f52056856f1267799801593998cdb04 (diff) | |
download | llvm-2cdcfd23cd019d40977006f6bee476442821a8b1.zip llvm-2cdcfd23cd019d40977006f6bee476442821a8b1.tar.gz llvm-2cdcfd23cd019d40977006f6bee476442821a8b1.tar.bz2 |
[ShrinkWrapping] Disable the optimization for functions with sanitize like
attribute.
Even if the target supports shrink-wrapping, the prologue and epilogue
must not move because a crash can happen anywhere and sanitizers need
to be able to unwind from the PC of the crash.
llvm-svn: 253116
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions