[PATCH] D24799: [XRay] Check in Clang whether XRay supports the target when -fxray-instrument is passed
Dean Michael Berris via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 4 02:06:26 PDT 2016
dberris reopened this revision.
dberris added a comment.
This revision is now accepted and ready to land.
This broke the build on i686.
******************** TEST 'Clang :: Driver/xray-instrument.c' FAILED ********************
Script:
--
C:/bb-win/ninja-clang-i686-msc19-R/build/./bin/clang.EXE -v -fxray-instrument -c C:\bb-win\ninja-clang-i686-msc19-R\llvm-project\clang\test\Driver\xray-instrument.c
--
Exit Code: 1
Command Output (stdout):
--
$ "C:/bb-win/ninja-clang-i686-msc19-R/build/./bin/clang.EXE" "-v" "-fxray-instrument" "-c" "C:\bb-win\ninja-clang-i686-msc19-R\llvm-project\clang\test\Driver\xray-instrument.c"
# command stderr:
clang version 4.0.0
Target: i686-pc-windows-msvc
Thread model: posix
InstalledDir: C:\bb-win\ninja-clang-i686-msc19-R\build\bin
clang.EXE: error: the clang compiler does not support '-fxray-instrument on i686-pc-windows-msvc19.0.23506'
error: command failed with exit status: 1
Reverted in https://reviews.llvm.org/rL283199.
Repository:
rL LLVM
https://reviews.llvm.org/D24799
More information about the cfe-commits
mailing list