[PATCH] [ARM64-BE] Fix byte order of CIE and FDE frames for exception handling
Christian Pirker
cpirker at a-bix.com
Tue May 13 03:32:56 PDT 2014
Hi all,
The .eh_frame section is a sequence of records.
Each record is either a CIE (Common Information Entry) or an FDE (Frame Description Entry).
Each of these records contain length and offset fields, that need to be stored in proper byte order.
ARM big endian mode requires the .eh_frame section in bit endian order, although instructions are always in le order.
This patch stores fixups in .eh_frame section in bit endian order (for be mode).
Please review.
Thanks,
Christian
http://reviews.llvm.org/D3741
Files:
lib/Target/ARM64/MCTargetDesc/ARM64AsmBackend.cpp
test/CodeGen/ARM64/big-endian-eh.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3741.9341.patch
Type: text/x-patch
Size: 4386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140513/305ccb9d/attachment.bin>
More information about the llvm-commits
mailing list