[LLVMdev] JIT should query host info at runtime - Re: buildbot failure in LLVM on llvm-gcc-build-x86_64-darwin10-x-mingw32-x-armeabi

Sebastian Pop
2011-11-04T22:28:14Z

On Fri, Nov 4, 2011 at 5:16 PM, Eli Friedman <eli.friedman at gmail.com>
wrote:
>> I think that for JIT, the compiler should figure out what the host
>> is with a *runtime* check (i.e., the JIT should not use the info from
>> the configure flag --host.)
>
> Err, what?  We can and should compute the host with a compile-time
> check; how would you possibly run lli on a platform that isn't the
> same as --host?

You are right, when we use the compiler as a JIT, runtime = compile time
so we would need to figure out the host at that time.

Sebastian
--
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum