http://llvm.org/bugs/show_bug.cgi?id=21009

            Bug ID: 21009
           Summary: (ms) variable not in correct section for tls
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 13056
  --> http://llvm.org/bugs/attachment.cgi?id=13056&action=edit
preprocessed repro

Chromium's ThreadLocalStorageTest.TLSDestructors fails when built for 64-bit
with clang-cl. Relevant file:

https://code.google.com/p/chromium/codesearch#chromium/src/base/threading/thread_local_storage_win.cc&sq=package:chromium

Preprocessed source attached.

Running

  editbin /section:.CRT$XLB,!w
out64\Release_x64\obj\base\threading\base.thread_local_storage_win.obj

and then relinking the binary fixes this, so something in that area is wrong.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to