Beginning of the Great Exception Handling Rewrite.
authorBill Wendling <isanbard@gmail.com>
Sun, 10 Apr 2011 00:04:27 +0000 (00:04 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 10 Apr 2011 00:04:27 +0000 (00:04 +0000)
commitd7bb295d223e028aa9ba7fbeafc8928db4a74972
tree6bbe67645fc6f7c4500dc6df7b7966e203ffda3f
parentb1145c8cee6ab749f00d07d3d7dab0d1d1fd0c06
Beginning of the Great Exception Handling Rewrite.

* Add a "landing pad" attribute to the BasicBlock.
* Modify the bitcode reader and writer to handle said attribute.

Later: The verifier will ensure that the landing pad attribute is used in the
appropriate manner. I.e., not applied to the entry block, and applied only to
basic blocks that are branched to via a `dispatch' instruction.

(This is a work-in-progress.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129235 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/BasicBlock.h
include/llvm/Bitcode/LLVMBitCodes.h
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLToken.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/BasicBlock.cpp
test/Feature/bb_attrs.ll [new file with mode: 0644]