[llvm] r213890 - Use the same .eh_frame encoding for 32bit PPC as on i386.
Joerg Sonnenberger
joerg at bec.de
Thu Jul 24 12:25:16 PDT 2014
Author: joerg
Date: Thu Jul 24 14:25:16 2014
New Revision: 213890
URL: http://llvm.org/viewvc/llvm-project?rev=213890&view=rev
Log:
Use the same .eh_frame encoding for 32bit PPC as on i386.
Modified:
llvm/trunk/lib/MC/MCObjectFileInfo.cpp
Modified: llvm/trunk/lib/MC/MCObjectFileInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCObjectFileInfo.cpp?rev=213890&r1=213889&r2=213890&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCObjectFileInfo.cpp (original)
+++ llvm/trunk/lib/MC/MCObjectFileInfo.cpp Thu Jul 24 14:25:16 2014
@@ -286,6 +286,7 @@ void MCObjectFileInfo::InitELFMCObjectFi
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
More information about the llvm-commits
mailing list