ninja: Entering directory `out/gn' [0/2] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /Users/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:473: note: using SDKROOT: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk' llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /Users/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /Users/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /Users/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 20584 tests, 8 workers -- Testing: FAIL: Clang :: Driver/hip-toolchain-no-rdc.hip (1 of 20584) ******************** TEST 'Clang :: Driver/hip-toolchain-no-rdc.hip' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 1: rm -rf /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/hip-toolchain-no-rdc.hip.tmp && mkdir /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/hip-toolchain-no-rdc.hip.tmp + rm -rf /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/hip-toolchain-no-rdc.hip.tmp + mkdir /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/hip-toolchain-no-rdc.hip.tmp RUN: at line 2: /Users/thakis/src/llvm-project/out/gn/bin/clang -### --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -B/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/lld -nogpuinc /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=CHECK,LINK /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-no-rdc.hip + /Users/thakis/src/llvm-project/out/gn/bin/clang -### --target=x86_64-linux-gnu -fno-gpu-rdc -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -B/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/lld -nogpuinc /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=CHECK,LINK /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-no-rdc.hip /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-no-rdc.hip:52:16: error: CHECK-SAME: expected string not found in input // CHECK-SAME: "-fcuda-is-device" "-mllvm" "-amdgpu-internalize-symbols" ^ :6:253: note: scanning from here "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=cf5448bebfd8a343" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-71bd19.o" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" ^ :6:506: note: possible intended match here "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=cf5448bebfd8a343" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-71bd19.o" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" ^ Input file: Check file: /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-no-rdc.hip -dump-input=help explains the following input dump. Input was: <<<<<< 1: clang version 20.0.0 2: Target: x86_64-unknown-linux-gnu 3: Thread model: posix 4: InstalledDir: /Users/thakis/src/llvm-project/out/gn/bin 5: Build config: +assertions 6: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=cf5448bebfd8a343" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-71bd19.o" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:52'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found same:52'1 ? possible intended match 7: "/Users/thakis/src/llvm-project/out/gn/bin/lld" "-flavor" "gnu" "-m" "elf64_amdgpu" "--no-undefined" "-shared" "-plugin-opt=-amdgpu-internalize-symbols" "-plugin-opt=mcpu=gfx803" "--whole-archive" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-5abe7b.out" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-71bd19.o" "--no-whole-archive" same:52'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-mllvm" "-amdgpu-internalize-symbols" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx900" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=cf5448bebfd8a343" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gf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~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: "/Users/thakis/src/llvm-project/out/gn/bin/lld" "-flavor" "gnu" "-m" "elf64_amdgpu" "--no-undefined" "-shared" "-plugin-opt=-amdgpu-internalize-symbols" "-plugin-opt=mcpu=gfx900" "--whole-archive" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-a01b53.out" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-7ea91f.o" "--no-whole-archive" same:52'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: "/Users/thakis/src/llvm-project/out/gn/bin/clang-offload-bundler" "-type=o" "-bundle-align=4096" "-targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803,hipv4-amdgcn-amd-amdhsa--gfx900" "-input=/dev/null" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-5abe7b.out" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-a01b53.out" "-output=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-df2be0.hipfb" same:52'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-aux-triple" "amdgcn-amd-amdhsa" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-fcoverage-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-fcuda-include-gpubinary" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-df2be0.hipfb" "-cuid=cf5448bebfd8a343" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-3935b3.o" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:52'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: FAIL: Clang :: Driver/hip-toolchain-rdc-separate.hip (2 of 20584) ******************** TEST 'Clang :: Driver/hip-toolchain-rdc-separate.hip' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 1: rm -rf /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/hip-toolchain-rdc-separate.hip.tmp && mkdir /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/hip-toolchain-rdc-separate.hip.tmp + rm -rf /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/hip-toolchain-rdc-separate.hip.tmp + mkdir /Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver/Output/hip-toolchain-rdc-separate.hip.tmp RUN: at line 2: /Users/thakis/src/llvm-project/out/gn/bin/clang -c -### --target=x86_64-linux-gnu -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2 --no-offload-new-driver -fuse-ld=lld -B/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/lld -fgpu-rdc -nogpuinc /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-rdc-separate.hip + /Users/thakis/src/llvm-project/out/gn/bin/clang -c -### --target=x86_64-linux-gnu -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2 --no-offload-new-driver -fuse-ld=lld -B/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/lld -fgpu-rdc -nogpuinc /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-rdc-separate.hip /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-rdc-separate.hip:16:16: error: CHECK-SAME: expected string not found in input // CHECK-SAME: "-fcuda-is-device" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" ^ :7:263: note: scanning from here "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=4ed55e2ec7d5a50d" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-af14ee.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" ^ :7:516: note: possible intended match here "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=4ed55e2ec7d5a50d" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-af14ee.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" ^ Input file: Check file: /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-rdc-separate.hip -dump-input=help explains the following input dump. Input was: <<<<<< 1: clang version 20.0.0 2: Target: x86_64-unknown-linux-gnu 3: Thread model: posix 4: InstalledDir: /Users/thakis/src/llvm-project/out/gn/bin 5: Build config: +assertions 6: clang: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] 7: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexcept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"amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx900" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=4ed55e2ec7d5a50d" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-b2e9c2.bc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~ 9: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-aux-triple" "amdgcn-amd-amdhsa" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-fcoverage-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=4ed55e2ec7d5a50d" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-74b5e2.o" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: "/Users/thakis/src/llvm-project/out/gn/bin/clang-offload-bundler" "-type=o" "-targets=hip-amdgcn-amd-amdhsa-gfx803,hip-amdgcn-amd-amdhsa-gfx900,host-x86_64-unknown-linux-gnu" "-output=a.o" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-af14ee.bc" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-b2e9c2.bc" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-74b5e2.o" same:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=79f944e17c5b77fa" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/b-gfx803-3c0b9a.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip" same:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx900" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=79f944e17c5b77fa" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/b-gfx900-73b474.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip" same:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: FAIL: Clang :: Driver/hip-rdc-device-only.hip (3 of 20584) ******************** TEST 'Clang :: Driver/hip-rdc-device-only.hip' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /Users/thakis/src/llvm-project/out/gn/bin/clang -### --target=x86_64-linux-gnu --no-offload-new-driver -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 -c -nogpuinc -nogpulib --cuda-device-only -fgpu-rdc /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip --gpu-bundle-output 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=COMMON,EMITBC /Users/thakis/src/llvm-project/clang/test/Driver/hip-rdc-device-only.hip + /Users/thakis/src/llvm-project/out/gn/bin/clang -### --target=x86_64-linux-gnu --no-offload-new-driver -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 -c -nogpuinc -nogpulib --cuda-device-only -fgpu-rdc /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip --gpu-bundle-output + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=COMMON,EMITBC /Users/thakis/src/llvm-project/clang/test/Driver/hip-rdc-device-only.hip /Users/thakis/src/llvm-project/clang/test/Driver/hip-rdc-device-only.hip:69:17: error: COMMON-SAME: expected string not found in input // COMMON-SAME: "-fcuda-is-device" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" ^ :6:263: note: scanning from here "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-nogpulib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=95164da99af0f522" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-fb790b.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" ^ :6:516: note: possible intended match here "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-nogpulib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=95164da99af0f522" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-fb790b.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" ^ Input file: Check file: /Users/thakis/src/llvm-project/clang/test/Driver/hip-rdc-device-only.hip -dump-input=help explains the following input dump. Input was: <<<<<< 1: clang version 20.0.0 2: Target: x86_64-unknown-linux-gnu 3: Thread model: posix 4: InstalledDir: /Users/thakis/src/llvm-project/out/gn/bin 5: Build config: +assertions 6: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-nogpulib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=95164da99af0f522" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-fb790b.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:69'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx900" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-nogpulib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=95164da99af0f522" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-b0cc57.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:69'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: "/Users/thakis/src/llvm-project/out/gn/bin/clang-offload-bundler" "-type=bc" "-targets=hip-amdgcn-amd-amdhsa-gfx803,hip-amdgcn-amd-amdhsa-gfx900" "-output=a-hip-amdgcn-amd-amdhsa.bc" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-fb790b.bc" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-b0cc57.bc" same:69'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-nogpulib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=52e6fc63cea42e7" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/b-gfx803-b5c10b.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip" same:69'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-target-cpu" "gfx900" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-nogpulib" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=52e6fc63cea42e7" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s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folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/b-gfx900-699d14.bc" same:69'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> -- ******************** Testing: FAIL: Clang :: Driver/hip-toolchain-rdc.hip (4 of 20584) ******************** TEST 'Clang :: Driver/hip-toolchain-rdc.hip' FAILED ******************** Exit Code: 1 Command Output (stderr): -- RUN: at line 1: /Users/thakis/src/llvm-project/out/gn/bin/clang -### --target=x86_64-linux-gnu -v -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -B/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/lld -fgpu-rdc -nogpuinc --no-offload-new-driver -fhip-dump-offload-linker-script /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip 2>&1 | /Users/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=CHECK,LNX /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-rdc.hip + /Users/thakis/src/llvm-project/out/gn/bin/clang -### --target=x86_64-linux-gnu -v -x hip --cuda-gpu-arch=gfx803 --cuda-gpu-arch=gfx900 --hip-device-lib=lib1.bc --hip-device-lib=lib2.bc --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1 --hip-device-lib-path=/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2 -fuse-ld=lld -B/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/lld -fgpu-rdc -nogpuinc --no-offload-new-driver -fhip-dump-offload-linker-script /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu /Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip + /Users/thakis/src/llvm-project/out/gn/bin/FileCheck -check-prefixes=CHECK,LNX /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-rdc.hip /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-rdc.hip:96:16: error: CHECK-SAME: expected string not found in input // CHECK-SAME: "-fcuda-is-device" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" ^ :33:279: note: scanning from here "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-v" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=bb935a4f4758d65a" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-53266d.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" ^ :33:532: note: possible intended match here "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-v" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=bb935a4f4758d65a" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-53266d.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" ^ Input file: Check file: /Users/thakis/src/llvm-project/clang/test/Driver/hip-toolchain-rdc.hip -dump-input=help explains the following input dump. Input was: <<<<<< . . . 28: __hip_fatbin_75f1563826290ebb: 29: .incbin "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-b3c395-cb1973.hipfb" 30: .section .note.GNU-stack, "", @progbits 31: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-aux-triple" "amdgcn-amd-amdhsa" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-v" "-fcoverage-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=bb935a4f4758d65a" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-039eb8.o" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" 32: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-aux-triple" "amdgcn-amd-amdhsa" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-v" "-fcoverage-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=bd3fba914f040298" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/b-fff86f.o" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip" 33: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-v" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=bb935a4f4758d65a" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gf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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found same:96'1 ? possible intended match 34: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fdenormal-fp-math-f32=preserve-sign,preserve-sign" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx803" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-v" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=bd3fba914f040298" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/b-gfx803-c4fd14.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip" same:96'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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m-project/out/gn/bin/lld" "-flavor" "gnu" "-m" "elf64_amdgpu" "--no-undefined" "-shared" "-plugin-opt=-amdgpu-internalize-symbols" "-plugin-opt=mcpu=gfx803" "--whole-archive" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-47639f.out" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx803-53266d.bc" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/b-gfx803-c4fd14.bc" "--no-whole-archive" same:96'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36: "/Users/thakis/src/llvm-project/out/gn/bin/clang" "-cc1" "-triple" "amdgcn-amd-amdhsa" "-aux-triple" "x86_64-unknown-linux-gnu" "-Werror=atomic-alignment" "-emit-llvm-bc" "-emit-llvm-uselists" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "a.cu" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx900" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-v" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=bb935a4f4758d65a" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-e09e06.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:96'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "b.hip" "-mrelocation-model" "pic" "-pic-level" "2" "-fhalf-no-semantic-interposition" "-mframe-pointer=all" "-fno-rounding-math" "-mconstructor-aliases" "-aux-target-cpu" "x86-64" "-fcuda-is-device" "-fno-threadsafe-statics" "-fcuda-allow-variadic-functions" "-fvisibility=hidden" "-fapply-global-visibility-to-externs" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc" "-mlink-builtin-bitcode" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc" "-target-cpu" "gfx900" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/Users/thakis/src/llvm-project/out/gn/obj/clang/test/Driver" "-target-linker-version" "520" "-v" "-resource-dir" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-internal-isystem" "/Users/thakis/src/llvm-project/out/gn/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-fno-autolink" "-ferror-limit" "19" "-fhip-new-launch-api" "-fgpu-rdc" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-cuid=bd3fba914f040298" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/b-gfx900-ed92ec.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip" same:96'0 ~~~~~~~~~~~~~~~~~~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" "--no-undefined" "-shared" "-plugin-opt=-amdgpu-internalize-symbols" "-plugin-opt=mcpu=gfx900" "--whole-archive" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-855be8.out" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/a-gfx900-e09e06.bc" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-e695x_s_/b-gfx900-ed92ec.bc" "--no-whole-archive" same:96'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (4): Clang :: Driver/hip-rdc-device-only.hip Clang :: Driver/hip-toolchain-no-rdc.hip Clang :: Driver/hip-toolchain-rdc-separate.hip Clang :: Driver/hip-toolchain-rdc.hip Testing Time: 439.88s Total Discovered Tests: 45973 Skipped : 35 (0.08%) Unsupported : 97 (0.21%) Passed : 45803 (99.63%) Expectedly Failed: 34 (0.07%) Failed : 4 (0.01%) FAILED: gen/clang/test/run-lit python3 bin/llvm-lit -sv ../../clang/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang']' returned non-zero exit status 1.