[LLVMdev] Does someone still keep eye on MC ARM EHABI?

Renato Golin rengolin at systemcall.org
Mon Oct 22 00:24:13 PDT 2012


On 22 October 2012 02:56, Wen-Han Gu (谷汶翰) <wenhan.gu at gmail.com> wrote:
> My question is, to avoid duplicate effort,
> does someone take charge of this part? or
> does anyone is already implementing this currently?

Some attempts were made in the past, but none too successful.

There is a basic implementation at:

lib/CodeGen/AsmPrinter/ARMException.cpp

should guide you through asm and obj emissions.

The best course of action now is to try what it does and go commando on it.

ARMException follows the DwarfException, which follows the Itanium ABI:

http://refspecs.linuxfoundation.org/abi-eh-1.22.html

And ARM's EHABI can be found here:

http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038a/IHI0038A_ehabi.pdf

which also follows the Itanium ABI, but LLVM's implementation still
doesn't work with it, which is (I believe) due to bad jump table
generation.

Check the bug in bugzilla for more information:

http://llvm.org/bugs/show_bug.cgi?id=7187

-- 
cheers,
--renato

http://systemcall.org/




More information about the llvm-dev mailing list