Semion Prihodko
2011-Nov-09 11:47 UTC
[LLVMdev] LLVM: segfault while modifying a thread-local global variable
Hi, guys. Really strange situation: when I modify a thread-local GlobalVariable I get a segfault. It seems to be a bug, doesn't it? Can u suggest me some solution? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111109/679b7808/attachment.html>
Duncan Sands
2011-Nov-09 12:18 UTC
[LLVMdev] LLVM: segfault while modifying a thread-local global variable
Hi Semion,> Really strange situation: when I modify a thread-local GlobalVariable I get a > segfault. It seems to be a bug, doesn't it? Can u suggest me some solution?build LLVM with assertions enabled. Then you may well get an assertion failure with a helpful error message rather than an obscure crash. Ciao, Duncan.
Semion Prihodko
2011-Nov-09 12:31 UTC
[LLVMdev] LLVM: segfault while modifying a thread-local global variable
In my case the LLVM is built with assertions, but this doesn't help. From your answer I conclude that thread-local globals are fully implemented in x86 JIT. So this is strange... 2011/11/9 Duncan Sands <baldrick at free.fr>> Hi Semion, > > > Really strange situation: when I modify a thread-local GlobalVariable I > get a > > segfault. It seems to be a bug, doesn't it? Can u suggest me some > solution? > > build LLVM with assertions enabled. Then you may well get an assertion > failure > with a helpful error message rather than an obscure crash. > > Ciao, Duncan. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111109/4478029a/attachment.html>
Seemingly Similar Threads
- [LLVMdev] LLVM: segfault while modifying a thread-local global variable
- [LLVMdev] LLVM: segfault while modifying a thread-local global variable
- [LLVMdev] LLVM: segfault while modifying a thread-local global variable
- [LLVMdev] LLVM: segfault while modifying a thread-local global variable
- [LLVMdev] LLVM: segfault while modifying a thread-local global variable