[PATCH] D51049: Driver: Enable address-significance tables by default when targeting COFF.

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 23 14:15:56 PDT 2018


vitalybuka added a comment.

This breaks Windows bot
 http://lab.llvm.org:8011/builders/sanitizer-windows/builds/33846/steps/run%20check-asan/logs/stdio

  742542.065 [0/1/37] Running the AddressSanitizer tests
  -- Testing: 607 tests, 16 threads --
  Testing: 0 .. 10.. 20.. 30.. 40.. 50
  FAIL: AddressSanitizer-i386-windows :: TestCases/Windows/coverage-basic.cc (332 of 607)
  ******************** TEST 'AddressSanitizer-i386-windows :: TestCases/Windows/coverage-basic.cc' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   rm -rf C:\b\slave\sanitizer-windows\build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\coverage-basic.cc.tmp-dir
  : 'RUN: at line 2';   mkdir C:\b\slave\sanitizer-windows\build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\coverage-basic.cc.tmp-dir && cd C:\b\slave\sanitizer-windows\build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\coverage-basic.cc.tmp-dir
  : 'RUN: at line 3';      C:/b/slave/sanitizer-windows/build/./bin/clang.exe  -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -gcodeview -gcolumn-info   -fms-compatibility-version=19.00.24215.1  -fsanitize-coverage=func C:\b\slave\sanitizer-windows\llvm\projects\compiler-rt\test\asan\TestCases\Windows\coverage-basic.cc -o test.exe
  : 'RUN: at line 4';   env ASAN_OPTIONS=coverage=1  ./test.exe
  : 'RUN: at line 6';   C:/Python27/python.exe C:/b/slave/sanitizer-windows/llvm/projects/compiler-rt\lib\sanitizer_common\scripts\sancov.py print *.sancov | FileCheck C:\b\slave\sanitizer-windows\llvm\projects\compiler-rt\test\asan\TestCases\Windows\coverage-basic.cc
  --
  Exit Code: 1120
  
  Command Output (stdout):
  --
  $ ":" "RUN: at line 1"
  $ "rm" "-rf" "C:\b\slave\sanitizer-windows\build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\coverage-basic.cc.tmp-dir"
  $ ":" "RUN: at line 2"
  $ "mkdir" "C:\b\slave\sanitizer-windows\build\projects\compiler-rt\test\asan\I386WindowsConfig\TestCases\Windows\Output\coverage-basic.cc.tmp-dir"
  $ ":" "RUN: at line 3"
  $ "C:/b/slave/sanitizer-windows/build/./bin/clang.exe" "-fsanitize=address" "-mno-omit-leaf-frame-pointer" "-fno-omit-frame-pointer" "-fno-optimize-sibling-calls" "-gline-tables-only" "-gcodeview" "-gcolumn-info" "-fms-compatibility-version=19.00.24215.1" "-fsanitize-coverage=func" "C:\b\slave\sanitizer-windows\llvm\projects\compiler-rt\test\asan\TestCases\Windows\coverage-basic.cc" "-o" "test.exe"
  # command output:
     Creating library test.lib and object test.exp
  
  coverage-basic-f4c01a.o : error LNK2001: unresolved external symbol ___sanitizer_cov_trace_pc
  
  test.exe : fatal error LNK1120: 1 unresolved externals


Repository:
  rC Clang

https://reviews.llvm.org/D51049





More information about the cfe-commits mailing list