diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-09-19 23:00:52 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-09-19 23:00:52 +0000 |
commit | ad027053fe39242529a619d70c87dd535b788bbe (patch) | |
tree | a9f7c2f733cd4ce548e091ee391bf4d32d0ecc07 /tools/llvmc/examples/Simple/Simple.cpp | |
parent | 11f23c1a7260a1cb4b4eee20aea09676e15d55c0 (diff) |
If we are extracting a basic block that ends in an invoke call, we must also
extract the landing pad block. Otherwise, there will be a situation where the
invoke's unwind edge lands on a non-landing pad.
We also forbid the user from extracting the landing pad block by itself. Again,
this is not a valid transformation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/examples/Simple/Simple.cpp')
0 files changed, 0 insertions, 0 deletions