change EH related stuff (other than EH_LABEL) to use MCSymbol
authorChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 01:41:15 +0000 (01:41 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2010 01:41:15 +0000 (01:41 +0000)
commit1611273351d75b5cbe2a67485bb9831d5916fe26
tree0fa59fecf1480ead468d8c2208a8a95ae2e2e875
parentbf2d4c034da3a0109175d1c48c2c898b496a18b9
change EH related stuff (other than EH_LABEL) to use MCSymbol
instead of label ID's.  This cleans up and regularizes a bunch
of code and makes way for future progress.

Unfortunately, this pointed out to me that JITDwarfEmitter.cpp
is largely copy and paste from DwarfException/MachineModuleInfo
and other places.  This is very sad and disturbing. :(

One major change here is that TidyLandingPads moved from being
called in DwarfException::BeginFunction to being called in
DwarfException::EndFunction.  There should not be any
functionality change from doing this, but I'm not an EH expert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98459 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/CodeGen/JITCodeEmitter.h
include/llvm/CodeGen/MachineCodeEmitter.h
include/llvm/CodeGen/MachineModuleInfo.h
include/llvm/CodeGen/ObjectCodeEmitter.h
lib/CodeGen/AsmPrinter/DwarfException.cpp
lib/CodeGen/AsmPrinter/DwarfException.h
lib/CodeGen/ELFCodeEmitter.h
lib/CodeGen/MachineModuleInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/ExecutionEngine/JIT/JITDwarfEmitter.cpp
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/Target/ARM/ARMCodeEmitter.cpp
lib/Target/PowerPC/PPCCodeEmitter.cpp
lib/Target/X86/X86CodeEmitter.cpp