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
This commit is contained in:
Chris Lattner
2009-08-02 06:52:36 +00:00
parent 21e1e81aa6
commit 35039ac241
6 changed files with 15 additions and 10 deletions

View File

@@ -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)