[llvm-commits] [PATCH] ARM build attribute reading support

Amara Emerson amara.emerson at arm.com
Thu Nov 15 09:13:49 PST 2012


Hi,

In order to optimize the generation of ARM call veneers in the JIT, we need
to read the ARM ELF build attributes from the object file to check which
architecture version is used.

The attached patch introduces a build attribute parser to ELFObjectFile and
a helper class to store the read information. lib/Target/ARM/ARMBuildAttrs.h
has been moved to include/llvm/Object/ELF_ARM.h.

I've also made changes to the llvm-readobj tool in order to use the
attribute reader, with a minimal test case and trivial ARM ELF object file
for the regression suite.

Review appreciated.

Amara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm455-revised1-r.patch
Type: application/octet-stream
Size: 42812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121115/352e1db7/attachment.obj>


More information about the llvm-commits mailing list