[LLVMdev] Handling of thread_local globals by llc -march=cpp

Anton Korobeynikov anton at korobeynikov.info
Thu May 13 04:55:17 PDT 2010


> int (*FP)() = (int (*)())FPtr;
> int res = FP();
>
> when the function executes correctly in the case of instead having created a standard global variable.
What is the platform you're running the code on?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list