[LLVMdev] llvmc issues on x86_32

Mikhail Glushenkov foldr at codedgers.com
Wed Apr 1 05:02:15 PDT 2009


Albert Graef <Dr.Graef <at> t-online.de> writes:

> I'd say that this is the proper solution, even though it breaks backward
> compatibility on x86_64. But given that llvmc is still considered
> experimental, better do it now than later. 

A better solution probably would be to add
'-relocation-model=pic' only when we are on x86_64. There is no
easy way to access target information in plugins now, but I've
filed a bug on it:

http://llvm.org/bugs/show_bug.cgi?id=3920

> Thanks a lot for creating llvmc, it's very useful!

I'm glad to hear that:)




More information about the llvm-dev mailing list