[llvm] r213890 - Use the same .eh_frame encoding for 32bit PPC as on i386.

Dimitry Andric dimitry at andric.com
Sat Dec 27 07:46:36 PST 2014


Hi Jörg,

Can you please approve this one for the 3.5.1 branch?  It was somehow missed for 3.5 and we found out that you can't link C++ object with exceptions on PowerPC without this. :)

-Dimitry

> On 24 Jul 2014, at 21:25, Joerg Sonnenberger <joerg at bec.de> wrote:
> 
> 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
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141227/434a6a57/attachment.sig>


More information about the llvm-commits mailing list