<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - lld doesn't build with clang-cl: __asm problems in xatomic.h"
   href="https://llvm.org/bugs/show_bug.cgi?id=25781">25781</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lld doesn't build with clang-cl: __asm problems in xatomic.h
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hans@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, rnk@google.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>FAILED: D:\src\llvm_package_255000\build32_stage0\bin\clang-cl.exe   /nologo
/DW
IN32 /D_WINDOWS   -wd4141 -wd4146 -wd4180 -wd4244 -wd4258 -wd4267 -wd4291
-wd434
5 -wd4351 -wd4355 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722
-wd480
0 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706
-wd431
0 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592
-wd432
4 -w14062 -we4238 /W4 /Zc:inline /Zc:sizedDealloc- /MT /O2 /Ob2
-Itools\lld\COFF
 -ID:\src\llvm_package_255000\llvm\tools\lld\COFF
-ID:\src\llvm_package_255000\l
lvm\tools\lld\include -Itools\lld\include -Iinclude
-ID:\src\llvm_package_255000
\llvm\include    -UNDEBUG -wd4530 -wd4062  /EHs-c- /GR- /showIncludes
-DGTEST_HA
S_RTTI=0 -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS
-D_CRT_SECURE_NO
_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_DEBUG_POINTER_IMPL=""
-D_HAS_EXCEPTIONS=
0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
/Fotools\lld\COFF\CMakeFiles\lldCOF
F.dir\ICF.cpp.obj /Fdtools\lld\COFF\CMakeFiles\lldCOFF.dir\ -c
D:\src\llvm_packa
ge_255000\llvm\tools\lld\COFF\ICF.cpp
In file included from
D:\src\llvm_package_255000\llvm\tools\lld\COFF\ICF.cpp:46:

In file included from
D:\src\llvm_package_255000\llvm\tools\lld\COFF/Chunks.h:13
:
In file included from
D:\src\llvm_package_255000\llvm\tools\lld\COFF/Config.h:14
:
In file included from
D:\src\llvm_package_255000\llvm\include\llvm/Object/COFF.h
:18:
In file included from
D:\src\llvm_package_255000\llvm\include\llvm/Object/Object
File.h:18:
In file included from
D:\src\llvm_package_255000\llvm\include\llvm/Object/Symbol
icFile.h:17:
In file included from
D:\src\llvm_package_255000\llvm\include\llvm/Object/Binary
.h:19:
In file included from
D:\src\llvm_package_255000\llvm\include\llvm/Support/FileS
ystem.h:30:
In file included from
D:\src\llvm_package_255000\llvm\include\llvm/ADT/Intrusive
RefCntPtr.h:24:
In file included from C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INC
LUDE\atomic:19:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xatomic.h(98,2)
:
  error: invalid symbol redefinition
        __asm
        ^
<inline asm>(5,2) :  note: instantiated into assembly here
        L__MSASMLABEL_.0__again:
        ^</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>