[LLVMdev] LLVM: segfault while modifying a thread-local global variable

Eric Christopher echristo at apple.com
Wed Nov 9 16:29:38 PST 2011


On Nov 9, 2011, at 12:49 PM, Semion Prihodko wrote:

> I use LLVM 2.9. By the way, I have another question. Is landingpad instruction is already implemented in JIT or I should use the old approach with llvm.eh instrinsics? Thanks.

Not sure, you'd be best off looking into the code in top of tree and finding what fits your needs. You may need to do some work to get TLS and EH working in the JIT. It isn't a common code path for the JIT.

-eric



More information about the llvm-dev mailing list