forked from OSchip/llvm-project
Enable indirect encoding for the personality function
llvm-svn: 41873
This commit is contained in:
parent
a3bba5ce20
commit
66c22e8fd6
|
@ -60,6 +60,7 @@ ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) {
|
|||
EightByteConstantSection = "\t.literal8\n";
|
||||
ReadOnlySection = "\t.const\n";
|
||||
HasDotTypeDotSizeDirective = false;
|
||||
NeedsIndirectEncoding = true;
|
||||
if (TM.getRelocationModel() == Reloc::Static) {
|
||||
StaticCtorsSection = ".constructor";
|
||||
StaticDtorsSection = ".destructor";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue