[LLVMdev] R_ARM_ABS32 disassembly with integrated-as

Tim Northover t.p.northover at gmail.com
Tue Oct 16 13:41:11 PDT 2012


> Clearly, you're not detecting all code/data changes, or the direct ELF
> emission is not creating too many constant pools.
>
> Can you attach the assembly generated and the ELF object created from
> both the inline asm and the gcc asm?

I *think* he's comparing the same assembly in both cases: in effect
"clang -integrated-as" vs. "clang". I'm basing this on the names of
his previous attachments: "llvm-via-gcc.dump" and
"llvm-via-integrated-as.dump".

And I'd trust LLVM to emit the constant pools it had decided on,
otherwise things would have gone horribly wrong long before mapping
symbols became an issue to anyone.

As you say, it looks like there are some missing, but that should be
reasonably easy and local to fix once we know how to find out what
needs emitting.

Tim.



More information about the llvm-dev mailing list