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)
commit8076cab0ceef4db0fc9aadd18c6c03ab8ae0a210
treec6cb72a2104c7e00f43dbb3407fa728804a10f6c
parent195f04afeb3b1ee7c8db2370402a2cac7efd18e8
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.

llvm-svn: 210622
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/lib/CodeGen/AsmPrinter/ARMException.cpp
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt
llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfException.h
llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp [moved from llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp with 89% similarity]
llvm/lib/CodeGen/AsmPrinter/EHStreamer.h [new file with mode: 0644]
llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp