[LLVMbugs] [Bug 21009] New: (ms) variable not in correct section for tls

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 19 16:59:08 PDT 2014


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: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140919/183b4b5f/attachment.html>


More information about the llvm-bugs mailing list