[LLVMdev] Does LLVM sign ARM ELFs?
Greg Fitzgerald
garious at gmail.com
Mon Nov 19 19:22:58 PST 2012
Is there a reliable way to unit-test that LLVM's integrated assembler was used?
I read through "ELF for the ARM Architecture" and my best guess has
been to inspect .ARM.attributes in the elf-dump's section data, but
both LLVM and GCC use "aeabi" for the vendor name.
I've found several ways to distinguish the two (such as a magic number
where GCC uses ELFOSABI_SYSV and LLVM uses ELFOSABI_LINUX), but hoping
for something more reliable, like a toolchain signature. Is there
anything like that?
Thanks,
Greg
More information about the llvm-dev
mailing list