[LLVMdev] [LLD] Segmentation fault in case of TLS mismatch (original) (raw)
shridHar joshi shridhar.j8 at gmail.com
Fri Jul 24 03:28:56 PDT 2015
- Previous message: [LLVMdev] SIMD for sdiv <2 x i64>
- Next message: [LLVMdev] Compiling LibC++ with LLVM on ARM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
In case a variable is defined as TLS and referenced as non TLS, lld causes segmentation fault. Filed new bug 24244 and working on it.
Test case:
test.c:
extern int tlsvar;
int main() { printf("%d\n",tlsvar); return 0; }
tls.c
int __thread tlsvar = 10;
==================
-Shridhar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150724/5e63405c/attachment.html>
- Previous message: [LLVMdev] SIMD for sdiv <2 x i64>
- Next message: [LLVMdev] Compiling LibC++ with LLVM on ARM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]