aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-09-11 23:55:40 +0000
committerBill Wendling <isanbard@gmail.com>2007-09-11 23:55:40 +0000
commitfe4afb17d3370a1c3d4945d6558de544462b4ce6 (patch)
tree1e878edb552a5d2a80940831c71250bb05fb3426 /lib/Target/PowerPC
parentec39cb98d38bc0474a9ba207bcee31718db0e178 (diff)
downloadexternal_llvm-fe4afb17d3370a1c3d4945d6558de544462b4ce6.zip
external_llvm-fe4afb17d3370a1c3d4945d6558de544462b4ce6.tar.gz
external_llvm-fe4afb17d3370a1c3d4945d6558de544462b4ce6.tar.bz2
Enable indirect encoding for the personality function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPCTargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 20a0128..0c4a144 100644
--- a/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -60,6 +60,7 @@ DarwinTargetAsmInfo::DarwinTargetAsmInfo(const PPCTargetMachine &TM)
WeakRefDirective = "\t.weak_reference\t";
HiddenDirective = "\t.private_extern\t";
SupportsExceptionHandling = false;
+ NeedsIndirectEncoding = true;
DwarfAbbrevSection = ".section __DWARF,__debug_abbrev,regular,debug";
DwarfInfoSection = ".section __DWARF,__debug_info,regular,debug";