<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 --- - check-asan failure on windows 8.1" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23773&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=MfJwRs3kVESGs-coSH1um8cD7Ia_VLNJkVfDnm40h2U&s=sukeloV0wuzXRm5ngJjMhzFbF-QL7fMT7M1O3iyJNco&e=">23773</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>check-asan failure on windows 8.1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>other
          </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>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>raymond.forbes@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I am trying to build clang with ASAN on Windows 8 using Visual Studio Update 3. 

C:\tools\llvm-build>ninja check-asan
Recompacting log...
Recompacting deps...
[23/31] cmd.exe /C "cd /D
C:\tools\llvm-build\projects\compiler...rt/lib/asan/tests/default/Asan-i386-with-calls-Noinst-Test.exe"
   Creating library
C:/tools/llvm-build/projects/compiler-rt/lib/asan/tests/default/Asan-i386-with-calls-Noinst-Test.lib
and objec
t
C:/tools/llvm-build/projects/compiler-rt/lib/asan/tests/default/Asan-i386-with-calls-Noinst-Test.exp
[29/31] cmd.exe /C "cd /D
C:\tools\llvm-build\projects\compiler...ler-rt/lib/asan/tests/default/Asan-i386-inline-Noinst-Test.exe"
   Creating library
C:/tools/llvm-build/projects/compiler-rt/lib/asan/tests/default/Asan-i386-inline-Noinst-Test.lib
and object C:
/tools/llvm-build/projects/compiler-rt/lib/asan/tests/default/Asan-i386-inline-Noinst-Test.exp
[29/31] cmd.exe /C "cd /D
C:\tools\llvm-build\projects\compiler...san/tests/default/Asan-i386-inline-Test.exe
-fsanitize=address"
   Creating library
C:/tools/llvm-build/projects/compiler-rt/lib/asan/tests/default/Asan-i386-inline-Test.lib
and object C:/tools/
llvm-build/projects/compiler-rt/lib/asan/tests/default/Asan-i386-inline-Test.exp
[30/31] cmd.exe /C "cd /D
C:\tools\llvm-build\projects\compiler...tests/default/Asan-i386-with-calls-Test.exe
-fsanitize=address"
   Creating library
C:/tools/llvm-build/projects/compiler-rt/lib/asan/tests/default/Asan-i386-with-calls-Test.lib
and object C:/to
ols/llvm-build/projects/compiler-rt/lib/asan/tests/default/Asan-i386-with-calls-Test.exp
[31/31] Running the AddressSanitizer tests
FAILED: cmd.exe /C "cd /D C:\tools\llvm-build\projects\compiler-rt\test\asan &&
c:\tools\Python27\python.exe C:/tools/llvm/utils/l
it/lit.py -sv --no-progress-bar
C:/tools/llvm-build/projects/compiler-rt/test/asan/I386WindowsConfig
C:/tools/llvm-build/projects/
compiler-rt/test/asan/Unit"
-- Testing: 489 tests, 4 threads --
FAIL: AddressSanitizer-i386-windows ::
TestCases/Windows/shadow_mapping_failure.cc (324 of 489)
******************** TEST 'AddressSanitizer-i386-windows ::
TestCases/Windows/shadow_mapping_failure.cc' FAILED ******************
**
Script:
--
C:/tools/llvm-build/./bin/clang-cl.exe -fsanitize=address
-Wno-deprecated-declarations -WX -D_HAS_EXCEPTIONS=0 -Zi  -O0 c:\tools\l
lvm\projects\compiler-rt\test\asan\TestCases\Windows\shadow_mapping_failure.cc
-FeC:\tools\llvm-build\projects\compiler-rt\test\as
an\I386WindowsConfig\TestCases\Windows\Output\shadow_mapping_failure.cc.tmp
not 
C:\tools\llvm-build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\shadow_mapping_failure.cc.tmp
2
<span class="quote">>&1 | FileCheck c:\tools\llvm\projects\compiler-rt\test\asan\TestCases\Windows\shadow_mapping_failure.cc</span >
--
Exit Code: 1

Command Output (stdout):
--
Command 0: "C:/tools/llvm-build/./bin/clang-cl.exe" "-fsanitize=address"
"-Wno-deprecated-declarations" "-WX" "-D_HAS_EXCEPTIONS=0
" "-Zi" "-O0"
"c:\tools\llvm\projects\compiler-rt\test\asan\TestCases\Windows\shadow_mapping_failure.cc"
"-FeC:\tools\llvm-build\p
rojects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\shadow_mapping_failure.cc.tmp"
Command 0 Result: 0
Command 0 Output:
   Creating library
C:\tools\llvm-build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\shadow_mapping_f
ailure.cc.lib and object
C:\tools\llvm-build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\shadow_mapp
ing_failure.cc.exp


Command 0 Stderr:


Command 1: "not"
"C:\tools\llvm-build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\shadow_mapping_fai
lure.cc.tmp"
Command 1 Result: 0
Command 1 Output:


Command 1 Stderr:


Command 2: "FileCheck"
"c:\tools\llvm\projects\compiler-rt\test\asan\TestCases\Windows\shadow_mapping_failure.cc"
Command 2 Result: 1
Command 2 Output:


Command 2 Stderr:
c:\tools\llvm\projects\compiler-rt\test\asan\TestCases\Windows\shadow_mapping_failure.cc:16:15:
error: expected string not found i
n input
// CHECK-DAG: 0x{{[0-9a-f]*}}-0x{{[0-9a-f]*}} {{.*}}kernel32.dll
              ^
<stdin>:4:2: note: scanning from here
 0x010c0000-0x415e0000
C:\tools\llvm-build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\shadow_mappin
g_failure.cc.tmp
 ^
<stdin>:5:13: note: possible intended match here
 0x71ba0000-0x71ce1000 C:\windows\SYSTEM32\dbghelp.dll
            ^



--

********************

Testing Time: 75.79s
********************
Failing Tests (1):
    AddressSanitizer-i386-windows ::
TestCases/Windows/shadow_mapping_failure.cc

  Expected Passes    : 255
  Unsupported Tests  : 233
  Unexpected Failures: 1
ninja: build stopped: subcommand failed.

C:\tools\llvm-build></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>