[llvm-commits] Obtaining CPU information in RuntimeDyld
Amara Emerson
amara.emerson at arm.com
Mon Oct 29 10:02:42 PDT 2012
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