diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-14 01:41:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-14 01:41:15 +0000 |
commit | 34adc8d225abefc81a43a7d21631ebaf842dd9ac (patch) | |
tree | f7d77eb17356f024e9d00ee68336743589f0a318 /llvm/lib/CodeGen/ELFCodeEmitter.h | |
parent | f3530bdd8af9f47fa8a22ed8be09618abebf6d25 (diff) | |
download | bcm5719-llvm-34adc8d225abefc81a43a7d21631ebaf842dd9ac.tar.gz bcm5719-llvm-34adc8d225abefc81a43a7d21631ebaf842dd9ac.zip |
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.
llvm-svn: 98459
Diffstat (limited to 'llvm/lib/CodeGen/ELFCodeEmitter.h')
-rw-r--r-- | llvm/lib/CodeGen/ELFCodeEmitter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ELFCodeEmitter.h b/llvm/lib/CodeGen/ELFCodeEmitter.h index b5e9c844ec6..2ec1f6e873d 100644 --- a/llvm/lib/CodeGen/ELFCodeEmitter.h +++ b/llvm/lib/CodeGen/ELFCodeEmitter.h @@ -57,13 +57,13 @@ namespace llvm { bool finishFunction(MachineFunction &F); /// emitLabel - Emits a label - virtual void emitLabel(uint64_t LabelID) { + virtual void emitLabel(MCSymbol *Label) { assert("emitLabel not implemented"); } /// getLabelAddress - Return the address of the specified LabelID, /// only usable after the LabelID has been emitted. - virtual uintptr_t getLabelAddress(uint64_t Label) const { + virtual uintptr_t getLabelAddress(MCSymbol *Label) const { assert("getLabelAddress not implemented"); return 0; } |