Enable indirect encoding for the personality function
llvm-svn: 41873
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
index 1dea1c1..55ab20d 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
@@ -60,6 +60,7 @@
EightByteConstantSection = "\t.literal8\n";
ReadOnlySection = "\t.const\n";
HasDotTypeDotSizeDirective = false;
+ NeedsIndirectEncoding = true;
if (TM.getRelocationModel() == Reloc::Static) {
StaticCtorsSection = ".constructor";
StaticDtorsSection = ".destructor";