diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-16 03:51:21 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-16 03:51:21 +0000 |
commit | 30deafc84adf88f643cdc39dc97a37537155347f (patch) | |
tree | 54166d84bd9b295649d616332f3cf919faed906e /include/llvm/Target/TargetLoweringObjectFile.h | |
parent | c5eecbc4ec3e8b6934b2c932735c8ebc1b78f537 (diff) | |
download | external_llvm-30deafc84adf88f643cdc39dc97a37537155347f.zip external_llvm-30deafc84adf88f643cdc39dc97a37537155347f.tar.gz external_llvm-30deafc84adf88f643cdc39dc97a37537155347f.tar.bz2 |
Put each personality function in a section. This fixes the gnu ld warning:
error in foo.o; no .eh_frame_hdr table will be created.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLoweringObjectFile.h')
-rw-r--r-- | include/llvm/Target/TargetLoweringObjectFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLoweringObjectFile.h b/include/llvm/Target/TargetLoweringObjectFile.h index 34bf271..ac84aec 100644 --- a/include/llvm/Target/TargetLoweringObjectFile.h +++ b/include/llvm/Target/TargetLoweringObjectFile.h @@ -140,6 +140,10 @@ public: const MCSection *getStaticDtorSection() const { return StaticDtorSection; } const MCSection *getLSDASection() const { return LSDASection; } virtual const MCSection *getEHFrameSection() const = 0; + virtual MCSymbol *getPersonalityPICSymbol(StringRef Name) const; + virtual void emitPersonalityValue(MCStreamer &Streamer, + const TargetMachine &TM, + const MCSymbol *Sym) const; const MCSection *getDwarfAbbrevSection() const { return DwarfAbbrevSection; } const MCSection *getDwarfInfoSection() const { return DwarfInfoSection; } const MCSection *getDwarfLineSection() const { return DwarfLineSection; } |