[LLVMdev] Elf_Dyn_Impl Question

Michael Spencer bigcheesegs at gmail.com
Fri Jul 6 11:45:14 PDT 2012


On Fri, Jul 6, 2012 at 9:51 AM, Sid Manning <sidneym at codeaurora.org> wrote:
> Should Elf_Dyn_Impl in Object/ELF.h also have a 32bit version.
> getTag/getVal/getPtr all return 64bit types however Elf_Addr etc will not
> always be 32bit?

While these accessors are not strictly necessary, they are correct.
The values will be read as 32/64 and losslessly converted to 64 bit.

- Michael Spencer



More information about the llvm-dev mailing list