[clang] [Frontend] Move -mllvm and loading of plugins to address a fixme. NFC (PR #192476)

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 16 08:57:01 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 53663 tests passed
* 1115 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/infrastructure/cuda-basic.cu</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
C:/Python312/python.exe C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\infrastructure\cuda-basic.cu modernize-use-nullptr C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\infrastructure\Output\cuda-basic.cu.tmp -- --    --cuda-path=C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\infrastructure/Inputs/CUDA    -nocudalib -nocudainc -I C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\infrastructure/Inputs/CUDA
# executed command: C:/Python312/python.exe 'C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py' 'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\infrastructure\cuda-basic.cu' modernize-use-nullptr 'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\infrastructure\Output\cuda-basic.cu.tmp' -- -- '--cuda-path=C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\infrastructure/Inputs/CUDA' -nocudalib -nocudainc -I 'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\infrastructure/Inputs/CUDA'
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', 'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\infrastructure\\Output\\cuda-basic.cu.tmp.cu', '-fix', '--checks=-*,modernize-use-nullptr', '--config={}', '--', '--cuda-path=C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\infrastructure/Inputs/CUDA', '-nocudalib', '-nocudainc', '-I', 'C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\infrastructure/Inputs/CUDA', '-std=c++11', '-nostdinc++', '-isystem', 'C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\Inputs\\Headers\\std']...
# | clang-tidy --experimental-custom-checks C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\infrastructure\Output\cuda-basic.cu.tmp.cu -fix --checks=-*,modernize-use-nullptr --config={} -- --cuda-path=C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\infrastructure/Inputs/CUDA -nocudalib -nocudainc -I C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\infrastructure/Inputs/CUDA -std=c++11 -nostdinc++ -isystem C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\Inputs\Headers\std failed:
# | clang (LLVM option parsing): Unknown command line argument '-enable-memcpyopt-without-libcalls'.  Try: 'clang (LLVM option parsing) --help'
# | 
# | clang (LLVM option parsing): Did you mean '--enable-check-profile'?
# | 
# | 
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# |   File "C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py", line 554, in <module>
# |     main()
# |   File "C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py", line 550, in main
# |     CheckRunner(args, extra_args).run()
# |   File "C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py", line 426, in run
# |     clang_tidy_output = self.run_clang_tidy()
# |                         ^^^^^^^^^^^^^^^^^^^^^
# |   File "C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py", line 289, in run_clang_tidy
# |     clang_tidy_output = try_run(args)
# |                         ^^^^^^^^^^^^^
# |   File "C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py", line 64, in try_run
# |     process_output = subprocess.check_output(args, stderr=subprocess.STDOUT).decode(
# |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |   File "c:\python312\Lib\subprocess.py", line 466, in check_output
# |     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |   File "c:\python312\Lib\subprocess.py", line 571, in run
# |     raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['clang-tidy', '--experimental-custom-checks', 'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\infrastructure\\Output\\cuda-basic.cu.tmp.cu', '-fix', '--checks=-*,modernize-use-nullptr', '--config={}', '--', '--cuda-path=C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\infrastructure/Inputs/CUDA', '-nocudalib', '-nocudainc', '-I', 'C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\infrastructure/Inputs/CUDA', '-std=c++11', '-nostdinc++', '-isystem', 'C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\Inputs\\Headers\\std']' returned non-zero exit status 1.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/192476


More information about the cfe-commits mailing list