CodeGen: refactor DwarfException
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 11 Jun 2014 01:19:03 +0000 (01:19 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 11 Jun 2014 01:19:03 +0000 (01:19 +0000)
commit095271bcf4ac68f7b21ae4c33dc14ad8602e331c
treef0e4a64e3b7284d3c21d03fa1ef8062a5d04ff3d
parentc3c6d5fcb8032100b2b6bc48175bb1284c8691e2
CodeGen: refactor DwarfException

DwarfException served as a base class for exception handling directive emission.
However, this is also used by other exception models (e.g. Win64EH).  Rename
this class to EHStreamer and split it out of DwarfException.h.  NFC.

Use the opportunity to fix up some of the documentation comments to match
current LLVM style.  Also rename some functions to conform better with current
LLVM coding style.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210622 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/ARMException.cpp
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/CMakeLists.txt
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
lib/CodeGen/AsmPrinter/DwarfException.cpp [deleted file]
lib/CodeGen/AsmPrinter/DwarfException.h
lib/CodeGen/AsmPrinter/EHStreamer.cpp [new file with mode: 0644]
lib/CodeGen/AsmPrinter/EHStreamer.h [new file with mode: 0644]
lib/CodeGen/AsmPrinter/Win64Exception.cpp