aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-07-13 20:41:46 +0000
committerReid Kleckner <reid@kleckner.net>2015-07-13 20:41:46 +0000
commit9a1a9194653ef5aa15ef32120c26f39c22a5332f (patch)
treedc3c2e1fef68cca24f28d9a207c71288dde9ce84 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentd8861517bf508804d176a635c809556a0d78fea6 (diff)
downloadllvm-9a1a9194653ef5aa15ef32120c26f39c22a5332f.zip
llvm-9a1a9194653ef5aa15ef32120c26f39c22a5332f.tar.gz
llvm-9a1a9194653ef5aa15ef32120c26f39c22a5332f.tar.bz2
[WinEH] Emit the LSDA even if no lpads remain but outlining occurred
The outlined funclets call intrinsics which reference labels from the LSDA. This situation can easily arise in small functions with a single cleanup at -O0, where Clang marks a definition as nounwind, and then WinEHPrepare "discovers" that the landingpad is dead by accident and deletes it. We now need to ask the LLVM IR Function for it's personality directly, rather than going through MachineModuleInfo. Fixes PR23892. llvm-svn: 242063
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions