[llvm-commits] Obtaining CPU information in RuntimeDyld
Jim Grosbach
grosbach at apple.com
Mon Oct 29 10:05:12 PDT 2012
Hi Amara,
What are you trying to do?
-Jim
On Oct 29, 2012, at 10:02 AM, Amara Emerson <amara.emerson at arm.com> wrote:
> Hi,
>
> I'm unsure about the best way to obtain the specific CPU core that is being
> targeted in the ExecutionEngine/RuntimeDyld component. It seems currently
> the only way to find information like this is via the object file itself.
> E.g. RuntimeDyld.cpp:65 where the Arch is retrieved via libObject.
>
> What would be the best way to get more information about the CPU type? _If_
> passing more information to RuntimeDyld from the client isn't an option for
> design reasons, then the only other choice I can see is to implement build
> attribute reading in libObject/ELF.
>
> Thoughts?
>
> Amara
>
>
>
More information about the llvm-commits
mailing list