INFO:2024-11-22T18:20:38Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 4be09f06242b..689c53219280 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at 689c53219280 [CUDA] pass -fno-threadsafe-statics to GPU sub-compilations. (#117074) INFO:2024-11-22T18:20:40Z:root:syncing... Deleted branch merge (was 4be09f06242b). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2024-11-22T18:20:41Z:root:building ninja: Entering directory `out/gn' [1/121] CXX obj/clang/lib/Driver/ToolChains/Driver.HIPAMD.o [2/121] CXX obj/clang/lib/Driver/ToolChains/Driver.Cuda.o [3/121] AR lib/libclangDriver.a [4/121] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [5/121] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [6/121] LINK obj/clang/unittests/AST/ASTTests [7/121] LINK ./bin/arcmt-test [8/121] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [9/121] LINK obj/clang/unittests/CrossTU/CrossTUTests [10/121] LINK obj/clang/unittests/AST/ByteCode/InterpTests [11/121] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [12/121] LINK ./bin/clang-offload-bundler [13/121] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [14/121] LINK ./bin/clang-diff [15/121] LINK ./bin/clang-installapi [16/121] LINK ./bin/clang-refactor [17/121] LINK ./bin/clang-extdef-mapping [18/121] LINK ./bin/diagtool [19/121] LINK ./bin/clang-import-test [20/121] LINK obj/clang/unittests/Format/FormatTests [21/121] LINK obj/clang/unittests/Driver/ClangDriverTests [22/121] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [23/121] LINK ./bin/clang-scan-deps [24/121] LINK ./bin/clang-check [25/121] LINK obj/clang/unittests/Index/IndexTests [26/121] LINK ./bin/clang-repl [27/121] LINK obj/clang/unittests/Lex/LexTests [28/121] LINK ./bin/clang [29/121] SOLINK ./lib/libclang.dylib [30/121] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [31/121] LINK ./bin/c-arcmt-test [32/121] STAMP obj/clang/tools/driver/clang-cl.stamp [33/121] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [34/121] STAMP obj/clang/tools/driver/clang-cpp.stamp [35/121] LINK obj/clang/unittests/Rewrite/RewriteTests [36/121] LINK obj/clang/unittests/Frontend/FrontendTests [37/121] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [38/121] STAMP obj/clang/tools/driver/clangxx.stamp [39/121] STAMP obj/clang/tools/driver/symlinks.stamp [40/121] LINK obj/clang/unittests/libclang/libclangTests [41/121] STAMP obj/bolt/test/test.stamp [42/121] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [43/121] LINK obj/clang/unittests/Sema/SemaTests [44/121] LINK obj/clang/unittests/Tooling/ToolingTests [45/121] LINK ./bin/clang-apply-replacements [46/121] LINK obj/clang/unittests/Serialization/SerializationTests [47/121] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [48/121] LINK ./bin/c-index-test [49/121] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [50/121] STAMP obj/clang.stamp [51/121] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [52/121] LINK obj/clang/unittests/Support/ClangSupportTests [53/121] STAMP obj/clang/unittests/unittests.stamp [54/121] STAMP obj/clang/test/test.stamp [55/121] LINK ./bin/clang-change-namespace [56/121] LINK ./bin/clang-include-fixer [57/121] LINK ./bin/clang-doc [58/121] LINK ./bin/find-all-symbols [59/121] LINK ./bin/clang-move [60/121] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [61/121] LINK ./bin/clang-reorder-fields [62/121] LINK ./bin/clang-query [63/121] LINK ./bin/dexp [64/121] LINK ./bin/modularize [65/121] LINK ./bin/pp-trace [66/121] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [67/121] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [68/121] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [69/121] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [70/121] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [71/121] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [72/121] LINK obj/clang-tools-extra/clangd/unittests/xpc/ClangdXpcTests [73/121] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan_shared_library.inputdeps.stamp [74/121] STAMP stage2_unix/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [75/121] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [76/121] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [77/121] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [78/121] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [79/121] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [80/121] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [81/121] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [82/121] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [83/121] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [84/120] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [85/117] LINK ./bin/clangd-indexer [86/117] STAMP stage2_unix/obj/libunwind/src/unwind_shared.inputdeps.stamp [87/117] STAMP stage2_unix/obj/libunwind/src/unwind_static.inputdeps.stamp [88/117] STAMP stage2_unix/obj/libunwind/src/unwind_static_exported.inputdeps.stamp [89/117] STAMP stage2_baremetal_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [90/117] STAMP stage2_ios_aarch64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [91/117] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [92/114] STAMP stage2_iossim_x64/obj/compiler-rt/lib/builtins/builtins.inputdeps.stamp [93/114] LINK ./bin/clang-tidy [94/114] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [95/114] STAMP obj/clang-tools-extra/unittests/unittests.stamp [96/114] STAMP obj/clang-tools-extra/test/test.stamp [97/114] LINK ./bin/clangd [98/114] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangxpc_bundle_xpc_service_executable.stamp [99/114] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.inputdeps.stamp [100/114] COPY_BUNDLE_DATA bin/clangd gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc/Contents/MacOS/clangd [101/114] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangd.xpc.stamp [102/114] STAMP obj/clang-tools-extra/clangd/xpc/framework/clangdxpc_bundle_xpc.stamp [103/114] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.inputdeps.stamp [104/114] COPY_BUNDLE_DATA gen/clang-tools-extra/clangd/xpc/framework/clangd.xpc lib/ClangdXPC.framework/Versions/A/XPCServices/clangd.xpc [105/114] STAMP obj/clang-tools-extra/clangd/xpc/framework/ClangdXPC.framework.stamp [106/114] LINK ./bin/lldb-server [107/114] LINK ./bin/clangd-xpc-test-client [108/114] LINK ./bin/lldb [109/114] LINK ./bin/lldb-dap [110/114] LINK ./bin/lldb-test [111/114] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [112/114] STAMP obj/lldb/test/test.stamp [113/114] STAMP obj/clang-tools-extra/clangd/test/test.stamp [114/114] STAMP obj/default.stamp INFO:2024-11-22T18:20:53Z:root:analyze gn analyze output: { "compile_targets": [], "status": "Found dependency", "test_targets": [ "//clang-tools-extra/clangd/test:check-clangd", "//clang-tools-extra/test:check-clang-tools", "//clang/test:check-clang" ] } gn analyze input: { "files": [ "//clang/lib/Driver/ToolChains/Cuda.cpp", "//clang/lib/Driver/ToolChains/HIPAMD.cpp", "//clang/test/Driver/cuda-no-threadsafe-statics.cu" ], "test_targets": [ "//clang-tools-extra/clangd/test:check-clangd", "//clang-tools-extra/test:check-clang-tools", "//clang/test:check-clang", "//lld/test:check-lld", "//llvm/test:check-llvm" ], "additional_compile_targets": [] } INFO:2024-11-22T18:20:54Z:root:testing INFO:2024-11-22T18:20:54Z:root:test check-clang 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: 20582 tests, 8 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. FAIL: Clang :: Driver/hip-rdc-device-only.hip (2238 of 20582) ******************** 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-qb_j336z/a-gfx803-5382ad.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-qb_j336z/a-gfx803-5382ad.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-qb_j336z/a-gfx803-5382ad.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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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found same:69'1 ? possible intended match 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" "-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-qb_j336z/a-gfx900-88e945.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-qb_j336z/a-gfx803-5382ad.bc" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-gfx900-88e945.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-qb_j336z/b-gfx803-44ad57.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-qb_j336z/b-gfx900-fefb24.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip" same:69'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: "/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=b-hip-amdgcn-amd-amdhsa.bc" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/b-gfx803-44ad57.bc" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/b-gfx900-fefb24.bc" same:69'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60 FAIL: Clang :: Driver/hip-toolchain-no-rdc.hip (2765 of 20582) ******************** 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-qb_j336z/a-gfx803-68fb87.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-qb_j336z/a-gfx803-68fb87.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-qb_j336z/a-gfx803-68fb87.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-qb_j336z/a-gfx803-22a04f.out" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-gfx803-68fb87.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-qb_j336z/a-gfx900-1bb943.o" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:52'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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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-qb_j336z/a-gfx900-d1c83f.out" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-gfx900-1bb943.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-qb_j336z/a-gfx803-22a04f.out" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-gfx900-d1c83f.out" "-output=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-c4b934.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-qb_j336z/a-c4b934.hipfb" "-cuid=cf5448bebfd8a343" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-d590fd.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: 0.. 10.. 20.. 30.. 40.. 50.. 60.. FAIL: Clang :: Driver/hip-toolchain-rdc.hip (3362 of 20582) ******************** 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-qb_j336z/a-gfx803-d50a0b.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-qb_j336z/a-gfx803-d50a0b.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-qb_j336z/a-6b168d-ce09f2.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-qb_j336z/a-40e18f.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-qb_j336z/b-50ebad.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-qb_j336z/a-gfx803-d50a0b.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:96'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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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__G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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35: "/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-qb_j336z/a-gfx803-7f1938.out" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-gfx803-d50a0b.bc" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/b-gfx803-4b62d5.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/_n00yrm54tq2p1zy5qxtxd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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37: "/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" "-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-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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38: "/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-qb_j336z/a-gfx900-f9c651.out" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-gfx900-5ee968.bc" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/b-gfx900-7ea2d3.bc" "--no-whole-archive" same:96'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70 FAIL: Clang :: Driver/hip-toolchain-rdc-separate.hip (4416 of 20582) ******************** 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-qb_j336z/a-gfx803-f4302f.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-qb_j336z/a-gfx803-f4302f.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" "-fexceptions" "-cuid=4ed55e2ec7d5a50d" "-fcuda-allow-variadic-functions" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-gfx803-f4302f.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:16'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found same:16'1 ? possible intended match 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-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-qb_j336z/a-gfx900-318774.bc" "-x" "hip" "/Users/thakis/src/llvm-project/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu" same:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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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-qb_j336z/a-4c8e17.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-qb_j336z/a-gfx803-f4302f.bc" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-gfx900-318774.bc" "-input=/var/folders/gt/_n00yrm54tq2p1zy5qxtxdmw0000gn/T/lit-tmp-qb_j336z/a-4c8e17.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" "-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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-qb_j336z/b-gfx900-d25d93.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: 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: 427.66s Total Discovered Tests: 45971 Skipped : 35 (0.08%) Unsupported : 97 (0.21%) Passed : 45801 (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.