summaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetLoweringObjectFile.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-06-22 22:22:24 +0000
committerBill Wendling <isanbard@gmail.com>2011-06-22 22:22:24 +0000
commitaa0a8f317791b4de07a6c7a2b9705c4183052b54 (patch)
tree73d1be3bb5237e80f75ae56879ebb0cf700b0d43 /include/llvm/Target/TargetLoweringObjectFile.h
parente6240e8b83e9bd60e622650e9e801ebc957172b4 (diff)
downloadexternal_llvm-aa0a8f317791b4de07a6c7a2b9705c4183052b54.zip
external_llvm-aa0a8f317791b4de07a6c7a2b9705c4183052b54.tar.gz
external_llvm-aa0a8f317791b4de07a6c7a2b9705c4183052b54.tar.bz2
Add a __LD,__compact_unwind section.
If the linker supports it, this will hold the CIE and FDE information in a compact format. The implementation of the compact unwinding emission is coming soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLoweringObjectFile.h')
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLoweringObjectFile.h b/include/llvm/Target/TargetLoweringObjectFile.h
index 3991035..12ea2a5 100644
--- a/include/llvm/Target/TargetLoweringObjectFile.h
+++ b/include/llvm/Target/TargetLoweringObjectFile.h
@@ -68,6 +68,11 @@ protected:
/// LSDASection - If exception handling is supported by the target, this is
/// the section the Language Specific Data Area information is emitted to.
const MCSection *LSDASection;
+
+ /// CompactUnwindSection - If exception handling is supported by the target
+ /// and the target can support a compact representation of the CIE and FDE,
+ /// this is the section to emit them into.
+ const MCSection *CompactUnwindSection;
// Dwarf sections for debug info. If a target supports debug info, these must
// be set.
@@ -132,6 +137,7 @@ public:
const MCSection *getStaticCtorSection() const { return StaticCtorSection; }
const MCSection *getStaticDtorSection() const { return StaticDtorSection; }
const MCSection *getLSDASection() const { return LSDASection; }
+ const MCSection *getCompactUnwindSection() const{return CompactUnwindSection;}
virtual const MCSection *getEHFrameSection() const = 0;
virtual void emitPersonalityValue(MCStreamer &Streamer,
const TargetMachine &TM,