OSDN Git Service

Use the same .eh_frame encoding for 32bit PPC as on i386.
authorJoerg Sonnenberger <joerg@bec.de>
Thu, 24 Jul 2014 19:25:16 +0000 (19:25 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Thu, 24 Jul 2014 19:25:16 +0000 (19:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213890 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCObjectFileInfo.cpp

index 990938e..ed63518 100644 (file)
@@ -286,6 +286,7 @@ void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) {
     if (Ctx->getAsmInfo()->getExceptionHandlingType() == ExceptionHandling::ARM)
       break;
     // Fallthrough if not using EHABI
+  case Triple::ppc:
   case Triple::x86:
     PersonalityEncoding = (RelocM == Reloc::PIC_)
      ? dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4