[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 spop at codeaurora.org
Fri Nov 4 15:28:14 PDT 2011


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




More information about the llvm-dev mailing list