kaz7 added a comment.
For your information, after this patch `check-clang` fails with following
errors if there is no lld is installed (lld is not enable in CMake, and lld is
not installed previously). I appreciate if you run debug-options.c test with
`-fuse-ld=lld` if the lld is existing. Thanks.
/home/jam/llvm-upstream/llvm-project/clang/test/Driver/debug-options.c:379:16:
error: LLDGARANGE: expected string not found in input
// LLDGARANGE: {{".*lld.*"}} {{.*}} "-generate-arange-section"
^
<stdin>:1:1: note: scanning from here
clang version 16.0.0 ([email protected]:llvm/llvm-project.git
734843ebc7c348a154182da00d4f0e215932d64e)
^
<stdin>:7:546: note: possible intended match here
"/home/jam/llvm-upstream/build/bin/clang-16" "-cc1" "-triple"
"x86_64-unknown-linux" "-emit-llvm-bc" "-flto=full" "-flto-unit"
"-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier"
"-discard-value-names" "-main-file-name" "debug-options.c" "-mrelocation-model"
"pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno"
"-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases"
"-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-mllvm"
"-treat-scalable-fixed-error-as-warning" "-debugger-tuning=gdb" "-mllvm"
"-generate-arange-section"
"-fcoverage-compilation-dir=/home/jam/llvm-upstream/build/tools/clang/test/Driver"
"-resource-dir" "/home/jam/llvm-upstream/build/lib/clang/16.0.0"
"-internal-isystem" "/home/jam/llvm-upstream/build/lib/clang/16.0.0/include"
"-internal-isystem" "/usr/local/include" "-internal-isystem"
"/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include"
"-internal-externc-isystem" "/usr/include/x86_64-linux-gnu"
"-internal-externc-isystem" "/include" "-internal-externc-isystem"
"/usr/include"
"-fdebug-compilation-dir=/home/jam/llvm-upstream/build/tools/clang/test/Driver"
"-ferror-limit" "19" "-fgnuc-version=4.2.1" "-faddrsig"
"-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o"
"/tmp/lit-tmp-l8cchoyh/debug-options-1436f9.o" "-x" "c"
"/home/jam/llvm-upstream/llvm-project/clang/test/Driver/debug-options.c"
...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133092/new/
https://reviews.llvm.org/D133092
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits