diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-02 06:52:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 06:52:36 +0000 |
commit | c01e333445a1aa6299bbbe95784b50b21098528b (patch) | |
tree | a36731ee4d93ea4476be4150eaf7cec288056b3a /include | |
parent | 4cc380fafa0a509a0d93b4541bbebc8f1f7c0217 (diff) | |
download | external_llvm-c01e333445a1aa6299bbbe95784b50b21098528b.zip external_llvm-c01e333445a1aa6299bbbe95784b50b21098528b.tar.gz external_llvm-c01e333445a1aa6299bbbe95784b50b21098528b.tar.bz2 |
convert EHFrameSection to be managed by TLOF instead of TAI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetLoweringObjectFile.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetLoweringObjectFile.h b/include/llvm/Target/TargetLoweringObjectFile.h index 377b9ee..b4d9b59 100644 --- a/include/llvm/Target/TargetLoweringObjectFile.h +++ b/include/llvm/Target/TargetLoweringObjectFile.h @@ -62,6 +62,11 @@ protected: /// the section the Language Specific Data Area information is emitted to. const MCSection *LSDASection; + /// EHFrameSection - If exception handling is supported by the target, this is + /// the section the EH Frame is emitted to. + const MCSection *EHFrameSection; + + public: // FIXME: NONPUB. const MCSection *getOrCreateSection(const char *Name, @@ -84,7 +89,8 @@ public: const MCSection *getStaticCtorSection() const { return StaticCtorSection; } const MCSection *getStaticDtorSection() const { return StaticDtorSection; } const MCSection *getLSDASection() const { return LSDASection; } - + const MCSection *getEHFrameSection() const { return EHFrameSection; } + /// shouldEmitUsedDirectiveFor - This hook allows targets to selectively /// decide not to emit the UsedDirective for some symbols in llvm.used. /// FIXME: REMOVE this (rdar://7071300) |