This is an archive of the discontinued LLVM Phabricator instance.

Fix ARM EHABI handlerdata code generation.
ClosedPublic

Authored by logan on May 13 2014, 12:41 PM.

Details

Reviewers
logan
joerg
Summary

In r208166, several code has been added so that .eh_frame can
be generated for ARM in NetBSD, which is using Itanium C++ ABI
directly.

However, this will be incorrect when ARM EHABI is used.
With ARM EHABI, we should use DW_EH_PE_absptr for TTypeEncoding
instead.

Diff Detail

Event Timeline

logan updated this revision to Diff 9359.May 13 2014, 12:41 PM
logan retitled this revision from to Fix ARM EHABI handlerdata code generation..
logan updated this object.
logan edited the test plan for this revision. (Show Details)
logan added a reviewer: joerg.
logan added a subscriber: Unknown Object (MLST).
joerg edited edge metadata.May 13 2014, 12:52 PM

See r208715. Feel free to add the test case.

Hi Logan,

I've seen this error on libc++abi and on the test-suite (tramp3d-v4) when using libc++. LGTM.

Thanks,
--renato

logan accepted this revision.May 14 2014, 9:46 AM
logan added a reviewer: logan.
This revision is now accepted and ready to land.May 14 2014, 9:46 AM
logan closed this revision.May 14 2014, 9:46 AM

The test case has been committed in rL208790.