diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-09 23:48:29 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-09 23:48:29 +0000 |
commit | 1c952b9cc98e84b28f68f0f6cf11197263f89863 (patch) | |
tree | 10680a5a866de550f53f801df27d9192f02cae80 /include/llvm/MC/MCDwarf.h | |
parent | 29012319cd1a6dee716c3149ead614a8271f7338 (diff) | |
download | external_llvm-1c952b9cc98e84b28f68f0f6cf11197263f89863.zip external_llvm-1c952b9cc98e84b28f68f0f6cf11197263f89863.tar.gz external_llvm-1c952b9cc98e84b28f68f0f6cf11197263f89863.tar.bz2 |
Initial support for the cfi directives. This is just enough to get
f:
.cfi_startproc
nop
.cfi_endproc
assembled (on ELF).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCDwarf.h')
-rw-r--r-- | include/llvm/MC/MCDwarf.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/include/llvm/MC/MCDwarf.h b/include/llvm/MC/MCDwarf.h index 46177be..81e0651 100644 --- a/include/llvm/MC/MCDwarf.h +++ b/include/llvm/MC/MCDwarf.h @@ -22,6 +22,7 @@ #include <vector> namespace llvm { + class MachineMove; class MCContext; class MCSection; class MCSectionData; @@ -208,7 +209,7 @@ namespace llvm { // // This emits the Dwarf file and the line tables. // - static void Emit(MCStreamer *MCOS, const MCSection *DwarfLineSection); + static void Emit(MCStreamer *MCOS); }; class MCDwarfLineAddr { @@ -224,6 +225,21 @@ namespace llvm { static void Write(MCObjectWriter *OW, int64_t LineDelta, uint64_t AddrDelta); }; + + struct MCDwarfFrameInfo { + MCSymbol *Begin; + MCSymbol *End; + const MCSymbol *Personality; + const MCSymbol *Lsda; + }; + + class MCDwarfFrameEmitter { + public: + // + // This emits the frame info section. + // + static void Emit(MCStreamer &streamer); + }; } // end namespace llvm #endif |