aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/TargetLoweringObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-04-16 03:51:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-04-16 03:51:21 +0000
commit30deafc84adf88f643cdc39dc97a37537155347f (patch)
tree54166d84bd9b295649d616332f3cf919faed906e /lib/Target/TargetLoweringObjectFile.cpp
parentc5eecbc4ec3e8b6934b2c932735c8ebc1b78f537 (diff)
downloadexternal_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 'lib/Target/TargetLoweringObjectFile.cpp')
-rw-r--r--lib/Target/TargetLoweringObjectFile.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/TargetLoweringObjectFile.cpp b/lib/Target/TargetLoweringObjectFile.cpp
index 7eeec5d..643a56b 100644
--- a/lib/Target/TargetLoweringObjectFile.cpp
+++ b/lib/Target/TargetLoweringObjectFile.cpp
@@ -120,6 +120,18 @@ static bool IsNullTerminatedString(const Constant *C) {
return false;
}
+MCSymbol *
+TargetLoweringObjectFile::getPersonalityPICSymbol(StringRef Name) const {
+ assert(0 && "Not Available in this format.");
+}
+
+void TargetLoweringObjectFile::emitPersonalityValue(MCStreamer &Streamer,
+ const TargetMachine &TM,
+ const MCSymbol *Sym) const {
+ assert(0 && "Not Available in this format.");
+}
+
+
/// getKindForGlobal - This is a top-level target-independent classifier for
/// a global variable. Given an global variable and information from TM, it
/// classifies the global in a variety of ways that make various target