[clang] [clang][Interp] Fix function pointer callexpr eval order (PR #101821)

2024-08-03 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vls` 
running on `linaro-g3-02` while building `clang` at step 7 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/143/builds/1240

Here is the relevant piece of the build log for the reference:
```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'lit :: googletest-timeout.py' FAILED 

Exit Code: 1

Command Output (stdout):
--
# RUN: at line 9
not env -u FILECHECK_OPTS "/usr/bin/python3.8" 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/utils/lit/lit.py -j1 
--order=lexical -v Inputs/googletest-timeout--param 
gtest_filter=InfiniteLoopSubTest --timeout=1 > 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/Output/googletest-timeout.py.tmp.cmd.out
# executed command: not env -u FILECHECK_OPTS /usr/bin/python3.8 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/utils/lit/lit.py -j1 
--order=lexical -v Inputs/googletest-timeout --param 
gtest_filter=InfiniteLoopSubTest --timeout=1
# .---command stderr
# | lit.py: 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/utils/lit/lit/main.py:72:
 note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 1 seconds was requested on the command line. Forcing 
timeout to be 1 seconds.
# `-
# RUN: at line 11
FileCheck --check-prefix=CHECK-INF < 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/Output/googletest-timeout.py.tmp.cmd.out
 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/googletest-timeout.py
# executed command: FileCheck --check-prefix=CHECK-INF 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/googletest-timeout.py
# RUN: at line 16
not env -u FILECHECK_OPTS "/usr/bin/python3.8" 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/utils/lit/lit.py -j1 
--order=lexical -v Inputs/googletest-timeout   --param 
gtest_filter=InfiniteLoopSubTest  --param set_timeout=1   > 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/Output/googletest-timeout.py.tmp.cfgset.out
# executed command: not env -u FILECHECK_OPTS /usr/bin/python3.8 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/utils/lit/lit.py -j1 
--order=lexical -v Inputs/googletest-timeout --param 
gtest_filter=InfiniteLoopSubTest --param set_timeout=1
# .---command stderr
# | Traceback (most recent call last):
# |   File 
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/utils/lit/lit/formats/googletest.py",
 line 304, in post_process_shard_results
# | testsuites = json.load(f)["testsuites"]
# |   File "/usr/lib/python3.8/json/__init__.py", line 293, in load
# | return loads(fp.read(),
# |   File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
# | return _default_decoder.decode(s)
# |   File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
# | obj, end = self.raw_decode(s, idx=_w(s, 0).end())
# |   File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
# | raise JSONDecodeError("Expecting value", s, err.value) from None
# | json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
# | 
# | During handling of the above exception, another exception occurred:
# | 
# | Traceback (most recent call last):
# |   File 
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/utils/lit/lit.py", 
line 6, in 
# | main()
# |   File 
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/utils/lit/lit/main.py",
 line 130, in main
# | selected_tests, discovered_tests = 
GoogleTest.post_process_shard_results(
# |   File 
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/llvm/utils/lit/lit/formats/googletest.py",
 line 306, in post_process_shard_results
# | raise RuntimeError(
# | RuntimeError: Failed to parse json file: 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py-googletest-timeout-4160003-1-2.json
# | 
# `-
# RUN: at line 19
FileCheck --check-prefix=CHECK-INF < 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/Output/googletest-timeout.py.tmp.cfgset.out
 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/googletest-timeout.py
# executed command: FileCheck --check-prefix=CHECK-INF 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/googletest-timeout.py
# .---command stderr
# | 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/utils/lit/tests/googletest-timeout.py:34:14:
 error: CHECK-INF: expected string not found in input
# | # CHECK-INF: Timed Out: 1
# |  ^
...

```

https://github.com/llvm/llvm-project/pull/101821
___
cfe-commits mailing 

[clang] [libclang] Fix symbol version of `getBinaryOpcode` functions (PR #101820)

2024-08-03 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-aarch64-sve-vls-2stage` running on `linaro-g3-03` while building `clang` 
at step 11 "build stage 2".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/4/builds/1144

Here is the relevant piece of the build log for the reference:
```
Step 11 (build stage 2) failure: 'ninja' (failure)
...
[7780/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/Coarray.cpp.o
[7781/8607] Building CXX object 
tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/Fortran-parsers.cpp.o
[7782/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/Runtime.cpp.o
[7783/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-data.cpp.o
[7784/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/ReductionProcessor.cpp.o
[7785/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-acc-structure.cpp.o
[7786/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/CustomIntrinsicCall.cpp.o
[7787/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-case.cpp.o
[7788/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-call.cpp.o
[7789/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o
FAILED: tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage1.install/bin/clang++
 -DFLANG_INCLUDE_TESTS=1 -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -D_DEBUG 
-D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/flang/lib/Lower
 -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/flang/lib/Lower 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/flang/include 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/flang/include
 -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/include 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/include 
-isystem 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/../mlir/include
 -isystem 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/mlir/include
 -isystem 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/include
 -isystem 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/../clang/include
 -mcpu=neoverse-512tvb -msve-vector-bits=256 -mllvm 
-treat-scalable-fixed-error-as-warning=false -fPIC -fno-semantic-interposition 
-fvisibility-inlines-hidden -Werror=date-time 
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter 
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic 
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion 
-Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color 
-ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-string-conversion 
-Wno-ctad-maybe-unsupported -Wno-unused-command-line-argument 
-Wstring-conversion   -Wcovered-switch-default -Wno-nested-anon-types 
-O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD 
-MT tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o -MF 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o.d -o 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o -c 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/flang/lib/Lower/OpenMP/Clauses.cpp
Killed
[7790/8607] Building CXX object 
tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/tools.cpp.o
[7791/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-cuda.cpp.o
[7792/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/DumpEvaluateExpr.cpp.o
[7793/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/ConvertProcedureDesignator.cpp.o
[7794/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Utils.cpp.o
[7795/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-coarray.cpp.o
[7796/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/HostAssociations.cpp.o
[7797/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/ConvertArrayConstructor.cpp.o
[7798/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/Bridge.cpp.o
[7799/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/IterationSpace.cpp.o
[7800/8607] Building CXX object 

[clang] [libclang] Fix symbol version of `getBinaryOpcode` functions (PR #101820)

2024-08-03 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-aarch64-sve-vla-2stage` running on `linaro-g3-04` while building `clang` 
at step 11 "build stage 2".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/41/builds/1076

Here is the relevant piece of the build log for the reference:
```
Step 11 (build stage 2) failure: 'ninja' (failure)
...
[7747/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/HlfirIntrinsics.cpp.o
[7748/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/SymbolMap.cpp.o
[7749/8607] Building CXX object 
tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/tools.cpp.o
[7750/8607] Building CXX object 
tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/Fortran-parsers.cpp.o
[7751/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/Coarray.cpp.o
[7752/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-namelist.cpp.o
[7753/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-allocate.cpp.o
[7754/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/definable.cpp.o
[7755/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-nullify.cpp.o
[7756/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o
FAILED: tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage1.install/bin/clang++
 -DFLANG_INCLUDE_TESTS=1 -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -D_DEBUG 
-D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage2/tools/flang/lib/Lower
 -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/flang/lib/Lower 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/flang/include 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage2/tools/flang/include
 -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage2/include 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/llvm/include 
-isystem 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/llvm/../mlir/include
 -isystem 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage2/tools/mlir/include
 -isystem 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/stage2/tools/clang/include
 -isystem 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/llvm/../clang/include
 -mcpu=neoverse-512tvb -mllvm -scalable-vectorization=preferred -mllvm 
-treat-scalable-fixed-error-as-warning=false -fPIC -fno-semantic-interposition 
-fvisibility-inlines-hidden -Werror=date-time 
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter 
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic 
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion 
-Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color 
-ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-string-conversion 
-Wno-ctad-maybe-unsupported -Wno-unused-command-line-argument 
-Wstring-conversion   -Wcovered-switch-default -Wno-nested-anon-types 
-O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD 
-MT tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o -MF 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o.d -o 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Clauses.cpp.o -c 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla-2stage/llvm/flang/lib/Lower/OpenMP/Clauses.cpp
Killed
[7757/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-if-stmt.cpp.o
[7758/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-select-type.cpp.o
[7759/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/data-to-inits.cpp.o
[7760/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-stop.cpp.o
[7761/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-deallocate.cpp.o
[7762/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-io.cpp.o
[7763/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-arithmeticif.cpp.o
[7764/8607] Building CXX object 
tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/ReductionProcessor.cpp.o
[7765/8607] Building CXX object 
tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/check-return.cpp.o
[7766/8607] Building CXX object 

[clang] [clang][Interp] Fix array subscript eval order (PR #101804)

2024-08-03 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vls` 
running on `linaro-g3-02` while building `clang` at step 13 "test-suite".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/143/builds/1236

Here is the relevant piece of the build log for the reference:
```
Step 13 (test-suite) failure: test (failure)
 TEST 'test-suite :: 
Fortran/gfortran/regression/gfortran-regression-execute-regression__random_init_2_f90.test'
 FAILED 

/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/test/sandbox/build/tools/timeit-target
 --timeout 7200 --limit-core 0 --limit-cpu 7200 --limit-file-size 209715200 
--limit-rss-size 838860800 --redirect-input /dev/null --chdir 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/gfortran/regression/gfortran-regression-execute-regression__random_init_2_f90.wd
 --summary 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/gfortran/regression/Output/gfortran-regression-execute-regression__random_init_2_f90.test.time
 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/gfortran/regression/gfortran-regression-execute-regression__random_init_2_f90

+ 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/test/sandbox/build/tools/timeit-target
 --timeout 7200 --limit-core 0 --limit-cpu 7200 --limit-file-size 209715200 
--limit-rss-size 838860800 --redirect-input /dev/null --chdir 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/gfortran/regression/gfortran-regression-execute-regression__random_init_2_f90.wd
 --summary 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/gfortran/regression/Output/gfortran-regression-execute-regression__random_init_2_f90.test.time
 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/test/sandbox/build/Fortran/gfortran/regression/gfortran-regression-execute-regression__random_init_2_f90
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/test/sandbox/build/tools/timeit-target:
 error: child terminated by signal 6




```

https://github.com/llvm/llvm-project/pull/101804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang][Interp] Fix array subscript eval order (PR #101804)

2024-08-03 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-windows` running 
on `sanitizer-windows` while building `clang` at step 4 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/107/builds/1553

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python 
../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py ...' 
(failure)
...
[14/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Context.cpp.obj
[15/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpBuiltin.cpp.obj
[16/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Compiler.cpp.obj
[17/26] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\AsmPrinter.cpp.obj
[18/26] Linking CXX static library lib\LLVMAsmPrinter.lib
[19/26] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTO.cpp.obj
[20/26] Linking CXX static library lib\LLVMLTO.lib
[21/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\EvalEmitter.cpp.obj
[22/26] Linking CXX executable bin\lld.exe
[23/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Disasm.cpp.obj
command timed out: 1200 seconds without output running ['python', 
'../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py', 
'--jobs=16'], attempting to kill
program finished with exit code 1
elapsedTime=1268.363000
Step 7 (stage 1 build) failure: stage 1 build (failure)
@@@BUILD_STEP stage 1 build@@@
Running: ninja -j 16 compiler-rt
[1/2] Building CXX object 
projects\compiler-rt\lib\asan\CMakeFiles\RTAsan_dynamic_version_script_dummy.x86_64.dir\dummy.cpp.obj
[2/2] Linking CXX shared library 
lib\clang\20\lib\windows\clang_rt.asan_dynamic-x86_64.dll
Running: ninja -j 16 clang lld
[1/26] Building Opcodes.inc...
[2/26] Generating VCSRevision.h
[3/26] Generating VCSVersion.inc
[4/26] Building CXX object 
tools\clang\lib\Basic\CMakeFiles\obj.clangBasic.dir\Version.cpp.obj
[5/26] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\IRSymtab.cpp.obj
[6/26] Linking CXX static library lib\LLVMObject.lib
[7/26] Generating VCSVersion.inc
[8/26] Linking CXX static library lib\clangBasic.lib
[9/26] Building CXX object 
tools\lld\Common\CMakeFiles\lldCommon.dir\Version.cpp.obj
[10/26] Linking CXX static library lib\lldCommon.lib
[11/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Function.cpp.obj
[12/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Program.cpp.obj
[13/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\ByteCodeEmitter.cpp.obj
[14/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Context.cpp.obj
[15/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpBuiltin.cpp.obj
[16/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Compiler.cpp.obj
[17/26] Building CXX object 
lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\AsmPrinter.cpp.obj
[18/26] Linking CXX static library lib\LLVMAsmPrinter.lib
[19/26] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTO.cpp.obj
[20/26] Linking CXX static library lib\LLVMLTO.lib
[21/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\EvalEmitter.cpp.obj
[22/26] Linking CXX executable bin\lld.exe
[23/26] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Disasm.cpp.obj

command timed out: 1200 seconds without output running ['python', 
'../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py', 
'--jobs=16'], attempting to kill
program finished with exit code 1
elapsedTime=1268.363000

```

https://github.com/llvm/llvm-project/pull/101804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang][Interp] Convert blocks to DeadBlocks when destroying frames (PR #101794)

2024-08-03 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running 
on `hip-vega20-0` while building `clang` at step 3 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/123/builds/3135

Here is the relevant piece of the build log for the reference:
```
Step 3 (annotate) failure: 
'../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
[38/40] : && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -O3 
-DNDEBUG  
External/HIP/CMakeFiles/InOneWeekend-hip-6.0.2.dir/workload/ray-tracing/InOneWeekend/main.cc.o
 -o External/HIP/InOneWeekend-hip-6.0.2  
--rocm-path=/buildbot/Externals/hip/rocm-6.0.2 --hip-link -rtlib=compiler-rt 
-unwindlib=libgcc -frtlib-add-rpath && cd 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/usr/local/bin/cmake -E create_symlink 
/buildbot/llvm-test-suite/External/HIP/InOneWeekend.reference_output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/InOneWeekend.reference_output-hip-6.0.2
[39/40] /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -DNDEBUG  -O3 
-DNDEBUG   -w -Werror=date-time --rocm-path=/buildbot/Externals/hip/rocm-6.0.2 
--offload-arch=gfx908 --offload-arch=gfx90a --offload-arch=gfx1030 
--offload-arch=gfx1100 -xhip -mfma -MD -MT 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -MF 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o.d
 -o 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -c 
/buildbot/llvm-test-suite/External/HIP/workload/ray-tracing/TheNextWeek/main.cc
[40/40] : && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -O3 
-DNDEBUG  
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -o External/HIP/TheNextWeek-hip-6.0.2  
--rocm-path=/buildbot/Externals/hip/rocm-6.0.2 --hip-link -rtlib=compiler-rt 
-unwindlib=libgcc -frtlib-add-rpath && cd 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/usr/local/bin/cmake -E create_symlink 
/buildbot/llvm-test-suite/External/HIP/TheNextWeek.reference_output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/TheNextWeek.reference_output-hip-6.0.2
+ build_step 'Testing HIP test-suite'
+ echo '@@@BUILD_STEP Testing HIP test-suite@@@'
+ ninja -v check-hip-simple
@@@BUILD_STEP Testing HIP test-suite@@@
[0/1] cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP 
&& /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-lit -sv 
empty-hip-6.0.2.test with-fopenmp-hip-6.0.2.test saxpy-hip-6.0.2.test 
memmove-hip-6.0.2.test InOneWeekend-hip-6.0.2.test TheNextWeek-hip-6.0.2.test 
blender.test
-- Testing: 7 tests, 7 workers --
Testing:  0.. 10.. 20.. 30.. 40
FAIL: test-suite :: External/HIP/InOneWeekend-hip-6.0.2.test (4 of 7)
 TEST 'test-suite :: 
External/HIP/InOneWeekend-hip-6.0.2.test' FAILED 

/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/timeit-target 
--timeout 7200 --limit-core 0 --limit-cpu 7200 --limit-file-size 209715200 
--limit-rss-size 838860800 --append-exitstatus --redirect-output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.out
 --redirect-input /dev/null --summary 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.time
 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/InOneWeekend-hip-6.0.2
cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP ; 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.out
 InOneWeekend.reference_output-hip-6.0.2

+ cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP
+ /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.out
 InOneWeekend.reference_output-hip-6.0.2
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target: 
Comparison failed, textual difference between 'M' and 'i'


/usr/bin/strip: /bin/bash.stripped: Bad file descriptor
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 

Failed Tests (1):
  test-suite :: External/HIP/InOneWeekend-hip-6.0.2.test


Testing Time: 372.25s

Total Discovered Tests: 7
  Passed: 6 (85.71%)
  Failed: 1 (14.29%)
FAILED: External/HIP/CMakeFiles/check-hip-simple-hip-6.0.2 
cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-lit -sv 
empty-hip-6.0.2.test with-fopenmp-hip-6.0.2.test saxpy-hip-6.0.2.test 

[clang] [clang] create class-type injected NTTP with correct value kind (PR #101395)

2024-08-02 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building 
`clang` at step 10 "Add check check-offload".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/73/builds/3167

Here is the relevant piece of the build log for the reference:
```
Step 10 (Add check check-offload) failure: 1200 seconds without output running 
[b'ninja', b'-j 32', b'check-offload'], attempting to kill
...
PASS: libomptarget :: x86_64-pc-linux-gnu-LTO :: offloading/bug53727.cpp (827 
of 837)
PASS: libomptarget :: x86_64-pc-linux-gnu-LTO :: offloading/wtime.c (828 of 837)
PASS: libomptarget :: x86_64-pc-linux-gnu-LTO :: offloading/bug47654.cpp (829 
of 837)
PASS: libomptarget :: x86_64-pc-linux-gnu-LTO :: offloading/bug50022.cpp (830 
of 837)
PASS: libomptarget :: x86_64-pc-linux-gnu-LTO :: offloading/bug49779.cpp (831 
of 837)
PASS: libomptarget :: x86_64-pc-linux-gnu :: 
offloading/std_complex_arithmetic.cpp (832 of 837)
PASS: libomptarget :: x86_64-pc-linux-gnu :: offloading/bug49021.cpp (833 of 
837)
PASS: libomptarget :: x86_64-pc-linux-gnu-LTO :: 
offloading/complex_reduction.cpp (834 of 837)
PASS: libomptarget :: x86_64-pc-linux-gnu-LTO :: 
offloading/std_complex_arithmetic.cpp (835 of 837)
PASS: libomptarget :: x86_64-pc-linux-gnu-LTO :: offloading/bug49021.cpp (836 
of 837)
command timed out: 1200 seconds without output running [b'ninja', b'-j 32', 
b'check-offload'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=1230.552165

```

https://github.com/llvm/llvm-project/pull/101395
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [Modules] Fix using `va_list` with modules and a precompiled header. (PR #100837)

2024-08-02 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running 
on `linaro-clang-armv8-quick` while building `clang` at step 5 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/154/builds/2288

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: Modules/builtin-vararg.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: rm -rf 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
+ rm -rf 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
RUN: at line 4: split-file 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/Modules/builtin-vararg.c
 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
+ split-file 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/Modules/builtin-vararg.c
 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
RUN: at line 6: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang 
-cc1 -internal-isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin-fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules-emit-module 
-fmodule-name=DeclareVarargs-x c 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 -o 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm

-fmodule-map-file=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir/module.modulemap
 -isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin -fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules -emit-module -fmodule-name=DeclareVarargs 
-x c 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 -o 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm
 
-fmodule-map-file=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir/module.modulemap
 -isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir
RUN: at line 11: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang 
-cc1 -internal-isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin-fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules-emit-pch -fmodule-name=Prefix-x 
c-header 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch
 -o 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch.gch

-fmodule-map-file=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 
-fmodule-file=DeclareVarargs=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm
-I 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin -fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules -emit-pch -fmodule-name=Prefix -x c-header 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch
 -o 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch.gch
 
-fmodule-map-file=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 
-fmodule-file=DeclareVarargs=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm
 -I 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include
RUN: at line 17: 

[clang] [Modules] Fix using `va_list` with modules and a precompiled header. (PR #100837)

2024-08-02 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` 
running on `linaro-clang-aarch64-quick` while building `clang` at step 5 "ninja 
check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/65/builds/2302

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: Modules/builtin-vararg.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: rm -rf 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
+ rm -rf 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
RUN: at line 4: split-file 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Modules/builtin-vararg.c
 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
+ split-file 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Modules/builtin-vararg.c
 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
RUN: at line 6: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang 
-cc1 -internal-isystem 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin-fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules-emit-module 
-fmodule-name=DeclareVarargs-x c 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 -o 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm

-fmodule-map-file=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir/module.modulemap
 -isystem 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin -fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules -emit-module -fmodule-name=DeclareVarargs 
-x c 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 -o 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm
 
-fmodule-map-file=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir/module.modulemap
 -isystem 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir
RUN: at line 11: 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin-fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules-emit-pch -fmodule-name=Prefix-x 
c-header 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch
 -o 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch.gch

-fmodule-map-file=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 
-fmodule-file=DeclareVarargs=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm
-I 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin -fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules -emit-pch -fmodule-name=Prefix -x c-header 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch
 -o 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch.gch
 
-fmodule-map-file=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 
-fmodule-file=DeclareVarargs=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm
 -I 

[clang] [Modules] Fix using `va_list` with modules and a precompiled header. (PR #100837)

2024-08-02 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` 
running on `doug-worker-4` while building `clang` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/190/builds/3117

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Modules/builtin-vararg.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
+ rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
RUN: at line 4: split-file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Modules/builtin-vararg.c
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
+ split-file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Modules/builtin-vararg.c
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp
RUN: at line 6: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang 
-cc1 -internal-isystem 
/Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin-fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules-emit-module 
-fmodule-name=DeclareVarargs-x c 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm

-fmodule-map-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir/module.modulemap
 -isystem 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 
-internal-isystem 
/Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin -fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules -emit-module -fmodule-name=DeclareVarargs 
-x c 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm
 
-fmodule-map-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir/module.modulemap
 -isystem 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/resource_dir
RUN: at line 11: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang 
-cc1 -internal-isystem 
/Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin-fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules-emit-pch -fmodule-name=Prefix-x 
c-header 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch
 -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch.gch

-fmodule-map-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 
-fmodule-file=DeclareVarargs=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm
-I 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 
-internal-isystem 
/Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include 
-nostdsysteminc -triple x86_64-apple-darwin -fmodules -fno-implicit-modules 
-fbuiltin-headers-in-system-modules -emit-pch -fmodule-name=Prefix -x c-header 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch
 -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/prefix.pch.gch
 
-fmodule-map-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include/module.modulemap
 
-fmodule-file=DeclareVarargs=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/DeclareVarargs.pcm
 -I 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Modules/Output/builtin-vararg.c.tmp/include
RUN: at line 17: 

[clang] [CMake][Fuchsia] Use standard spelling for Arm baremetal targets (PR #101302)

2024-08-02 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` 
running on `sanitizer-buildbot1` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/66/builds/2446

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
[374/378] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[375/378] Generating Msan-x86_64-with-call-Test
[376/378] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[377/378] Generating Msan-x86_64-Test
[377/378] Running compiler_rt regression tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276:
 warning: input 
'/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/rtsan/X86_64LinuxConfig'
 contained no tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 10098 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
TIMEOUT: SanitizerCommon-hwasan-x86_64-Linux :: Posix/fork_threaded.c (10098 of 
10098)
 TEST 'SanitizerCommon-hwasan-x86_64-Linux :: 
Posix/fork_threaded.c' FAILED 
Exit Code: -9
Timeout: Reached timeout of 900 seconds

Command Output (stderr):
--
RUN: at line 1: /b/sanitizer-x86_64-linux/build/build_default/./bin/clang  
-gline-tables-only -fsanitize=hwaddress -fuse-ld=lld 
-fsanitize-hwaddress-experimental-aliasing  -m64 -funwind-tables  
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
 && env HWASAN_OPTIONS=die_after_fork=0  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
+ /b/sanitizer-x86_64-linux/build/build_default/./bin/clang -gline-tables-only 
-fsanitize=hwaddress -fuse-ld=lld -fsanitize-hwaddress-experimental-aliasing 
-m64 -funwind-tables 
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
+ env HWASAN_OPTIONS=die_after_fork=0 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
==1455388==ERROR: HWAddressSanitizer: tag-mismatch on address 0x68145140 at 
pc 0x597bdcd3a0c7
READ of size 155 at 0x68145140 tags: 02/00 (ptr/mem) in thread T0

=
==1454244==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 780 byte(s) in 1 object(s) allocated from:
#0 0x597bdcd2e31d in calloc 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:127:3
#1 0x597bdce0f541 in llvm::safe_calloc(unsigned long, unsigned long) 
llvm-link

Direct leak of 568 byte(s) in 3 object(s) allocated from:
#0 0x597bdcd2e7d8 in malloc 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:151:3
#1 0x597bdce86c9e in operator new(unsigned long) llvm-link
#2 0x597bdcd24c84 in _start 
(/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp+0xeec84)

Direct leak of 204 byte(s) in 1 object(s) allocated from:
#0 0x597bdcd2e31d in calloc 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:127:3
#1 0x597bdce0f541 in llvm::safe_calloc(unsigned long, unsigned long) 
llvm-link
#2 0x597bdcd24c84 in _start 
(/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp+0xeec84)

Indirect leak of 1792 byte(s) in 43 object(s) allocated from:
#0 0x597bdcd2dcd9 in aligned_alloc 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:58:3
#1 0x597bdce1ce2f in llvm::allocate_buffer(unsigned long, unsigned long) 
llvm-link

Indirect leak of 160 byte(s) in 1 object(s) allocated from:
#0 

[clang] [clang] fix classification of a string literal expression used as initializer (PR #101447)

2024-08-01 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building 
`clang` at step 5 "compile-openmp".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/73/builds/3064

Here is the relevant piece of the build log for the reference:
```
Step 5 (compile-openmp) failure: build (failure)
...
0.252 [344/34/140] Building CXX object 
libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_has_single_bit_ui.dir/stdc_has_single_bit_ui.cpp.o
0.254 [343/34/141] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.fabs.dir/fabs.cpp.o
0.265 [342/34/142] Building CXX object 
libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_width_us.dir/stdc_bit_width_us.cpp.o
0.265 [341/34/143] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.fabsf.dir/fabsf.cpp.o
0.265 [340/34/144] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.fmaf.dir/fmaf.cpp.o
0.265 [339/34/145] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.fmaxf.dir/fmaxf.cpp.o
0.266 [338/34/146] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.fmin.dir/fmin.cpp.o
0.266 [337/34/147] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.fminf.dir/fminf.cpp.o
0.266 [336/34/148] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.fmodf.dir/fmodf.cpp.o
0.267 [335/34/149] Building CXX object 
libc/src/string/CMakeFiles/libc.src.string.strcpy.dir/strcpy.cpp.o
FAILED: libc/src/string/CMakeFiles/libc.src.string.strcpy.dir/strcpy.cpp.o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang++
 --target=amdgcn-amd-amdhsa -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git 
-I/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc 
-isystem 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/include/amdgcn-amd-amdhsa
 -O3 -DNDEBUG --target=amdgcn-amd-amdhsa 
-DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -DLIBC_FULL_BUILD -nostdlibinc 
-ffixed-point -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables 
-fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern 
-fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion 
-Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof 
-Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety 
-Wglobal-constructors "-DLIBC_MATH=(LIBC_MATH_SKIP_ACCURATE_PASS | 
LIBC_MATH_SMALL_TABLES | LIBC_MATH_NO_ERRNO | LIBC_MATH_NO_EXCEPT)" -nogpulib 
-fvisibility=hidden -fconvergent-functions -flto -Wno-multi-gpu -Xclang 
-mcode-object-version=none -DLIBC_COPT_PUBLIC_PACKAGING -UNDEBUG -MD -MT 
libc/src/string/CMakeFiles/libc.src.string.strcpy.dir/strcpy.cpp.o -MF 
libc/src/string/CMakeFiles/libc.src.string.strcpy.dir/strcpy.cpp.o.d -o 
libc/src/string/CMakeFiles/libc.src.string.strcpy.dir/strcpy.cpp.o -c 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/src/string/strcpy.cpp
In file included from 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/src/string/strcpy.cpp:9:
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/src/string/strcpy.h:13:10:
 fatal error: 'string.h' file not found
   13 | #include 
  |  ^~
1 error generated.
0.267 [335/33/150] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.fmod.dir/fmod.cpp.o
0.267 [335/32/151] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.nearbyint.dir/nearbyint.cpp.o
0.267 [335/31/152] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.nearbyintf.dir/nearbyintf.cpp.o
0.267 [335/30/153] Building CXX object 
libc/src/math/amdgpu/CMakeFiles/libc.src.math.amdgpu.remainderf.dir/remainderf.cpp.o
0.269 [335/29/154] Building CXX object 
libc/src/string/CMakeFiles/libc.src.string.strdup.dir/strdup.cpp.o
FAILED: libc/src/string/CMakeFiles/libc.src.string.strdup.dir/strdup.cpp.o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang++
 --target=amdgcn-amd-amdhsa -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git 
-I/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc 
-isystem 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/include/amdgcn-amd-amdhsa
 -O3 -DNDEBUG --target=amdgcn-amd-amdhsa 
-DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -DLIBC_FULL_BUILD -nostdlibinc 
-ffixed-point -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables 
-fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern 
-fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion 
-Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof 
-Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety 
-Wglobal-constructors "-DLIBC_MATH=(LIBC_MATH_SKIP_ACCURATE_PASS | 
LIBC_MATH_SMALL_TABLES | LIBC_MATH_NO_ERRNO | 

[clang] Revert "[CMake][Fuchsia] Include libunwind and libc++abi in baremetal build" (PR #101340)

2024-07-31 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` 
running on `sanitizer-buildbot1` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/66/builds/2360

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
[373/378] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[374/378] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[375/378] Generating Msan-x86_64-with-call-Test
[376/378] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[377/378] Generating Msan-x86_64-Test
[377/378] Running compiler_rt regression tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276:
 warning: input 
'/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/rtsan/X86_64LinuxConfig'
 contained no tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 4493 of 10163 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60
FAIL: SanitizerCommon-lsan-i386-Linux :: Linux/soft_rss_limit_mb_test.cpp (2942 
of 4493)
 TEST 'SanitizerCommon-lsan-i386-Linux :: 
Linux/soft_rss_limit_mb_test.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/sanitizer-x86_64-linux/build/build_default/./bin/clang  
--driver-mode=g++ -gline-tables-only -fsanitize=leak  -m32 -funwind-tables  
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O2 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
+ /b/sanitizer-x86_64-linux/build/build_default/./bin/clang --driver-mode=g++ 
-gline-tables-only -fsanitize=leak -m32 -funwind-tables 
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O2 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
RUN: at line 5: env 
LSAN_OPTIONS=soft_rss_limit_mb=220:quarantine_size=1:allocator_may_return_null=1
  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
 2>&1 | FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -check-prefix=CHECK_MAY_RETURN_1
+ env 
LSAN_OPTIONS=soft_rss_limit_mb=220:quarantine_size=1:allocator_may_return_null=1
 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
+ FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -check-prefix=CHECK_MAY_RETURN_1
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp:68:24:
 error: CHECK_MAY_RETURN_1: expected string not found in input
// CHECK_MAY_RETURN_1: allocating 512 times
   ^
:52:44: note: scanning from here
Some of the malloc calls returned non-null: 247
   ^
:52:45: note: possible intended match here
Some of the malloc calls returned non-null: 247
^

Input file: 
Check file: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp

-dump-input=help explains the following input dump.

Input was:
<<
.
.
.
   47:  [256] 
   48:  [320] 
   49:  [384] 
   50:  [448] 
   51: Some of the malloc calls returned null: 265 
   52: Some of the malloc calls returned non-null: 247 
check:68'0X error: no match 
found
check:68'1 ?possible 
intended match
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
[373/378] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[374/378] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[375/378] Generating Msan-x86_64-with-call-Test

[clang] [CMake][Fuchsia] Include libunwind and libc++abi in baremetal build (PR #100908)

2024-07-31 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-ppc64le-linux` 
running on `ppc64le-sanitizer` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/72/builds/1816

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
PASS: ThreadSanitizer-powerpc64le :: pthread_atfork_deadlock3.c (2350 of 2483)
PASS: ThreadSanitizer-powerpc64le :: ignore_lib0.cpp (2351 of 2483)
PASS: XRay-powerpc64le-linux :: TestCases/Posix/patching-unpatching.cpp (2352 
of 2483)
PASS: ThreadSanitizer-powerpc64le :: race_top_suppression.cpp (2353 of 2483)
PASS: ThreadSanitizer-powerpc64le :: fd_close_norace3.cpp (2354 of 2483)
XFAIL: ThreadSanitizer-powerpc64le :: must_deadlock.cpp (2355 of 2483)
PASS: ThreadSanitizer-powerpc64le :: mmap_stress2.cpp (2356 of 2483)
PASS: ThreadSanitizer-powerpc64le :: race_on_write.cpp (2357 of 2483)
PASS: ThreadSanitizer-powerpc64le :: setuid2.c (2358 of 2483)
PASS: ThreadSanitizer-powerpc64le :: mutexset8.cpp (2359 of 2483)
FAIL: ThreadSanitizer-powerpc64le :: signal_block.cpp (2360 of 2483)
 TEST 'ThreadSanitizer-powerpc64le :: signal_block.cpp' 
FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/./bin/clang
  -fsanitize=thread -Wall  -m64 -fno-function-sections   -gline-tables-only 
-I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/../
 -O1 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/signal_block.cpp
 -o 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/POWERPC64LEConfig/Output/signal_block.cpp.tmp
 &&  
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/POWERPC64LEConfig/Output/signal_block.cpp.tmp
 2>&1 | FileCheck 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/signal_block.cpp
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/./bin/clang
 -fsanitize=thread -Wall -m64 -fno-function-sections -gline-tables-only 
-I/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/../
 -O1 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/signal_block.cpp
 -o 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/POWERPC64LEConfig/Output/signal_block.cpp.tmp
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/build_default/runtimes/runtimes-bins/compiler-rt/test/tsan/POWERPC64LEConfig/Output/signal_block.cpp.tmp
+ FileCheck 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/signal_block.cpp
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/signal_block.cpp:59:15:
 error: CHECK-NOT: excluded string found in input
// CHECK-NOT: WARNING: ThreadSanitizer:
  ^
:2:1: note: found here
WARNING: ThreadSanitizer: signal handler spoils errno (pid=844579)
^

Input file: 
Check file: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/signal_block.cpp

-dump-input=help explains the following input dump.

Input was:
<<
1: == 
2: WARNING: ThreadSanitizer: signal handler spoils errno (pid=844579) 
not:59 !   
error: no match expected
3:  Signal 10 handler invoked at: 
4:  #0 handler(int) 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/signal_block.cpp:13
 (signal_block.cpp.tmp+0xff1a0) 
5:  #1 thread(void*) 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/signal_block.cpp:25:5
 (signal_block.cpp.tmp+0xff2f0) 
6:  
7: SUMMARY: ThreadSanitizer: signal handler spoils errno 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-sanitizer/sanitizer-ppc64le/build/llvm-project/compiler-rt/test/tsan/signal_block.cpp:13
 in 

[clang] [CMake][Fuchsia] Include libunwind and libc++abi in baremetal build (PR #100908)

2024-07-31 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` 
running on `fuchsia-debian-64-us-central1-a-1` while building `clang` at step 4 
"annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/11/builds/2659

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python 
../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[90/1698] Building CXX object 
libc/src/math/generic/CMakeFiles/libc.src.math.generic.inv_trigf_utils.dir/inv_trigf_utils.cpp.obj
[91/1698] Building CXX object 
libc/src/stdio/baremetal/CMakeFiles/libc.src.stdio.baremetal.putchar.dir/putchar.cpp.obj
[92/1698] Building CXX object 
libc/src/stdio/baremetal/CMakeFiles/libc.src.stdio.baremetal.puts.dir/puts.cpp.obj
[93/1698] Building CXX object 
libc/src/stdlib/baremetal/CMakeFiles/libc.src.stdlib.baremetal.abort.dir/abort.cpp.obj
[94/1698] Building CXX object 
libc/src/string/CMakeFiles/libc.src.string.memccpy.dir/memccpy.cpp.obj
[95/1698] Building CXX object 
libc/src/string/CMakeFiles/libc.src.string.memrchr.dir/memrchr.cpp.obj
[96/1698] Building CXX object 
libc/src/string/CMakeFiles/libc.src.string.strcmp.dir/strcmp.cpp.obj
[97/1698] Building CXX object 
libc/src/stdlib/CMakeFiles/libc.src.stdlib.labs.dir/labs.cpp.obj
[98/1698] Building CXX object 
libc/src/string/CMakeFiles/libc.src.string.memmem.dir/memmem.cpp.obj
[99/1698] Building CXX object 
libunwind/src/CMakeFiles/unwind_static_objects.dir/Unwind-seh.cpp.obj
FAILED: libunwind/src/CMakeFiles/unwind_static_objects.dir/Unwind-seh.cpp.obj 
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-a1qojnig/bin/clang++ 
--target=armv6m-unknown-eabi -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBUNWIND_IS_BAREMETAL 
-D_LIBUNWIND_LINK_DL_LIB -D_LIBUNWIND_LINK_PTHREAD_LIB 
-D_LIBUNWIND_REMEMBER_HEAP_ALLOC -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libunwind/include 
--target=armv6m-unknown-eabi -mthumb -Wno-atomic-alignment "-Dvfprintf(stream, 
format, vlist)=vprintf(format, vlist)" "-Dfprintf(stream, format, 
...)=printf(format)" "-Dtimeval=struct timeval{int tv_sec; int tv_usec;}" 
"-Dgettimeofday(tv, tz)" -D_LIBCPP_PRINT=1 -fPIC -fno-semantic-interposition 
-fvisibility-inlines-hidden -Werror=date-time 
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter 
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wmisleading-indentation -Wctad-maybe-unsupported -ffunction-sections 
-fdata-sections 
-ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-a1qojnig/runtimes/runtimes-armv6m-unknown-eabi-bins=../../../../llvm-project
 -ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/= 
-no-canonical-prefixes -Oz -DNDEBUG -std=c++17 -Werror=return-type 
-funwind-tables -nostdinc++ -D_LIBUNWIND_IS_NATIVE_ONLY 
-D_LIBUNWIND_HAS_NO_THREADS -Wall -Wextra -Wnewline-eof -Wshadow 
-Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type 
-Wextra-semi -Wundef -Wunused-template -Wformat-nonliteral 
-Wno-user-defined-literals -Wno-covered-switch-default -Wno-suggest-override 
-Wno-error -pedantic -fno-rtti  -fstrict-aliasing -fno-exceptions -fno-rtti -MD 
-MT libunwind/src/CMakeFiles/unwind_static_objects.dir/Unwind-seh.cpp.obj -MF 
libunwind/src/CMakeFiles/unwind_static_objects.dir/Unwind-seh.cpp.obj.d -o 
libunwind/src/CMakeFiles/unwind_static_objects.dir/Unwind-seh.cpp.obj -c 
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libunwind/src/Unwind-seh.cpp
In file included from 
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libunwind/src/Unwind-seh.cpp:13:
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libunwind/src/config.h:17:10:
 fatal error: 'stdio.h' file not found
   17 | #include 
  |  ^
1 error generated.
[100/1698] Building CXX object 
libc/src/string/CMakeFiles/libc.src.string.strcoll.dir/strcoll.cpp.obj
[101/1698] Building CXX object 
libc/src/errno/CMakeFiles/libc.src.errno.errno.dir/libc_errno.cpp.obj
[102/1698] Building CXX object 
libc/src/ctype/CMakeFiles/libc.src.ctype.isalnum.dir/isalnum.cpp.obj
[103/1698] Building CXX object 
libc/startup/baremetal/CMakeFiles/libc.startup.baremetal.fini.dir/fini.cpp.obj
[104/1698] Building CXX object 
libc/src/stdlib/CMakeFiles/libc.src.stdlib.rand_util.dir/rand_util.cpp.obj
[105/1698] Building CXX object 
libc/src/string/CMakeFiles/libc.src.string.strncpy.dir/strncpy.cpp.obj
[106/1698] Building CXX object 
libc/startup/baremetal/CMakeFiles/libc.startup.baremetal.init.dir/init.cpp.obj
[107/1698] Building CXX object 
libc/src/string/CMakeFiles/libc.src.string.strcasecmp.dir/strcasecmp.cpp.obj
[108/1698] Building CXX object 

[clang] [PS4][Driver] Only pass -lto-debug-options to linker when necessary (PR #101202)

2024-07-30 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running 
on `hip-vega20-0` while building `clang` at step 3 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/123/builds/2900

Here is the relevant piece of the build log for the reference:
```
Step 3 (annotate) failure: 
'../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
[38/40] : && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -O3 
-DNDEBUG  External/HIP/CMakeFiles/memmove-hip-6.0.2.dir/memmove.hip.o -o 
External/HIP/memmove-hip-6.0.2  --rocm-path=/buildbot/Externals/hip/rocm-6.0.2 
--hip-link -rtlib=compiler-rt -unwindlib=libgcc -frtlib-add-rpath && cd 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/usr/local/bin/cmake -E create_symlink 
/buildbot/llvm-test-suite/External/HIP/memmove.reference_output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/memmove.reference_output-hip-6.0.2
[39/40] /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -DNDEBUG  -O3 
-DNDEBUG   -w -Werror=date-time --rocm-path=/buildbot/Externals/hip/rocm-6.0.2 
--offload-arch=gfx908 --offload-arch=gfx90a --offload-arch=gfx1030 
--offload-arch=gfx1100 -xhip -mfma -MD -MT 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -MF 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o.d
 -o 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -c 
/buildbot/llvm-test-suite/External/HIP/workload/ray-tracing/TheNextWeek/main.cc
[40/40] : && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -O3 
-DNDEBUG  
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -o External/HIP/TheNextWeek-hip-6.0.2  
--rocm-path=/buildbot/Externals/hip/rocm-6.0.2 --hip-link -rtlib=compiler-rt 
-unwindlib=libgcc -frtlib-add-rpath && cd 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/usr/local/bin/cmake -E create_symlink 
/buildbot/llvm-test-suite/External/HIP/TheNextWeek.reference_output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/TheNextWeek.reference_output-hip-6.0.2
+ build_step 'Testing HIP test-suite'
+ echo '@@@BUILD_STEP Testing HIP test-suite@@@'
+ ninja -v check-hip-simple
@@@BUILD_STEP Testing HIP test-suite@@@
[0/1] cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP 
&& /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-lit -sv 
empty-hip-6.0.2.test with-fopenmp-hip-6.0.2.test saxpy-hip-6.0.2.test 
memmove-hip-6.0.2.test InOneWeekend-hip-6.0.2.test TheNextWeek-hip-6.0.2.test 
blender.test
-- Testing: 7 tests, 7 workers --
Testing:  0.. 10.. 20.. 30.. 40
FAIL: test-suite :: External/HIP/TheNextWeek-hip-6.0.2.test (4 of 7)
 TEST 'test-suite :: 
External/HIP/TheNextWeek-hip-6.0.2.test' FAILED 

/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/timeit-target 
--timeout 7200 --limit-core 0 --limit-cpu 7200 --limit-file-size 209715200 
--limit-rss-size 838860800 --append-exitstatus --redirect-output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/TheNextWeek-hip-6.0.2.test.out
 --redirect-input /dev/null --summary 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/TheNextWeek-hip-6.0.2.test.time
 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/TheNextWeek-hip-6.0.2
cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP ; 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/TheNextWeek-hip-6.0.2.test.out
 TheNextWeek.reference_output-hip-6.0.2

+ cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP
+ /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/TheNextWeek-hip-6.0.2.test.out
 TheNextWeek.reference_output-hip-6.0.2
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target: 
Comparison failed, textual difference between 'M' and 'R'


/usr/bin/strip: /bin/bash.stripped: Bad file descriptor
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 

Failed Tests (1):
  test-suite :: External/HIP/TheNextWeek-hip-6.0.2.test


Testing Time: 354.17s

Total Discovered Tests: 7
  Passed: 6 (85.71%)
  Failed: 1 (14.29%)
FAILED: External/HIP/CMakeFiles/check-hip-simple-hip-6.0.2 
cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-lit -sv 
empty-hip-6.0.2.test with-fopenmp-hip-6.0.2.test saxpy-hip-6.0.2.test 
memmove-hip-6.0.2.test InOneWeekend-hip-6.0.2.test TheNextWeek-hip-6.0.2.test 

[clang] [LinkerWrapper] Forward `-mllvm` and `--offload-opt` arguments to device (PR #100424)

2024-07-29 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building 
`clang` at step 10 "Add check check-offload".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/73/builds/2822

Here is the relevant piece of the build log for the reference:
```
Step 10 (Add check check-offload) failure: test (failure)
...
PASS: libomptarget :: amdgcn-amd-amdhsa :: 
offloading/generic_multiple_parallel_regions.c (205 of 795)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: 
offloading/target_map_for_member_data.cpp (206 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/target-teams-atomic.c 
(207 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/shared_lib_fp_mapping.c 
(208 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/schedule.c (209 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: 
offloading/small_trip_count_thread_limit.cpp (210 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/static_linking.c (211 of 
795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/target-tile.c (212 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: 
offloading/target_constexpr_mapping.cpp (213 of 795)
XPASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/bug51781.c (214 of 795)
 TEST 'libomptarget :: amdgcn-amd-amdhsa :: 
offloading/bug51781.c' FAILED 
Exit Code: 0

Command Output (stdout):
--
# RUN: at line 4
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp-I 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test 
-I 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -L 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -L 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
  -nogpulib 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib
  -fopenmp-targets=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/offloading/bug51781.c
 -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51781.c.tmp
 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
 && 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51781.c.tmp
 | 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/FileCheck
 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/offloading/bug51781.c
# executed command: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp -I 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test 
-I 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -L 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -L 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -nogpulib 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib
 -fopenmp-targets=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/offloading/bug51781.c
 -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51781.c.tmp
 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
# executed command: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51781.c.tmp
# executed command: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/FileCheck
 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/offloading/bug51781.c
# RUN: at line 8
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp-I 

[clang] [LinkerWrapper] Forward `-mllvm` and `--offload-opt` arguments to device (PR #100424)

2024-07-29 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building 
`clang` at step 7 "Add check check-offload".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/30/builds/3043

Here is the relevant piece of the build log for the reference:
```
Step 7 (Add check check-offload) failure: test (failure)
...
PASS: libomptarget :: amdgcn-amd-amdhsa :: mapping/lambda_mapping.cpp (204 of 
795)
UNSUPPORTED: libomptarget :: amdgcn-amd-amdhsa :: 
offloading/target_map_for_member_data.cpp (205 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: 
offloading/generic_multiple_parallel_regions.c (206 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: 
offloading/small_trip_count_thread_limit.cpp (207 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/target-teams-atomic.c 
(208 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/target-tile.c (209 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: 
offloading/ompx_bare_shfl_down_sync.cpp (210 of 795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/static_linking.c (211 of 
795)
PASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/shared_lib_fp_mapping.c 
(212 of 795)
XPASS: libomptarget :: amdgcn-amd-amdhsa :: offloading/bug51781.c (213 of 795)
 TEST 'libomptarget :: amdgcn-amd-amdhsa :: 
offloading/bug51781.c' FAILED 
Exit Code: 0

Command Output (stdout):
--
# RUN: at line 4
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp-I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -L 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
  -nogpulib 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib 
 -fopenmp-targets=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/offloading/bug51781.c
 -o 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51781.c.tmp
 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
 && 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51781.c.tmp
 | 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/offloading/bug51781.c
# executed command: 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp -I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -L 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -nogpulib 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib 
-fopenmp-targets=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/offloading/bug51781.c
 -o 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51781.c.tmp
 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
# note: command had no output on stdout or stderr
# executed command: 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51781.c.tmp
# note: command had no output on stdout or stderr
# executed command: 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/FileCheck 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/offloading/bug51781.c
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp-I 

[clang] [Clang][CTAD][NFC] Unify transformTemplateParameter() (PR #100865)

2024-07-28 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` 
running on `sanitizer-buildbot2` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/66/builds/

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
[372/377] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[373/377] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[374/377] Generating Msan-x86_64-with-call-Test
[375/377] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[376/377] Generating Msan-x86_64-Test
[376/377] Running compiler_rt regression tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276:
 warning: input 
'/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/rtsan/X86_64LinuxConfig'
 contained no tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 4485 of 10144 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60
FAIL: SanitizerCommon-lsan-i386-Linux :: Linux/soft_rss_limit_mb_test.cpp (2940 
of 4485)
 TEST 'SanitizerCommon-lsan-i386-Linux :: 
Linux/soft_rss_limit_mb_test.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/sanitizer-x86_64-linux/build/build_default/./bin/clang  
--driver-mode=g++ -gline-tables-only -fsanitize=leak  -m32 -funwind-tables  
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O2 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
+ /b/sanitizer-x86_64-linux/build/build_default/./bin/clang --driver-mode=g++ 
-gline-tables-only -fsanitize=leak -m32 -funwind-tables 
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O2 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
RUN: at line 5: env 
LSAN_OPTIONS=soft_rss_limit_mb=220:quarantine_size=1:allocator_may_return_null=1
  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
 2>&1 | FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -check-prefix=CHECK_MAY_RETURN_1
+ env 
LSAN_OPTIONS=soft_rss_limit_mb=220:quarantine_size=1:allocator_may_return_null=1
 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-i386-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
+ FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -check-prefix=CHECK_MAY_RETURN_1
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp:68:24:
 error: CHECK_MAY_RETURN_1: expected string not found in input
// CHECK_MAY_RETURN_1: allocating 512 times
   ^
:52:44: note: scanning from here
Some of the malloc calls returned non-null: 256
   ^
:53:13: note: possible intended match here
==262935==LeakSanitizer: soft rss limit unexhausted (220Mb vs 28Mb)
^

Input file: 
Check file: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp

-dump-input=help explains the following input dump.

Input was:
<<
.
.
.
   47:  [256] 
   48:  [320] 
   49:  [384] 
   50:  [448] 
   51: Some of the malloc calls returned null: 256 
   52: Some of the malloc calls returned non-null: 256 
check:68'0X error: no match 
found
   53: ==262935==LeakSanitizer: soft rss limit unexhausted (220Mb vs 
28Mb) 
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
[372/377] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[373/377] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[374/377] Generating Msan-x86_64-with-call-Test
[375/377] 

[clang] [clang][analyzer] MmapWriteExecChecker improvements (PR #97078)

2024-07-26 Thread LLVM Continuous Integration via cfe-commits
=?utf-8?q?Balázs_Kéri?= ,
=?utf-8?q?Balázs_Kéri?= 
Message-ID:
In-Reply-To: 


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`sanitizer-x86_64-linux-bootstrap-asan` running on `sanitizer-buildbot1` while 
building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/52/builds/1169

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
llvm-lit: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508:
 note: using lld-link: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508:
 note: using ld64.lld: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508:
 note: using wasm-ld: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508:
 note: using ld.lld: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld.lld
llvm-lit: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508:
 note: using lld-link: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/lld-link
llvm-lit: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508:
 note: using ld64.lld: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/ld64.lld
llvm-lit: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:508:
 note: using wasm-ld: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/bin/wasm-ld
llvm-lit: 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:72:
 note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 84689 of 84690 tests, 88 workers --
Testing:  0.. 10.. 20
FAIL: Clang Tools :: clang-doc/basic-project.test (19740 of 84689)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 

[clang] [clang][ASTImporter][NFC] add unittests for unnamed EnumDecl (PR #100545)

2024-07-25 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` 
running on `sanitizer-buildbot2` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/66/builds/2152

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
[372/377] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[373/377] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[374/377] Generating Msan-x86_64-with-call-Test
[375/377] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[376/377] Generating Msan-x86_64-Test
[376/377] Running compiler_rt regression tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276:
 warning: input 
'/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/rtsan/X86_64LinuxConfig'
 contained no tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 10075 tests, 88 workers --
Testing:  0.. 10
FAIL: AddressSanitizer-i386-linux :: TestCases/leaks.cpp (1296 of 10075)
 TEST 'AddressSanitizer-i386-linux :: TestCases/leaks.cpp' 
FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: /b/sanitizer-x86_64-linux/build/build_default/./bin/clang  
--driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer 
-fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only  -m32  
-O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
+ /b/sanitizer-x86_64-linux/build/build_default/./bin/clang --driver-mode=g++ 
-fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer 
-fno-optimize-sibling-calls -gline-tables-only -m32 -O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp:16:16:
 warning: unknown attribute 'noopt' ignored [-Wunknown-attributes]
   16 | __attribute__((noopt)) void leak(int n) {
  |^
1 warning generated.
RUN: at line 5: not  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
 0 2>&1 | FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
+ not 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
 0
+ FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
RUN: at line 6: not  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
 1 2>&1 | FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
+ not 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
 1
+ FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
RUN: at line 7: not  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
 1000 2>&1 | FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
+ FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
+ not 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
 1000
RUN: at line 8: not  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
 100 2>&1 | FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
+ not 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/leaks.cpp.tmp
 100
+ FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/asan/TestCases/leaks.cpp
RUN: at line 9: not  

[clang] [llvm] [OpenMPIRBuilder][Clang][NFC] - Combine `emitOffloadingArrays` and `emitOffloadingArraysArgument` in OpenMPIRBuilder (PR #97088)

2024-07-25 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` 
running on `doug-worker-5` while building `clang,llvm` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/190/builds/2675

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[2/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
[1/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[3/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
RUN: at line 4: FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
RUN: at line 5: FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
+ FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test:64:16:
 error: HTML-SHAPE: expected string not found in input
// HTML-SHAPE: area
   ^

[clang] [clang][NFC] remove unneeded nullptr checks after dereference (PR #100489)

2024-07-25 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` 
running on `doug-worker-5` while building `clang` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/190/builds/2641

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[2/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
[3/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
RUN: at line 4: FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
RUN: at line 5: FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
+ FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test:64:16:
 error: HTML-SHAPE: expected string not found in input
// HTML-SHAPE: area
   ^

[clang] [Clang] fix assertion failure in invalid delete operator declaration check (PR #99308)

2024-07-25 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running 
on `hip-vega20-0` while building `clang` at step 3 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/123/builds/2579

Here is the relevant piece of the build log for the reference:
```
Step 3 (annotate) failure: 
'../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
[36/38] : && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -O3 
-DNDEBUG  
External/HIP/CMakeFiles/InOneWeekend-hip-6.0.2.dir/workload/ray-tracing/InOneWeekend/main.cc.o
 -o External/HIP/InOneWeekend-hip-6.0.2  
--rocm-path=/buildbot/Externals/hip/rocm-6.0.2 --hip-link -rtlib=compiler-rt 
-unwindlib=libgcc -frtlib-add-rpath && cd 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/usr/local/bin/cmake -E create_symlink 
/buildbot/llvm-test-suite/External/HIP/InOneWeekend.reference_output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/InOneWeekend.reference_output-hip-6.0.2
[37/38] /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -DNDEBUG  -O3 
-DNDEBUG   -w -Werror=date-time --rocm-path=/buildbot/Externals/hip/rocm-6.0.2 
--offload-arch=gfx908 --offload-arch=gfx90a --offload-arch=gfx1030 
--offload-arch=gfx1100 -xhip -mfma -MD -MT 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -MF 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o.d
 -o 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -c 
/buildbot/llvm-test-suite/External/HIP/workload/ray-tracing/TheNextWeek/main.cc
[38/38] : && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -O3 
-DNDEBUG  
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -o External/HIP/TheNextWeek-hip-6.0.2  
--rocm-path=/buildbot/Externals/hip/rocm-6.0.2 --hip-link -rtlib=compiler-rt 
-unwindlib=libgcc -frtlib-add-rpath && cd 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/usr/local/bin/cmake -E create_symlink 
/buildbot/llvm-test-suite/External/HIP/TheNextWeek.reference_output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/TheNextWeek.reference_output-hip-6.0.2
+ build_step 'Testing HIP test-suite'
+ echo '@@@BUILD_STEP Testing HIP test-suite@@@'
+ ninja -v check-hip-simple
@@@BUILD_STEP Testing HIP test-suite@@@
[0/1] cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP 
&& /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-lit -sv 
empty-hip-6.0.2.test with-fopenmp-hip-6.0.2.test saxpy-hip-6.0.2.test 
InOneWeekend-hip-6.0.2.test TheNextWeek-hip-6.0.2.test blender.test
-- Testing: 6 tests, 6 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 
FAIL: test-suite :: External/HIP/InOneWeekend-hip-6.0.2.test (4 of 6)
 TEST 'test-suite :: 
External/HIP/InOneWeekend-hip-6.0.2.test' FAILED 

/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/timeit-target 
--timeout 7200 --limit-core 0 --limit-cpu 7200 --limit-file-size 209715200 
--limit-rss-size 838860800 --append-exitstatus --redirect-output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.out
 --redirect-input /dev/null --summary 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.time
 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/InOneWeekend-hip-6.0.2
cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP ; 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.out
 InOneWeekend.reference_output-hip-6.0.2

+ cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP
+ /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.out
 InOneWeekend.reference_output-hip-6.0.2
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target: 
Comparison failed, textual difference between 'M' and 'i'


/usr/bin/strip: /bin/bash.stripped: Bad file descriptor
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 

Failed Tests (1):
  test-suite :: External/HIP/InOneWeekend-hip-6.0.2.test


Testing Time: 387.32s

Total Discovered Tests: 6
  Passed: 5 (83.33%)
  Failed: 1 (16.67%)
FAILED: External/HIP/CMakeFiles/check-hip-simple-hip-6.0.2 
cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-lit -sv 
empty-hip-6.0.2.test with-fopenmp-hip-6.0.2.test saxpy-hip-6.0.2.test 
InOneWeekend-hip-6.0.2.test 

[clang] [Clang] Fix a variable shadowing in MapLattice (NFC) (PR #95697)

2024-07-25 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` 
running on `doug-worker-5` while building `clang` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/190/builds/2624

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[2/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
[3/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
RUN: at line 4: FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
RUN: at line 5: FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
+ FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test:64:16:
 error: HTML-SHAPE: expected string not found in input
// HTML-SHAPE: area
   ^

[clang] [PS4/PS5][Driver] Always pass LTO options to the linker (PR #100423)

2024-07-25 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-aarch64-ubuntu` 
running on `linaro-lldb-aarch64-ubuntu` while building `clang` at step 6 "test".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/59/builds/2206

Here is the relevant piece of the build log for the reference:
```
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentDelayedCrashWithBreakpointWatchpoint.py
 (613 of 1994)
PASS: lldb-api :: 
functionalities/progress_reporting/TestTrimmedProgressReporting.py (614 of 1994)
PASS: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentManyCrash.py (615 of 
1994)
PASS: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentManyBreakpoints.py (616 
of 1994)
PASS: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentSignalBreak.py (617 of 
1994)
PASS: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py (618 of 
1994)
PASS: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentSignalDelayWatch.py (619 
of 1994)
PASS: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py (620 
of 1994)
PASS: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentManySignals.py (621 of 
1994)
PASS: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py 
(622 of 1994)
FAIL: lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py (623 of 
1994)
 TEST 'lldb-api :: 
functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py' FAILED 

Script:
--
/usr/bin/python3.8 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/dotest.py
 -u CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/local/bin/llvm-ar --env 
OBJCOPY=/usr/bin/llvm-objcopy --env 
LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib --env 
LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/include 
--env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin 
--arch aarch64 --build-dir 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex 
--lldb-module-cache-dir 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api
 --clang-module-cache-dir 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api
 --executable /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/lldb 
--compiler /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/clang 
--dsymutil /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/dsymutil 
--llvm-tools-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin 
--lldb-obj-root /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb 
--lldb-libs-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/functionalities/thread/concurrent_events
 -p TestConcurrentSignalWatch.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 20.0.0git (https://github.com/llvm/llvm-project.git revision 
d82df1b891fecae0af7de5e970b592ce37178a30)
  clang revision d82df1b891fecae0af7de5e970b592ce37178a30
  llvm revision d82df1b891fecae0af7de5e970b592ce37178a30
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 
'debugserver', 'objc']

Watchpoint 1 hit:
old value: 0
new value: 1

--
Command Output (stderr):
--
FAIL: LLDB 
(/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang-aarch64) :: 
test (TestConcurrentSignalWatch.ConcurrentSignalWatch)
==
FAIL: test (TestConcurrentSignalWatch.ConcurrentSignalWatch)
   Test a watchpoint and a signal in multiple threads.
--
Traceback (most recent call last):
  File 
"/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
 line 148, in wrapper
return func(*args, **kwargs)
  File 
"/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py",
 line 14, in test
self.do_thread_actions(num_signal_threads=1, num_watchpoint_threads=1)
  File 
"/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/concurrent_base.py",
 line 329, in do_thread_actions
self.assertEqual(
AssertionError: 1 != 2 : Expected 1 stops due to signal delivery, but got 2
Config=aarch64-/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/clang
--
Ran 1 test in 4.374s


```

https://github.com/llvm/llvm-project/pull/100423
___
cfe-commits 

[clang] [Clang] Remove some dead code in getNumTeamsExprForTargetDirective (PR #95695)

2024-07-25 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running 
on `linaro-clang-armv8-quick` while building `clang` at step 5 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/154/builds/1917

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc|g'
 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc|g'
 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
[2/3] Processing file 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
[3/3] Processing file 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
RUN: at line 4: FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
RUN: at line 5: FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
+ FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/basic-project.test:64:16:
 error: HTML-SHAPE: expected string not found in input
// HTML-SHAPE: area
   ^
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html:32:53:
 note: scanning from here
 Defined at line 13 of file ./include/Shape.h
^

[clang] [Clang] Remove some dead code in getNumTeamsExprForTargetDirective (PR #95695)

2024-07-25 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` 
running on `gribozavr4` while building `clang` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/56/builds/3353

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc|g'
 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc|g'
 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[2/3] Processing file 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
[3/3] Processing file 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
RUN: at line 4: FileCheck 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
RUN: at line 5: FileCheck 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
+ FileCheck 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html
 -check-prefix=HTML-SHAPE
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/basic-project.test:64:16:
 error: HTML-SHAPE: expected string not found in input
// HTML-SHAPE: area
   ^
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html:27:53:
 note: scanning from here
 Defined at line 13 of file ./include/Shape.h
^
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/GlobalNamespace/Shape.html:47:41:
 note: possible intended match here
 area
^

Input file: 

[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-24 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` 
running on `gribozavr4` while building `clang-tools-extra` at step 9 
"test-build-unified-tree-check-clang-extra".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/60/builds/3302

Here is the relevant piece of the build log for the reference:
```
Step 9 (test-build-unified-tree-check-clang-extra) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/b/1/llvm-x86_64-debian-dylib/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/b/1/llvm-x86_64-debian-dylib/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc or 
any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/b/1/llvm-x86_64-debian-dylib/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/b/1/llvm-x86_64-debian-dylib/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc or 
any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 -check-prefix=JSON-INDEX
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp:195:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
:2:8: note: scanning from here
return{
   ^
:13:2: note: possible intended match here
 "Name": "AnonClass",
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-24 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` 
running on `gribozavr4` while building `clang` at step 6 
"test-build-unified-tree-check-clang".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/60/builds/3284

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-clang) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: mkdir -p 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 5: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 
-emit-llvm-bc -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -emit-llvm-bc -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 7: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 
-emit-llvm-bc -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -emit-llvm-bc -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/b/1/llvm-x86_64-debian-dylib/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 9: /b/1/llvm-x86_64-debian-dylib/build/bin/opt 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ /b/1/llvm-x86_64-debian-dylib/build/bin/opt 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
RUN: at line 11: /b/1/llvm-x86_64-debian-dylib/build/bin/clang-offload-packager 
-o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang-offload-packager -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 13: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -S -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
  -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa  
-fembed-offload-object=/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
+ /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1 -S -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
 -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa 
-fembed-offload-object=/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
RUN: at line 17: /b/1/llvm-x86_64-debian-dylib/build/bin/clang -cc1as -o 
/b/1/llvm-x86_64-debian-dylib/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.o
  -triple x86_64-unknown-linux-gnu -filetype obj -target-cpu x86-64  

[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` 
running on `premerge-linux-1` while building `clang-tools-extra` at step 7 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/153/builds/4021

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/build/buildbot/premerge-monolithic-linux/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/build/buildbot/premerge-monolithic-linux/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/build/buildbot/premerge-monolithic-linux/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/build/buildbot/premerge-monolithic-linux/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 -check-prefix=JSON-INDEX
/build/buildbot/premerge-monolithic-linux/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp:195:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
:2:8: note: scanning from here
return{
   ^
:13:2: note: possible intended match here
 "Name": "AnonClass",
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` 
running on `gribozavr4` while building `clang-tools-extra` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/56/builds/3219

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc|g'
 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc|g'
 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[2/3] Processing file 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
[3/3] Processing file 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
RUN: at line 4: FileCheck 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/basic-project.test:12:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:2:8:
 note: scanning from here
return{
   ^
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:3:2:
 note: possible intended match here
 "Name": "",
 ^

Input file: 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
Check file: 
/b/1/clang-x86_64-debian-fast/llvm.src/clang-tools-extra/test/clang-doc/basic-project.test

-dump-input=help explains the following input dump.

Input was:
<<
   1: async function LoadIndex() { 
   2: return{ 
next:12'0X error: no match found
   3:  "Name": "", 
next:12'0 ~
next:12'1  ?possible intended match
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-aarch64-sve-vls-2stage` running on `linaro-g3-01` while building 
`clang-tools-extra` at step 12 "ninja check 2".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/4/builds/898

Here is the relevant piece of the build log for the reference:
```
Step 12 (ninja check 2) failure: stage 2 checked (failure)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc|g'
 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc|g'
 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
[2/3] Processing file 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[3/3] Processing file 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
RUN: at line 4: FileCheck 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/clang-tools-extra/test/clang-doc/basic-project.test:12:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:2:8:
 note: scanning from here
return{
   ^
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:3:2:
 note: possible intended match here
 "Name": "",
 ^

Input file: 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
Check file: 

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` 
running on `gribozavr4` while building `clang` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/56/builds/3201

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: mkdir -p 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 5: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 
-emit-llvm-bc -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/linker-wrapper-passes.c
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -emit-llvm-bc -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 7: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 
-emit-llvm-bc -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/linker-wrapper-passes.c
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -emit-llvm-bc -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 9: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
RUN: at line 11: 
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang-offload-packager -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang-offload-packager -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 13: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -S -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
  -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa  
-fembed-offload-object=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1 -S -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
 -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa 
-fembed-offload-object=/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
RUN: at line 17: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang -cc1as -o 
/b/1/clang-x86_64-debian-fast/llvm.obj/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.o
  -triple 

[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` 
while building `clang-tools-extra` at step 5 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/76/builds/1281

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 

[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-darwin` 
running on `doug-worker-3` while building `clang-tools-extra` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/23/builds/1319

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[2/3] Processing file 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
[3/3] Processing file 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
RUN: at line 4: FileCheck 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test:12:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:2:8:
 note: scanning from here
return{
   ^
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:3:2:
 note: possible intended match here
 "Name": "",
 ^

Input file: 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
Check file: 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test

-dump-input=help explains the following input dump.

Input was:
<<
   1: async function LoadIndex() { 
   

[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-debian-cpp20` 
running on `clang-debian-cpp20` while building `clang-tools-extra` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/108/builds/1641

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 -check-prefix=JSON-INDEX
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp:195:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
:2:8: note: scanning from here
return{
   ^
:13:2: note: possible intended match here
 "Name": "AnonClass",
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-ppc64le-linux-test-suite` running on `ppc64le-clang-test-suite` while 
building `clang-tools-extra` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/95/builds/1692

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 

[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-solaris11-sparcv9` 
running on `solaris11-sparcv9` while building `clang-tools-extra` at step 5 
"ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/13/builds/1007

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
 -check-prefix=JSON-INDEX
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang-tools-extra/test/clang-doc/namespace.cpp:195:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
:2:8: note: scanning from here
return{
   ^
:13:2: note: possible intended match here
 "Name": "AnonClass",
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vla` 
running on `linaro-g3-02` while building `clang-tools-extra` at step 7 "ninja 
check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/17/builds/1253

Here is the relevant piece of the build log for the reference:
```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
 -check-prefix=JSON-INDEX
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang-tools-extra/test/clang-doc/namespace.cpp:195:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
:2:8: note: scanning from here
return{
   ^
:13:2: note: possible intended match here
 "Name": "AnonClass",
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-ppc64be-linux-test-suite` running on `ppc64be-clang-test-suite` while 
building `clang-tools-extra` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/176/builds/1434

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 

[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` 
running on `linaro-clang-aarch64-quick` while building `clang-tools-extra` at 
step 5 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/65/builds/1855

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
 -check-prefix=JSON-INDEX
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp:195:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
:2:8: note: scanning from here
return{
   ^
:13:2: note: possible intended match here
 "Name": "AnonClass",
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running 
on `linaro-clang-armv8-quick` while building `clang-tools-extra` at step 5 
"ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/154/builds/1844

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp
 -check-prefix=JSON-INDEX
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang-tools-extra/test/clang-doc/namespace.cpp:195:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
:2:8: note: scanning from here
return{
   ^
:13:2: note: possible intended match here
 "Name": "AnonClass",
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` 
running on `doug-worker-4` while building `clang-tools-extra` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/190/builds/2508

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/basic-project.test' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 5 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
 && mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
+ rm -rf 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp
+ mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build
RUN: at line 2: sed 
's|$test_dir|/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
 > 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ sed 
's|$test_dir|/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc|g'
 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
RUN: at line 3: clang-doc --format=html 
--output=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
+ clang-doc --format=html 
--output=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs
 --executor=all-TUs 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/build/compile_commands.json
[1/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
[2/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
[3/3] Processing file 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
RUN: at line 4: FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test
 
-input-file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
 -check-prefix=JSON-INDEX
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test:12:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:2:8:
 note: scanning from here
return{
   ^
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js:3:2:
 note: possible intended match here
 "Name": "",
 ^

Input file: 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.test.tmp/docs/index_json.js
Check file: 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang-tools-extra/test/clang-doc/basic-project.test

[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building 
`clang-tools-extra` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/174/builds/

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 -check-prefix=JSON-INDEX
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp:195:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
:2:8: note: scanning from here
return{
   ^
:13:2: note: possible intended match here
 "Name": "AnonClass",
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org

[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` 
running on `sie-win-worker` while building `clang-tools-extra` at step 7 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/46/builds/2175

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
rm -rf 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\tools\extra\test\clang-doc\Output\namespace.cpp.tmp
 && mkdir -p 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\tools\extra\test\clang-doc\Output\namespace.cpp.tmp
# executed command: rm -rf 
'Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\tools\extra\test\clang-doc\Output\namespace.cpp.tmp'
# executed command: mkdir -p 
'Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\tools\extra\test\clang-doc\Output\namespace.cpp.tmp'
# RUN: at line 2
clang-doc --format=html 
--output=Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\tools\extra\test\clang-doc\Output\namespace.cpp.tmp
 --executor=standalone 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc\namespace.cpp
# executed command: clang-doc --format=html 
'--output=Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\tools\extra\test\clang-doc\Output\namespace.cpp.tmp'
 --executor=standalone 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc\namespace.cpp'
# .---command stdout
# | Emiting docs in html format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 9 infos...
# | Generating docs...
# | Generating assets for docs...
# `-
# .---command stderr
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file 
"Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc\namespace.cpp"
# | No compilation database found in 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc or 
any parent directory
# | fixed-compilation-database: Error while opening fixed database: no such 
file or directory
# | json-compilation-database: Error while opening JSON database: no such file 
or directory
# | Running without flags.
# `-
# RUN: at line 3
clang-doc --format=md 
--output=Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\tools\extra\test\clang-doc\Output\namespace.cpp.tmp
 --executor=standalone 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc\namespace.cpp
# executed command: clang-doc --format=md 
'--output=Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\tools\extra\test\clang-doc\Output\namespace.cpp.tmp'
 --executor=standalone 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc\namespace.cpp'
# .---command stdout
# | Emiting docs in md format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 9 infos...
# | Generating docs...
# | Generating assets for docs...
# `-
# .---command stderr
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file 
"Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc\namespace.cpp"
# | No compilation database found in 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc or 
any parent directory
# | fixed-compilation-database: Error while opening fixed database: no such 
file or directory
# | json-compilation-database: Error while opening JSON database: no such file 
or directory
# | Running without flags.
# `-
# RUN: at line 4
FileCheck 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc\namespace.cpp
 < 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\tools\extra\test\clang-doc\Output\namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
# executed command: FileCheck 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang-tools-extra\test\clang-doc\namespace.cpp'
 -check-prefix=JSON-INDEX
...

```

https://github.com/llvm/llvm-project/pull/100251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang-tools-extra] Revert "[clang-doc] add ftime profiling" (PR #100251)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while 
building `clang-tools-extra` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/144/builds/3080

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang Tools :: clang-doc/namespace.cpp' FAILED 

Exit Code: 1

Command Output (stdout):
--
Emiting docs in html format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...
Emiting docs in md format.
Mapping decls...
Collecting infos...
Reducing 9 infos...
Generating docs...
Generating assets for docs...

--
Command Output (stderr):
--
RUN: at line 1: rm -rf 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 && mkdir -p 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ rm -rf 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
+ mkdir -p 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
RUN: at line 2: clang-doc --format=html 
--output=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=html 
--output=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 3: clang-doc --format=md 
--output=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
+ clang-doc --format=md 
--output=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
 --executor=standalone 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
Error while trying to load a compilation database:
Could not auto-detect compilation database for file 
"/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
No compilation database found in 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc
 or any parent directory
fixed-compilation-database: Error while opening fixed database: No such file or 
directory
json-compilation-database: Error while opening JSON database: No such file or 
directory
Running without flags.
RUN: at line 4: FileCheck 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 < 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index_json.js
 -check-prefix=JSON-INDEX
+ FileCheck 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
 -check-prefix=JSON-INDEX
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp:195:21:
 error: JSON-INDEX-NEXT: expected string not found in input
// JSON-INDEX-NEXT: "USR": "{{([0-9A-F]{40})}}",
^
:2:8: note: scanning from here
return{
   ^
:13:2: note: possible intended match here
 "Name": "AnonClass",
...

```

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

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building 
`clang` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/174/builds/2211

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: mkdir -p 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 5: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 
-emit-llvm-bc -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 7: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 
-emit-llvm-bc -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 9: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
RUN: at line 11: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang-offload-packager
 -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang-offload-packager
 -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 13: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 
-S -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
  -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa  
-fembed-offload-object=/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building 
`clang` at step 7 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/133/builds/2095

Here is the relevant piece of the build log for the reference:
```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: mkdir -p 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 5: 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang
 -cc1 -emit-llvm-bc -o 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Driver/linker-wrapper-passes.c
+ 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang
 -cc1 -emit-llvm-bc -o 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 7: 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang
 -cc1 -emit-llvm-bc -o 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Driver/linker-wrapper-passes.c
+ 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang
 -cc1 -emit-llvm-bc -o 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 9: 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt:
 WARNING: failed to create target machine for 'amdgcn-amd-amdhsa': unable to 
get target for 'amdgcn-amd-amdhsa', see --version and --triple.
RUN: at line 11: 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang-offload-packager
 -o 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang-offload-packager
 -o 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 13: 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang
 -cc1 -S -o 

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` 
running on `sie-win-worker` while building `clang` at step 7 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/46/builds/2164

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
mkdir -p 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp
# executed command: mkdir -p 
'Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp'
# RUN: at line 5
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -emit-llvm-bc -o 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\linker-wrapper-passes.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 
-emit-llvm-bc -o 
'Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc'
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\linker-wrapper-passes.c'
# RUN: at line 7
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -emit-llvm-bc -o 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\linker-wrapper-passes.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 
-emit-llvm-bc -o 
'Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc'
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\linker-wrapper-passes.c'
# RUN: at line 9
z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe' 
'Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc'
 -o 
'Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc'
 -passes=forceattrs -force-remove-attribute=f:noinline
# .---command stderr
# | z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe: WARNING: failed to create 
target machine for 'amdgcn-amd-amdhsa': unable to get target for 
'amdgcn-amd-amdhsa', see --version and --triple.
# `-
# RUN: at line 11
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang-offload-packager.exe -o 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
# executed command: 
'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang-offload-packager.exe' -o 
'Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out'
 
'--image=file=Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa'
# RUN: at line 13
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -S -o 
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
  -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa  
-fembed-offload-object=Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 
-S -o 
'Z:\b\llvm-clang-x86_64-sie-win\build\tools\clang\test\Driver\Output\linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s'
 -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa 

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` 
running on `doug-worker-4` while building `clang` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/190/builds/2494

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 70

Command Output (stderr):
--
RUN: at line 4: mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 5: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang 
-cc1 -emit-llvm-bc -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 
-emit-llvm-bc -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 7: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang 
-cc1 -emit-llvm-bc -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 
-emit-llvm-bc -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 9: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt: WARNING: failed to 
create target machine for 'amdgcn-amd-amdhsa': unable to get target for 
'amdgcn-amd-amdhsa', see --version and --triple.
RUN: at line 11: 
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-offload-packager 
-o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-offload-packager 
-o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 13: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang 
-cc1 -S -o 
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
  -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa  
-fembed-offload-object=/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
/Users/buildbot/buildbot-root/aarch64-darwin/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -S -o 

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building 
`clang` at step 7 "Add check check-clang".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/73/builds/2480

Here is the relevant piece of the build log for the reference:
```
Step 7 (Add check check-clang) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: mkdir -p 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 5: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Driver/linker-wrapper-passes.c
+ /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 7: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Driver/linker-wrapper-passes.c
+ /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 9: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/opt 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/opt 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
RUN: at line 11: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang-offload-packager
 -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang-offload-packager
 -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 13: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang 
-cc1 -S -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
  -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa  
-fembed-offload-object=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `arc-builder` running on 
`arc-worker` while building `clang` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/3/builds/1967

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: mkdir -p 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 5: /buildbot/worker/arc-folder/build/bin/clang -cc1 -emit-llvm-bc 
-o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/buildbot/worker/arc-folder/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /buildbot/worker/arc-folder/build/bin/clang -cc1 -emit-llvm-bc -o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/buildbot/worker/arc-folder/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 7: /buildbot/worker/arc-folder/build/bin/clang -cc1 -emit-llvm-bc 
-o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/buildbot/worker/arc-folder/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /buildbot/worker/arc-folder/build/bin/clang -cc1 -emit-llvm-bc -o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/buildbot/worker/arc-folder/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 9: /buildbot/worker/arc-folder/build/bin/opt 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ /buildbot/worker/arc-folder/build/bin/opt 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
/buildbot/worker/arc-folder/build/bin/opt: WARNING: failed to create target 
machine for 'amdgcn-amd-amdhsa': unable to get target for 'amdgcn-amd-amdhsa', 
see --version and --triple.
RUN: at line 11: /buildbot/worker/arc-folder/build/bin/clang-offload-packager 
-o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ /buildbot/worker/arc-folder/build/bin/clang-offload-packager -o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 13: /buildbot/worker/arc-folder/build/bin/clang -cc1 -S -o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
  -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa  
-fembed-offload-object=/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
+ /buildbot/worker/arc-folder/build/bin/clang -cc1 -S -o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
 -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa 
-fembed-offload-object=/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
RUN: at line 17: /buildbot/worker/arc-folder/build/bin/clang -cc1as -o 
/buildbot/worker/arc-folder/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.o
  

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while 
building `clang` at step 6 "Add check check-clang".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/140/builds/2835

Here is the relevant piece of the build log for the reference:
```
Step 6 (Add check check-clang) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: mkdir -p 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 5: 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 
-emit-llvm-bc -o 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Driver/linker-wrapper-passes.c
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 7: 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 
-emit-llvm-bc -o 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Driver/linker-wrapper-passes.c
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 9: 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/opt 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/opt 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
RUN: at line 11: 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang-offload-packager
 -o 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang-offload-packager
 -o 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 13: 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 
-S -o 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
  -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa  
-fembed-offload-object=/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while 
building `clang` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/144/builds/3063

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: mkdir -p 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 5: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 7: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-cc1 -emit-llvm-bc -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 9: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt: 
WARNING: failed to create target machine for 'amdgcn-amd-amdhsa': unable to get 
target for 'amdgcn-amd-amdhsa', see --version and --triple.
RUN: at line 11: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-offload-packager
 -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-offload-packager
 -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 13: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-cc1 -S -o 

[clang] [LinkerWrapper] Pass all files to the device linker (PR #97573)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` 
running on `premerge-linux-1` while building `clang` at step 7 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/153/builds/3960

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/linker-wrapper-passes.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 8: mkdir -p 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
+ mkdir -p 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp
RUN: at line 9: /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 
-emit-llvm-bc -o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
  -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -emit-llvm-bc 
-o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
 -disable-O0-optnone -triple=x86_64-unknown-linux-gnu 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 11: /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 
-emit-llvm-bc -o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/linker-wrapper-passes.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -emit-llvm-bc 
-o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -disable-O0-optnone -triple=amdgcn-amd-amdhsa 
/build/buildbot/premerge-monolithic-linux/llvm-project/clang/test/Driver/linker-wrapper-passes.c
RUN: at line 13: /build/buildbot/premerge-monolithic-linux/build/bin/opt 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
  -passes=forceattrs -force-remove-attribute=f:noinline
+ /build/buildbot/premerge-monolithic-linux/build/bin/opt 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc
 -passes=forceattrs -force-remove-attribute=f:noinline
RUN: at line 15: 
/build/buildbot/premerge-monolithic-linux/build/bin/clang-offload-packager -o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
--image=file=/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
+ /build/buildbot/premerge-monolithic-linux/build/bin/clang-offload-packager -o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 
--image=file=/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-amdgcn-amd-amdhsa.bc,triple=amdgcn-amd-amdhsa
RUN: at line 17: /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 
-S -o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
  -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa  
-fembed-offload-object=/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
  
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.bc
+ /build/buildbot/premerge-monolithic-linux/build/bin/clang -cc1 -S -o 
/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/host-x86_64-unknown-linux-gnu.s
 -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa 
-fembed-offload-object=/build/buildbot/premerge-monolithic-linux/build/tools/clang/test/Driver/Output/linker-wrapper-passes.c.tmp/openmp-x86_64-unknown-linux-gnu.out
 

[clang] [Clang][Driver] Warn about `-c/-S` with `-fsyntax-only` (PR #98607)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` 
running on `sie-win-worker` while building `clang` at step 7 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/46/builds/2069

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/warn-fsyntax-only.c' FAILED 

Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -fsyntax-only -E 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\warn-fsyntax-only.c
 2>&1 | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\warn-fsyntax-only.c
 --check-prefix=CHECK-PP
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' 
-fsyntax-only -E 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\warn-fsyntax-only.c'
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\warn-fsyntax-only.c'
 --check-prefix=CHECK-PP
# RUN: at line 2
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -fsyntax-only -S 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\warn-fsyntax-only.c
 2>&1 | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\warn-fsyntax-only.c
 --check-prefix=CHECK-ASM
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' 
-fsyntax-only -S 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\warn-fsyntax-only.c'
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\warn-fsyntax-only.c'
 --check-prefix=CHECK-ASM
# .---command stderr
# | FileCheck error: '' is empty.
# | FileCheck command line:  
z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Driver\warn-fsyntax-only.c
 --check-prefix=CHECK-ASM
# `-
# error: command failed with exit status: 2

--




```

https://github.com/llvm/llvm-project/pull/98607
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [Clang][Driver] Warn about `-c/-S` with `-fsyntax-only` (PR #98607)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while 
building `clang` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/144/builds/2918

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/warn-fsyntax-only.c' FAILED 

Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-fsyntax-only -E 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/warn-fsyntax-only.c
 2>&1 | 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck
 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/warn-fsyntax-only.c
 --check-prefix=CHECK-PP
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-fsyntax-only -E 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/warn-fsyntax-only.c
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck
 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/warn-fsyntax-only.c
 --check-prefix=CHECK-PP
RUN: at line 2: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-fsyntax-only -S 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/warn-fsyntax-only.c
 2>&1 | 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck
 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/warn-fsyntax-only.c
 --check-prefix=CHECK-ASM
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-fsyntax-only -S 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/warn-fsyntax-only.c
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck
 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/warn-fsyntax-only.c
 --check-prefix=CHECK-ASM
FileCheck error: '' is empty.
FileCheck command line:  
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck
 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Driver/warn-fsyntax-only.c
 --check-prefix=CHECK-ASM

--




```

https://github.com/llvm/llvm-project/pull/98607
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #99870)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` 
running on `sanitizer-buildbot2` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/66/builds/1949

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
[366/371] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[367/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[368/371] Generating Msan-x86_64-with-call-Test
[369/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[370/371] Generating Msan-x86_64-Test
[370/371] Running compiler_rt regression tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 10048 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
TIMEOUT: SanitizerCommon-hwasan-x86_64-Linux :: Posix/fork_threaded.c (10048 of 
10048)
 TEST 'SanitizerCommon-hwasan-x86_64-Linux :: 
Posix/fork_threaded.c' FAILED 
Exit Code: -9
Timeout: Reached timeout of 900 seconds

Command Output (stderr):
--
RUN: at line 1: /b/sanitizer-x86_64-linux/build/build_default/./bin/clang  
-gline-tables-only -fsanitize=hwaddress -fuse-ld=lld 
-fsanitize-hwaddress-experimental-aliasing  -m64 -funwind-tables  
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
 && env HWASAN_OPTIONS=die_after_fork=0  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
+ /b/sanitizer-x86_64-linux/build/build_default/./bin/clang -gline-tables-only 
-fsanitize=hwaddress -fuse-ld=lld -fsanitize-hwaddress-experimental-aliasing 
-m64 -funwind-tables 
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
+ env HWASAN_OPTIONS=die_after_fork=0 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
HWAddressSanitizer:DEADLYSIGNAL
==1970781==ERROR: HWAddressSanitizer: SEGV on unknown address (pc 
0x64f65e0c20cf bp 0x70e9a63a0798 sp 0x7ffca3a9ae70 T1970781)
==1970781==The signal is caused by a READ memory access.
==1970781==Hint: this fault was caused by a dereference of a high value address 
(see register values below).  Disassemble the provided pc to learn which 
register was used.
==1970398==ERROR: HWAddressSanitizer: tag-mismatch on address 0x58140280 at 
pc 0x64f65e07edf7
READ of size 155 at 0x58140280 tags: 02/00 (ptr/mem) in thread T1

--


Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--
900.09s: SanitizerCommon-hwasan-x86_64-Linux :: Posix/fork_threaded.c
199.28s: libFuzzer-x86_64-default-Linux :: out-of-process-fuzz.test
193.28s: libFuzzer-x86_64-libcxx-Linux :: out-of-process-fuzz.test
187.94s: libFuzzer-x86_64-static-libcxx-Linux :: out-of-process-fuzz.test
48.32s: libFuzzer-i386-static-libcxx-Linux :: value-profile-switch.test
47.88s: ThreadSanitizer-x86_64 :: bench_threads.cpp
43.72s: libFuzzer-i386-default-Linux :: value-profile-switch.test
43.19s: libFuzzer-i386-default-Linux :: fork_corpus_groups.test
41.99s: libFuzzer-i386-libcxx-Linux :: value-profile-switch.test
41.39s: libFuzzer-i386-libcxx-Linux :: disable-leaks.test
41.34s: libFuzzer-i386-static-libcxx-Linux :: fork_corpus_groups.test
41.20s: libFuzzer-i386-default-Linux :: fork.test
41.08s: libFuzzer-i386-static-libcxx-Linux :: fork.test
40.97s: libFuzzer-i386-libcxx-Linux :: fork.test
40.81s: libFuzzer-x86_64-default-Linux :: fork.test
40.59s: libFuzzer-x86_64-libcxx-Linux :: fork.test
39.80s: libFuzzer-x86_64-libcxx-Linux :: fork_corpus_groups.test
Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer 
(failure)
...
[366/371] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[367/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[368/371] Generating Msan-x86_64-with-call-Test
[369/371] 

[clang] [Clang] Fix handling of qualified id-expressions in unevaluated contexts (PR #99807)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-aarch64-ubuntu` 
running on `linaro-lldb-aarch64-ubuntu` while building `clang` at step 6 "test".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/59/builds/1986

Here is the relevant piece of the build log for the reference:
```
Step 6 (test) failure: build (failure)
...
PASS: lldb-unit :: ValueObject/./LLDBValueObjectTests/0/3 (1985 of 1994)
PASS: lldb-unit :: ValueObject/./LLDBValueObjectTests/1/3 (1986 of 1994)
PASS: lldb-unit :: ValueObject/./LLDBValueObjectTests/2/3 (1987 of 1994)
PASS: lldb-unit :: tools/lldb-server/tests/./LLDBServerTests/0/2 (1988 of 1994)
PASS: lldb-unit :: Utility/./UtilityTests/5/8 (1989 of 1994)
PASS: lldb-unit :: tools/lldb-server/tests/./LLDBServerTests/1/2 (1990 of 1994)
PASS: lldb-unit :: Utility/./UtilityTests/6/8 (1991 of 1994)
PASS: lldb-shell :: SymbolFile/target-symbols-add-unwind.test (1992 of 1994)
PASS: lldb-unit :: Process/gdb-remote/./ProcessGdbRemoteTests/8/10 (1993 of 
1994)
UNRESOLVED: lldb-api :: tools/lldb-server/TestLldbGdbServer.py (1994 of 1994)
 TEST 'lldb-api :: tools/lldb-server/TestLldbGdbServer.py' 
FAILED 
Script:
--
/usr/bin/python3.8 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/dotest.py
 -u CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/local/bin/llvm-ar --env 
OBJCOPY=/usr/bin/llvm-objcopy --env 
LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib --env 
LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/include 
--env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin 
--arch aarch64 --build-dir 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex 
--lldb-module-cache-dir 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api
 --clang-module-cache-dir 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api
 --executable /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/lldb 
--compiler /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/clang 
--dsymutil /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/dsymutil 
--llvm-tools-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin 
--lldb-obj-root /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb 
--lldb-libs-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/tools/lldb-server
 -p TestLldbGdbServer.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 19.0.0git (https://github.com/llvm/llvm-project.git revision 
3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb)
  clang revision 3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb
  llvm revision 3c459cfcaebdaf7cabac33a0e18bf6588cef4cdb
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 
'debugserver', 'objc']

--
Command Output (stderr):
--
Program aborted due to an unhandled Error:
Operation not permitted
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and 
include the crash backtrace.
Stack dump:
0.  Program arguments: 
/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server gdbserver 
--attach=1301674 --reverse-connect [127.0.0.1]:55939
 #0 0xd497bfb0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) 
(/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xb2bfb0)
 #1 0xd4979f2c llvm::sys::RunSignalHandlers() 
(/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xb29f2c)
 #2 0xd497c6d0 SignalHandler(int) Signals.cpp:0:0
 #3 0xbb9f27dc (linux-vdso.so.1+0x7dc)
 #4 0xbb26bd78 raise 
/build/glibc-Q8DG8B/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1
 #5 0xbb258aac abort /build/glibc-Q8DG8B/glibc-2.31/stdlib/abort.c:81:7
 #6 0xd49271e0 llvm::Error::fatalUncheckedError() const 
(/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xad71e0)
 #7 0xd49ad8b0 
lldb_private::process_linux::NativeProcessLinux::Attach(int) 
(/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xb5d8b0)
 #8 0xd49acedc 
lldb_private::process_linux::NativeProcessLinux::Manager::Attach(unsigned long, 
lldb_private::NativeProcessProtocol::NativeDelegate&) 
(/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xb5cedc)
 #9 0xd4a22df0 
lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::AttachToProcess(unsigned
 long) 
(/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xbd2df0)
#10 0xd4908d50 
handle_attach(lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS&,
 std::__cxx11::basic_string, std::allocator> 
const&) 
(/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/bin/lldb-server+0xab8d50)
#11 0xd490a9d8 

[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-hexagon-elf` running 
on `hexagon-build-02` while building `clang` at step 5 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/40/builds/698

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: 
Sema/aarch64-neon-without-target-feature.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/stage1/bin/clang 
-cc1 -internal-isystem 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/stage1/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod  
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
+ /local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/stage1/bin/clang 
-cc1 -internal-isystem 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/stage1/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod 
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
error: 'expected-error' diagnostics expected but not seen: 
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 9: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 12: always_inline function 'vceqz_f16' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 13: always_inline function 'vrnd_f16' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 14: always_inline function 'vmaxnm_f16' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 15: always_inline function 'vrndi_f16' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 17: always_inline function 'vfmlal_low_f16' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 19: always_inline function 'vmmlaq_s32' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: always_inline function 'vusdot_s32' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 22: always_inline function 'vbfdot_f32' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 24: '__builtin_neon_splat_lane_bf16' needs target feature bf16,neon
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 25: always_inline function 'vdup_n_bf16' requires target feature 'neon'
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 26: '__builtin_neon_vld1_bf16' needs target feature bf16,neon
  File 
/local/mnt/workspace/bots/hexagon-build-02/clang-hexagon-elf/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 27: always_inline function 'vcvt_f32_bf16' requires target feature 'neon'
  File 

[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building 
`clang` at step 7 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/133/builds/1973

Here is the relevant piece of the build log for the reference:
```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: 
Sema/aarch64-neon-without-target-feature.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang
 -cc1 -internal-isystem 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod  
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
+ 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/clang
 -cc1 -internal-isystem 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod 
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
error: 'expected-error' diagnostics expected but not seen: 
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 9: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 12: always_inline function 'vceqz_f16' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 13: always_inline function 'vrnd_f16' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 14: always_inline function 'vmaxnm_f16' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 15: always_inline function 'vrndi_f16' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 17: always_inline function 'vfmlal_low_f16' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 19: always_inline function 'vmmlaq_s32' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: always_inline function 'vusdot_s32' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 22: always_inline function 'vbfdot_f32' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 24: '__builtin_neon_splat_lane_bf16' needs target feature bf16,neon
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 25: always_inline function 'vdup_n_bf16' requires target feature 'neon'
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 26: '__builtin_neon_vld1_bf16' needs target feature bf16,neon
  File 
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 27: always_inline function 'vcvt_f32_bf16' requires 

[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` 
running on `sie-win-worker` while building `clang` at step 7 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/46/builds/2030

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: 
Sema/aarch64-neon-without-target-feature.cpp' FAILED 
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -internal-isystem 
Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\19\include -nostdsysteminc 
-triple aarch64-none-linux-gnu -target-feature +dotprod  -target-feature 
+fullfp16 -target-feature +fp16fml -target-feature +i8mm -target-feature +bf16 
-verify -emit-llvm -o - 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' -cc1 
-internal-isystem 'Z:\b\llvm-clang-x86_64-sie-win\build\lib\clang\19\include' 
-nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod 
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp'
# .---command stderr
# | error: 'expected-error' diagnostics expected but not seen: 
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 9: always_inline function 'vdot_u32' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 10: always_inline function 'vdot_u32' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 10: '__builtin_neon_splat_laneq_v' needs target feature neon
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 12: always_inline function 'vceqz_f16' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 13: always_inline function 'vrnd_f16' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 14: always_inline function 'vmaxnm_f16' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 15: always_inline function 'vrndi_f16' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 17: always_inline function 'vfmlal_low_f16' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 19: always_inline function 'vmmlaq_s32' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 20: always_inline function 'vusdot_s32' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 20: '__builtin_neon_splat_laneq_v' needs target feature neon
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 22: always_inline function 'vbfdot_f32' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 24: '__builtin_neon_splat_lane_bf16' needs target feature bf16,neon
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 25: always_inline function 'vdup_n_bf16' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 26: '__builtin_neon_vld1_bf16' needs target feature bf16,neon
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 27: always_inline function 'vcvt_f32_bf16' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 28: always_inline function 'vcvt_bf16_f32' requires target feature 'neon'
# |   File 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Sema\aarch64-neon-without-target-feature.cpp
 Line 29: always_inline function 'vmull_p64' requires target feature 'neon'
# |   File 

[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building 
`clang` at step 7 "Add check check-clang".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/73/builds/2343

Here is the relevant piece of the build log for the reference:
```
Step 7 (Add check check-clang) failure: test (failure)
 TEST 'Clang :: 
Sema/aarch64-neon-without-target-feature.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod  
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
+ /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod 
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
error: 'expected-error' diagnostics expected but not seen: 
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 9: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 12: always_inline function 'vceqz_f16' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 13: always_inline function 'vrnd_f16' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 14: always_inline function 'vmaxnm_f16' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 15: always_inline function 'vrndi_f16' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 17: always_inline function 'vfmlal_low_f16' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 19: always_inline function 'vmmlaq_s32' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: always_inline function 'vusdot_s32' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 22: always_inline function 'vbfdot_f32' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 24: '__builtin_neon_splat_lane_bf16' needs target feature bf16,neon
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 25: always_inline function 'vdup_n_bf16' requires target feature 'neon'
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 26: '__builtin_neon_vld1_bf16' needs target feature bf16,neon
  File 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 27: always_inline function 'vcvt_f32_bf16' requires target feature 'neon'
  File 

[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `arc-builder` running on 
`arc-worker` while building `clang` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/3/builds/1862

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: 
Sema/aarch64-neon-without-target-feature.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /buildbot/worker/arc-folder/build/bin/clang -cc1 
-internal-isystem /buildbot/worker/arc-folder/build/lib/clang/19/include 
-nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod  
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
+ /buildbot/worker/arc-folder/build/bin/clang -cc1 -internal-isystem 
/buildbot/worker/arc-folder/build/lib/clang/19/include -nostdsysteminc -triple 
aarch64-none-linux-gnu -target-feature +dotprod -target-feature +fullfp16 
-target-feature +fp16fml -target-feature +i8mm -target-feature +bf16 -verify 
-emit-llvm -o - 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
error: 'expected-error' diagnostics expected but not seen: 
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 9: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 12: always_inline function 'vceqz_f16' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 13: always_inline function 'vrnd_f16' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 14: always_inline function 'vmaxnm_f16' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 15: always_inline function 'vrndi_f16' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 17: always_inline function 'vfmlal_low_f16' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 19: always_inline function 'vmmlaq_s32' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: always_inline function 'vusdot_s32' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 22: always_inline function 'vbfdot_f32' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 24: '__builtin_neon_splat_lane_bf16' needs target feature bf16,neon
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 25: always_inline function 'vdup_n_bf16' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 26: '__builtin_neon_vld1_bf16' needs target feature bf16,neon
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 27: always_inline function 'vcvt_f32_bf16' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 28: always_inline function 'vcvt_bf16_f32' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 29: always_inline function 'vmull_p64' requires target feature 'neon'
  File 
/buildbot/worker/arc-folder/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 30: always_inline function 'vmull_high_p64' requires target feature 'neon'
  File 

[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while 
building `clang` at step 6 "Add check check-clang".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/140/builds/2667

Here is the relevant piece of the build log for the reference:
```
Step 6 (Add check check-clang) failure: test (failure)
 TEST 'Clang :: 
Sema/aarch64-neon-without-target-feature.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang -cc1 
-internal-isystem 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod  
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod 
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
error: 'expected-error' diagnostics expected but not seen: 
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 9: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 12: always_inline function 'vceqz_f16' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 13: always_inline function 'vrnd_f16' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 14: always_inline function 'vmaxnm_f16' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 15: always_inline function 'vrndi_f16' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 17: always_inline function 'vfmlal_low_f16' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 19: always_inline function 'vmmlaq_s32' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: always_inline function 'vusdot_s32' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 22: always_inline function 'vbfdot_f32' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 24: '__builtin_neon_splat_lane_bf16' needs target feature bf16,neon
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 25: always_inline function 'vdup_n_bf16' requires target feature 'neon'
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 26: '__builtin_neon_vld1_bf16' needs target feature bf16,neon
  File 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 27: always_inline function 'vcvt_f32_bf16' requires target feature 'neon'
  File 

[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on 
`hpce-ve-main` while building `clang` at step 4 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/12/builds/2363

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python 
../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[297/303] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
[298/303] Linking CXX executable tools/clang/unittests/CodeGen/ClangCodeGenTests
[299/303] Linking CXX executable tools/clang/unittests/Frontend/FrontendTests
[300/303] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
[301/303] Linking CXX executable 
tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
[302/303] Linking CXX executable 
tools/clang/unittests/Interpreter/ClangReplInterpreterTests
[302/303] Running the Clang regression tests
-- Testing: 20856 tests, 48 workers --
llvm-lit: 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/utils/lit/lit/llvm/config.py:508:
 note: using clang: 
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.
FAIL: Clang :: Sema/aarch64-neon-without-target-feature.cpp (16037 of 20856)
 TEST 'Clang :: 
Sema/aarch64-neon-without-target-feature.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 
-internal-isystem 
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include 
-nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod  
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/clang -cc1 
-internal-isystem 
/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/lib/clang/19/include 
-nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod 
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
error: 'expected-error' diagnostics expected but not seen: 
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 9: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 12: always_inline function 'vceqz_f16' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 13: always_inline function 'vrnd_f16' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 14: always_inline function 'vmaxnm_f16' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 15: always_inline function 'vrndi_f16' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 17: always_inline function 'vfmlal_low_f16' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 19: always_inline function 'vmmlaq_s32' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: always_inline function 'vusdot_s32' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 22: always_inline function 'vbfdot_f32' requires target feature 'neon'
  File 
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 24: 

[clang] [Clang][NEON] Add neon target guard to intrinsics (PR #98624)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while 
building `clang` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/144/builds/2858

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: 
Sema/aarch64-neon-without-target-feature.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-cc1 -internal-isystem 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod  
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang 
-cc1 -internal-isystem 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/clang/19/include
 -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +dotprod 
-target-feature +fullfp16 -target-feature +fp16fml -target-feature +i8mm 
-target-feature +bf16 -verify -emit-llvm -o - 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
error: 'expected-error' diagnostics expected but not seen: 
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 9: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: always_inline function 'vdot_u32' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 10: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 12: always_inline function 'vceqz_f16' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 13: always_inline function 'vrnd_f16' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 14: always_inline function 'vmaxnm_f16' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 15: always_inline function 'vrndi_f16' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 17: always_inline function 'vfmlal_low_f16' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 19: always_inline function 'vmmlaq_s32' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: always_inline function 'vusdot_s32' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 20: '__builtin_neon_splat_laneq_v' needs target feature neon
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 22: always_inline function 'vbfdot_f32' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 24: '__builtin_neon_splat_lane_bf16' needs target feature bf16,neon
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 25: always_inline function 'vdup_n_bf16' requires target feature 'neon'
  File 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/Sema/aarch64-neon-without-target-feature.cpp
 Line 26: '__builtin_neon_vld1_bf16' needs target feature bf16,neon
  File 

[clang] [clang] Fix assertion failure in `injectEmbedTokens` (PR #99624)

2024-07-22 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` 
running on `sanitizer-buildbot1` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/66/builds/1938

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure) (timed out)
...
[364/371] Generating FuzzerUtils-x86_64-Test
[365/371] Generating FuzzerTestObjects.gtest-all.cc.x86_64.o
[366/371] Generating Fuzzer-x86_64-Test
[367/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[368/371] Generating Msan-x86_64-with-call-Test
[369/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[370/371] Generating Msan-x86_64-Test
[370/371] Running compiler_rt regression tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 10048 tests, 88 workers --
command timed out: 1200 seconds without output running [b'python', 
b'../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'],
 attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=3315.146076
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
  CMakeLists.txt:6 (include)


CMake Deprecation Warning at 
/b/sanitizer-x86_64-linux/build/llvm-project/cmake/Modules/CMakePolicy.cmake:11 
(cmake_policy):
  The OLD behavior for policy CMP0116 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  CMakeLists.txt:6 (include)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find Clang (missing: Clang_DIR)
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Using libc++abi testing configuration: 
/b/sanitizer-x86_64-linux/build/llvm-project/libcxxabi/test/configs/llvm-libc++abi-static.cfg.in
-- Using libc++ testing configuration: 
/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/test/configs/llvm-libc++-static.cfg.in
-- check-runtimes does nothing.
-- Configuring done (1.1s)
-- Generating done (0.1s)
-- Build files have been written to: 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64
[353/371] Linking CXX static library 
/b/sanitizer-x86_64-linux/build/build_default/lib/clang/19/lib/i386-unknown-linux-gnu/libclang_rt.fuzzer.a
[354/371] Performing build step for 'libcxx_fuzzer_x86_64'
ninja: no work to do.
[356/371] Linking CXX static library 
/b/sanitizer-x86_64-linux/build/build_default/lib/clang/19/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_interceptors.a
[357/371] Linking CXX static library 
/b/sanitizer-x86_64-linux/build/build_default/lib/clang/19/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer.a
[358/371] Linking CXX static library 
/b/sanitizer-x86_64-linux/build/build_default/lib/clang/19/lib/x86_64-unknown-linux-gnu/libclang_rt.fuzzer_no_main.a
[359/371] Generating 
FuzzedDataProviderTestObjects.FuzzedDataProviderUnittest.cpp.x86_64.o
[360/371] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64-with-call.o
[361/371] Generating FuzzerTestObjects.FuzzerUnittest.cpp.x86_64.o
[362/371] Generating FuzzedDataProviderTestObjects.gtest-all.cc.x86_64.o
[363/371] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[364/371] Generating FuzzerUtils-x86_64-Test
[365/371] Generating FuzzerTestObjects.gtest-all.cc.x86_64.o
[366/371] Generating Fuzzer-x86_64-Test
[367/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[368/371] Generating Msan-x86_64-with-call-Test
[369/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[370/371] Generating Msan-x86_64-Test
[370/371] Running compiler_rt regression tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 10048 tests, 88 workers --

command timed out: 1200 seconds without output running [b'python', 
b'../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'],
 attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=3315.146076
Testing:  0.. 10.. 20.. 30.. 40.. 

[clang] [Fuchsia] Remove linker flags from stage2 pass through (PR #99722)

2024-07-20 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running 
on `hip-vega20-0` while building `clang` at step 3 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/123/builds/2203

Here is the relevant piece of the build log for the reference:
```
Step 3 (annotate) failure: 
'../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
[36/38] : && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -O3 
-DNDEBUG  
External/HIP/CMakeFiles/InOneWeekend-hip-6.0.2.dir/workload/ray-tracing/InOneWeekend/main.cc.o
 -o External/HIP/InOneWeekend-hip-6.0.2  
--rocm-path=/buildbot/Externals/hip/rocm-6.0.2 --hip-link -rtlib=compiler-rt 
-unwindlib=libgcc -frtlib-add-rpath && cd 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/usr/local/bin/cmake -E create_symlink 
/buildbot/llvm-test-suite/External/HIP/InOneWeekend.reference_output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/InOneWeekend.reference_output-hip-6.0.2
[37/38] /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -DNDEBUG  -O3 
-DNDEBUG   -w -Werror=date-time --rocm-path=/buildbot/Externals/hip/rocm-6.0.2 
--offload-arch=gfx908 --offload-arch=gfx90a --offload-arch=gfx1030 
--offload-arch=gfx1100 -xhip -mfma -MD -MT 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -MF 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o.d
 -o 
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -c 
/buildbot/llvm-test-suite/External/HIP/workload/ray-tracing/TheNextWeek/main.cc
[38/38] : && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/clang++ -O3 
-DNDEBUG  
External/HIP/CMakeFiles/TheNextWeek-hip-6.0.2.dir/workload/ray-tracing/TheNextWeek/main.cc.o
 -o External/HIP/TheNextWeek-hip-6.0.2  
--rocm-path=/buildbot/Externals/hip/rocm-6.0.2 --hip-link -rtlib=compiler-rt 
-unwindlib=libgcc -frtlib-add-rpath && cd 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/usr/local/bin/cmake -E create_symlink 
/buildbot/llvm-test-suite/External/HIP/TheNextWeek.reference_output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/TheNextWeek.reference_output-hip-6.0.2
+ build_step 'Testing HIP test-suite'
+ echo '@@@BUILD_STEP Testing HIP test-suite@@@'
+ ninja -v check-hip-simple
@@@BUILD_STEP Testing HIP test-suite@@@
[0/1] cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP 
&& /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-lit -sv 
empty-hip-6.0.2.test with-fopenmp-hip-6.0.2.test saxpy-hip-6.0.2.test 
InOneWeekend-hip-6.0.2.test TheNextWeek-hip-6.0.2.test blender.test
-- Testing: 6 tests, 6 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 
FAIL: test-suite :: External/HIP/InOneWeekend-hip-6.0.2.test (4 of 6)
 TEST 'test-suite :: 
External/HIP/InOneWeekend-hip-6.0.2.test' FAILED 

/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/timeit-target 
--timeout 7200 --limit-core 0 --limit-cpu 7200 --limit-file-size 209715200 
--limit-rss-size 838860800 --append-exitstatus --redirect-output 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.out
 --redirect-input /dev/null --summary 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.time
 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/InOneWeekend-hip-6.0.2
cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP ; 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.out
 InOneWeekend.reference_output-hip-6.0.2

+ cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP
+ /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target 
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP/Output/InOneWeekend-hip-6.0.2.test.out
 InOneWeekend.reference_output-hip-6.0.2
/buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/tools/fpcmp-target: 
Comparison failed, textual difference between 'M' and 'i'


/usr/bin/strip: /bin/bash.stripped: Bad file descriptor
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 

Failed Tests (1):
  test-suite :: External/HIP/InOneWeekend-hip-6.0.2.test


Testing Time: 383.47s

Total Discovered Tests: 6
  Passed: 5 (83.33%)
  Failed: 1 (16.67%)
FAILED: External/HIP/CMakeFiles/check-hip-simple-hip-6.0.2 
cd /buildbot/hip-vega20-0/clang-hip-vega20/test-suite-build/External/HIP && 
/buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-lit -sv 
empty-hip-6.0.2.test with-fopenmp-hip-6.0.2.test saxpy-hip-6.0.2.test 
InOneWeekend-hip-6.0.2.test 

[clang] [Clang] [docs] [MSVC] Add sections on `__forceinline` and intrinsic behaviour differences between Clang and MSVC (PR #99426)

2024-07-19 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` 
running on `sanitizer-buildbot2` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/66/builds/1861

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
[365/371] Generating Fuzzer-x86_64-Test
[366/371] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[367/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[368/371] Generating Msan-x86_64-with-call-Test
[369/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[370/371] Generating Msan-x86_64-Test
[370/371] Running compiler_rt regression tests
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 10048 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: SanitizerCommon-lsan-x86_64-Linux :: Linux/soft_rss_limit_mb_test.cpp 
(7240 of 10048)
 TEST 'SanitizerCommon-lsan-x86_64-Linux :: 
Linux/soft_rss_limit_mb_test.cpp' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/sanitizer-x86_64-linux/build/build_default/./bin/clang  
--driver-mode=g++ -gline-tables-only -fsanitize=leak  -m64 -funwind-tables  
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O2 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
+ /b/sanitizer-x86_64-linux/build/build_default/./bin/clang --driver-mode=g++ 
-gline-tables-only -fsanitize=leak -m64 -funwind-tables 
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O2 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
RUN: at line 5: env 
LSAN_OPTIONS=soft_rss_limit_mb=220:quarantine_size=1:allocator_may_return_null=1
  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
 2>&1 | FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -check-prefix=CHECK_MAY_RETURN_1
+ env 
LSAN_OPTIONS=soft_rss_limit_mb=220:quarantine_size=1:allocator_may_return_null=1
 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/soft_rss_limit_mb_test.cpp.tmp
+ FileCheck 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
 -check-prefix=CHECK_MAY_RETURN_1
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp:68:24:
 error: CHECK_MAY_RETURN_1: expected string not found in input
// CHECK_MAY_RETURN_1: allocating 512 times
   ^
:52:44: note: scanning from here
Some of the malloc calls returned non-null: 256
   ^
:52:45: note: possible intended match here
Some of the malloc calls returned non-null: 256
^

Input file: 
Check file: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp

-dump-input=help explains the following input dump.

Input was:
<<
.
.
.
   47:  [256] 
   48:  [320] 
   49:  [384] 
   50:  [448] 
   51: Some of the malloc calls returned null: 256 
   52: Some of the malloc calls returned non-null: 256 
check:68'0X error: no match 
found
check:68'1 ?possible 
intended match
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
[365/371] Generating Fuzzer-x86_64-Test
[366/371] Generating MSAN_INST_GTEST.gtest-all.cc.x86_64.o
[367/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64-with-call.o
[368/371] Generating Msan-x86_64-with-call-Test
[369/371] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.x86_64.o
[370/371] Generating Msan-x86_64-Test
[370/371] Running compiler_rt regression 

[clang] [llvm] [PS4/PS5][Driver][DWARF] Always emit .debug_aranges for SCE tuning (PR #99629)

2024-07-19 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` 
running on `sie-win-worker` while building `clang,llvm` at step 7 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/46/builds/1956

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'LLVM :: DebugInfo/Generic/directives-only.ll' FAILED 

Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
z:\b\llvm-clang-x86_64-sie-win\build\bin\llc.exe -filetype=asm -asm-verbose=0 
-O0 < 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\DebugInfo\Generic\directives-only.ll
 | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\DebugInfo\Generic\directives-only.ll
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\llc.exe' 
-filetype=asm -asm-verbose=0 -O0
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\DebugInfo\Generic\directives-only.ll'
# .---command stderr
# | 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\DebugInfo\Generic\directives-only.ll:21:14:
 error: CHECK-NOT: excluded string found in input
# | ; CHECK-NOT: .section .{{debug.*}}
# |  ^
# | :44:2: note: found here
# |  .section .debug_aranges,"",@progbits
# |  ^~~~
# | 
# | Input file: 
# | Check file: 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\DebugInfo\Generic\directives-only.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<
# |   1:  .text 
# |   2:  .file "" 
# |   3:  .globl f2 
# |   4:  .p2align 4, 0x90 
# |   5:  .type f2,@function 
# |   6: f2: 
# |   7: .Lfunc_begin0: 
# |   8:  .file 1 "/tmp/dbginfo" 
"multiline.c" 
# | check:12  ^~~~
# |   9:  .loc 1 2 0 
# |  10:  .cfi_startproc 
# |  11:  pushq %rbp 
# |  12:  .cfi_def_cfa_offset 16 
# |  13:  .cfi_offset %rbp, -16 
# |  14:  movq %rsp, %rbp 
# |  15:  .cfi_def_cfa_register %rbp 
# |  16: .Ltmp0: 
# |  17:  .loc 1 3 3 
prologue_end 
# | check:13  ^~
# |  18:  movb $0, %al 
# |  19:  callq f1@PLT 
# |  20:  .loc 1 3 9 is_stmt 0 

# | check:14  ^~
# |  21:  movb $0, %al 
# |  22:  callq f1@PLT 
# |  23:  .loc 1 3 15 
...

```

https://github.com/llvm/llvm-project/pull/99629
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [llvm] [PS4/PS5][Driver][DWARF] Always emit .debug_aranges for SCE tuning (PR #99629)

2024-07-19 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while 
building `clang,llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/144/builds/2740

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'LLVM :: DebugInfo/debuglineinfo-path.ll' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 7: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llc 
-O0 -filetype=obj -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
 < 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/DebugInfo/debuglineinfo-path.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llc 
-O0 -filetype=obj -o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
RUN: at line 8: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-nm
 --radix=o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
 | grep posix_absolute_func > 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp.posix_absolute_func
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-nm
 --radix=o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
+ grep posix_absolute_func
RUN: at line 9: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-nm
 --radix=o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
 | grep posix_relative_func > 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp.posix_relative_func
+ grep posix_relative_func
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-nm
 --radix=o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
RUN: at line 10: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-nm
 --radix=o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
 | grep win_func > 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp.win_func
+ grep win_func
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-nm
 --radix=o 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
RUN: at line 11: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-symbolizer
 --functions=linkage --inlining --no-demangle --obj 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
 < 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp.posix_absolute_func
 | 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck
 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/DebugInfo/debuglineinfo-path.ll
 --check-prefix=POSIX_A
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck
 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/DebugInfo/debuglineinfo-path.ll
 --check-prefix=POSIX_A
+ 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-symbolizer
 --functions=linkage --inlining --no-demangle --obj 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/DebugInfo/Output/debuglineinfo-path.ll.tmp
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/DebugInfo/debuglineinfo-path.ll:16:11:
 error: POSIX_A: expected string not found in input
;POSIX_A: /absolute/posix/path{{[\/]}}posix.c
  ^
:1:20: note: scanning from here
posix_absolute_func
   ^

Input file: 
Check file: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/DebugInfo/debuglineinfo-path.ll

-dump-input=help explains the following input dump.

Input was:
<<
  1: posix_absolute_func 

check:15 ^~~
check:16X error: no match found
  2: 

[clang] [clang codegen] Emit int TBAA metadata on FP math libcall expf (PR #96025)

2024-07-18 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-darwin` 
running on `doug-worker-3` while building `clang` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/23/builds/1154

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'LLVM :: 
Analysis/StructuralHash/structural-hash-printer.ll' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt 
-passes='print' -disable-output 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
 2>&1 | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt 
'-passes=print' -disable-output 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
RUN: at line 2: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt 
-passes='print' -disable-output 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
 2>&1 | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
 -check-prefix=DETAILED-HASH
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt 
'-passes=print' -disable-output 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
 -check-prefix=DETAILED-HASH
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll:21:18:
 error: DETAILED-HASH: expected string not found in input
; DETAILED-HASH: Module Hash: {{([a-z0-9]{14,})}}
 ^
:1:1: note: scanning from here
Module Hash: f76c8321ace7a
^

Input file: 
Check file: 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll

-dump-input=help explains the following input dump.

Input was:
<<
  1: Module Hash: f76c8321ace7a 
check:21 X~~ error: no match found
  2: Function f1 Hash: 4365ad7e28a90d0f 
check:21 ~~~
  3: Function f2 Hash: 9763f9a6861973af 
check:21 ~~~
>>

--




```

https://github.com/llvm/llvm-project/pull/96025
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [Clang] Loop over FieldDecls instead of all Decls (PR #99574)

2024-07-18 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux` 
running on `sanitizer-buildbot8` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/51/builds/1493

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
[159/163] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64-with-call.o
[160/163] Generating Msan-aarch64-with-call-Test
[161/163] Generating MSAN_INST_TEST_OBJECTS.msan_test.cpp.aarch64.o
[162/163] Generating Msan-aarch64-Test
[162/163] Running compiler_rt regression tests
llvm-lit: 
/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276:
 warning: input 
'/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/interception/Unit'
 contained no tests
llvm-lit: 
/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/discovery.py:276:
 warning: input 
'/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/Unit'
 contained no tests
llvm-lit: 
/b/sanitizer-aarch64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 5484 tests, 48 workers --
Testing:  0.. 10.. 20.. 30
FAIL: LeakSanitizer-AddressSanitizer-aarch64 :: TestCases/use_registers.cpp 
(1772 of 5484)
 TEST 'LeakSanitizer-AddressSanitizer-aarch64 :: 
TestCases/use_registers.cpp' FAILED 
Exit Code: 1

Command Output (stdout):
--
Test alloc: 0x51a00080 

=
==1493974==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 1337 byte(s) in 1 object(s) allocated from:
#0 0xc47b359d14d4 in malloc 
/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:68:3
#1 0xc47b35a10db0 in registers_thread_func 
/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/use_registers.cpp:16:13
#2 0xc47b359ced40 in asan_thread_start(void*) 
/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/lib/asan/asan_interceptors.cpp:239:28
#3 0xeb3fc640ba48  (/lib/aarch64-linux-gnu/libc.so.6+0xeba48) (BuildId: 
3119d7bcf68a34e21742cd08095272de601d373f)

Objects leaked above:
0x51a00080 (1337 bytes)

SUMMARY: AddressSanitizer: 1337 byte(s) leaked in 1 allocation(s).

--
Command Output (stderr):
--
RUN: at line 2: /b/sanitizer-aarch64-linux/build/build_default/./bin/clang  
--driver-mode=g++ -O0   -Wthread-safety -Wthread-safety-reference 
-Wthread-safety-beta   -gline-tables-only -fsanitize=address 
-I/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/lsan/../ 
-pthread 
/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/use_registers.cpp
 -o 
/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/AARCH64AsanConfig/TestCases/Output/use_registers.cpp.tmp
+ /b/sanitizer-aarch64-linux/build/build_default/./bin/clang --driver-mode=g++ 
-O0 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta 
-gline-tables-only -fsanitize=address 
-I/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/lsan/../ 
-pthread 
/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/use_registers.cpp
 -o 
/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/AARCH64AsanConfig/TestCases/Output/use_registers.cpp.tmp
RUN: at line 3: env 
LSAN_OPTIONS=:detect_leaks=1:"report_objects=1:use_stacks=0:use_registers=0" 
not  
/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/AARCH64AsanConfig/TestCases/Output/use_registers.cpp.tmp
 2>&1 | FileCheck 
/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/use_registers.cpp
+ env 
LSAN_OPTIONS=:detect_leaks=1:report_objects=1:use_stacks=0:use_registers=0 not 
/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/AARCH64AsanConfig/TestCases/Output/use_registers.cpp.tmp
+ FileCheck 
/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/test/lsan/TestCases/use_registers.cpp
RUN: at line 4: env 
LSAN_OPTIONS=:detect_leaks=1:"report_objects=1:use_stacks=0:use_registers=1"  
/b/sanitizer-aarch64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/lsan/AARCH64AsanConfig/TestCases/Output/use_registers.cpp.tmp
 2>&1
+ env 
LSAN_OPTIONS=:detect_leaks=1:report_objects=1:use_stacks=0:use_registers=1 

[clang] [clang][test] Split AArch64 target feature checks across multiple lines. NFC (PR #99365)

2024-07-18 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` 
running on `sie-win-worker` while building `clang` at step 7 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/46/builds/1896

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Preprocessor/aarch64-target-features.c' 
FAILED 
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target 
aarch64-none-linux-gnu -x c -E -dM 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' 
-target aarch64-none-linux-gnu -x c -E -dM 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
 -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
# RUN: at line 2
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target arm64-none-linux-gnu 
-x c -E -dM 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' 
-target arm64-none-linux-gnu -x c -E -dM 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
 -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
# RUN: at line 68
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64-none-elf 
-march=armv8-r -x c -E -dM 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -check-prefix CHECK-R-PROFILE
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' 
-target aarch64-none-elf -march=armv8-r -x c -E -dM 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
 -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
 -check-prefix CHECK-R-PROFILE
# RUN: at line 69
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target arm64-none-linux-gnu 
-march=armv8-r -x c -E -dM 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -check-prefix CHECK-R-PROFILE
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' 
-target arm64-none-linux-gnu -march=armv8-r -x c -E -dM 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
 -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
 -check-prefix CHECK-R-PROFILE
# RUN: at line 72
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64-none-elf -x 
c -E -dM 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -check-prefix CHECK-A-PROFILE
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe' 
-target aarch64-none-elf -x c -E -dM 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
 -o -
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 
'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c'
 -check-prefix CHECK-A-PROFILE
# RUN: at line 73
z:\b\llvm-clang-x86_64-sie-win\build\bin\clang.exe -target aarch64-none-elf 
-march=armv8-a -x c -E -dM 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -o - | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe 
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\clang\test\Preprocessor\aarch64-target-features.c
 -check-prefix CHECK-A-PROFILE
# executed 

[libclc] libclc: increase fp16 support (PR #98149)

2024-07-18 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` 
running on `premerge-linux-1` while building `libclc` at step 6 
"build-unified-tree".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/153/builds/3385

Here is the relevant piece of the build log for the reference:
```
Step 6 (build-unified-tree) failure: build (failure)
...
17.724 [2782/58/268] Generating 
obj.libclc.dir/tahiti-amdgcn-mesa-mesa3d/generic/lib/relational/signbit.cl.bc
17.726 [2781/58/269] Generating 
obj.libclc.dir/nvptx--/generic/lib/math/asinpi.cl.bc
17.727 [2780/58/270] Generating 
obj.libclc.dir/nvptx--/generic/lib/math/acospi.cl.bc
17.728 [2779/58/271] Linking CXX shared module 
tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirDialectsSparseTensor.cpython-310-x86_64-linux-gnu.so
17.728 [2778/58/272] Linking CXX shared module 
tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirExecutionEngine.cpython-310-x86_64-linux-gnu.so
17.731 [2777/58/273] Generating 
obj.libclc.dir/amdgcn--amdhsa/generic/lib/cl_khr_int64_base_atomics/atom_sub.cl.bc
17.744 [2776/58/274] Generating 
obj.libclc.dir/clspv--/generic/lib/math/clc_remainder.cl.bc
17.753 [2775/58/275] Generating 
obj.libclc.dir/clspv--/generic/lib/math/ldexp.cl.bc
17.754 [2774/58/276] Generating 
obj.libclc.dir/tahiti-amdgcn-mesa-mesa3d/generic/lib/shared/max.cl.bc
17.856 [2773/58/277] Generating 
obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_base_atomics/atom_inc.cl.bc
FAILED: 
tools/libclc/obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_base_atomics/atom_inc.cl.bc
 
/build/buildbot/premerge-monolithic-linux/build/tools/libclc/obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_base_atomics/atom_inc.cl.bc
 
cd /build/buildbot/premerge-monolithic-linux/build/tools/libclc && 
/build/buildbot/premerge-monolithic-linux/build/bin/clang-19 -target r600-- -c 
-mcpu=barts -fno-builtin -nostdlib -D__CLC_INTERNAL -DCLC_R600 
-I/build/buildbot/premerge-monolithic-linux/llvm-project/libclc/generic/include 
-Wno-bitwise-conditional-parentheses 
-I/build/buildbot/premerge-monolithic-linux/llvm-project/libclc/generic/lib/cl_khr_global_int32_base_atomics
 -MD -MF 
/build/buildbot/premerge-monolithic-linux/build/tools/libclc/obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_base_atomics/atom_inc.cl.bc.d
 -MT 
/build/buildbot/premerge-monolithic-linux/build/tools/libclc/obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_base_atomics/atom_inc.cl.bc
 -cl-no-stdinc -emit-llvm -o 
/build/buildbot/premerge-monolithic-linux/build/tools/libclc/obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_base_atomics/atom_inc.cl.bc
 -x cl 
/build/buildbot/premerge-monolithic-linux/llvm-project/libclc/generic/lib/cl_khr_global_int32_base_atomics/atom_inc.cl
 && /etc/cmake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile 
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm 
/build/buildbot/premerge-monolithic-linux/llvm-project/libclc 
/build/buildbot/premerge-monolithic-linux/build 
/build/buildbot/premerge-monolithic-linux/build/tools/libclc 
/build/buildbot/premerge-monolithic-linux/build/tools/libclc/obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_base_atomics/atom_inc.cl.bc.d
 
/build/buildbot/premerge-monolithic-linux/build/CMakeFiles/d/54ef415d6b9c7c45422c2441355b19af2ed1958f751add27287a5a7a084406ed.d
In file included from 
/build/buildbot/premerge-monolithic-linux/llvm-project/libclc/generic/lib/cl_khr_global_int32_base_atomics/atom_inc.cl:1:
In file included from 
/build/buildbot/premerge-monolithic-linux/llvm-project/libclc/generic/include/clc/clc.h:22:
/build/buildbot/premerge-monolithic-linux/llvm-project/libclc/generic/include/clc/convert.h:73:1:
 error: expected function body after function declarator
   73 | _CLC_VECTOR_CONVERT_TO_SUFFIX(_rtn)
  | ^
/build/buildbot/premerge-monolithic-linux/llvm-project/libclc/generic/include/clc/convert.h:71:3:
 note: expanded from macro '_CLC_VECTOR_CONVERT_TO_SUFFIX'
   71 |   _CLC_VECTOR_CONVERT_TO(ROUND)
  |   ^
1 error generated.
17.856 [2773/57/278] Generating 
obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_extended_atomics/atom_and.cl.bc
FAILED: 
tools/libclc/obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_extended_atomics/atom_and.cl.bc
 
/build/buildbot/premerge-monolithic-linux/build/tools/libclc/obj.libclc.dir/barts-r600--/generic/lib/cl_khr_global_int32_extended_atomics/atom_and.cl.bc
 
cd /build/buildbot/premerge-monolithic-linux/build/tools/libclc && 
/build/buildbot/premerge-monolithic-linux/build/bin/clang-19 -target r600-- -c 
-mcpu=barts -fno-builtin -nostdlib -D__CLC_INTERNAL -DCLC_R600 
-I/build/buildbot/premerge-monolithic-linux/llvm-project/libclc/generic/include 
-Wno-bitwise-conditional-parentheses 
-I/build/buildbot/premerge-monolithic-linux/llvm-project/libclc/generic/lib/cl_khr_global_int32_extended_atomics
 -MD -MF 

[clang] [test] Precommit tests for PR96025, NFC (PR #98704)

2024-07-16 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-armv7-global-isel` 
running on `linaro-clang-armv7-global-isel` while building `clang` at step 7 
"ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/39/builds/569

Here is the relevant piece of the build log for the reference:
```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: CodeGen/math-libcalls-tbaa.cpp' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: 
/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/lib/clang/19/include 
-nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 | /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
+ /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
+ /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/lib/clang/19/include 
-nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp:13:16:
 error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: [[ARRAYIDX:%.*]] = getelementptr inbounds i8, ptr [[NUM]], i64 40
   ^
:8:7: note: scanning from here
entry:
  ^
:8:7: note: with "NUM" equal to "%num"
entry:
  ^
:9:10: note: possible intended match here
 %arrayidx = getelementptr inbounds i8, ptr %num, i32 40
 ^

Input file: 
Check file: 
/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp

-dump-input=help explains the following input dump.

Input was:
<<
   1: ; ModuleID = 
'/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp'
 
   2: source_filename = 
"/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp"
 
   3: target datalayout = 
"e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" 
   4: target triple = "armv8l-unknown-linux-gnueabihf" 
   5:  
   6: ; Function Attrs: mustprogress nofree nounwind willreturn 
memory(write, argmem: readwrite) 
   7: define dso_local float @foo(ptr nocapture noundef readonly %num, 
float noundef %r2inv, i32 noundef %n) local_unnamed_addr #0 { 
   8: entry: 
next:13'0   X error: no match found
next:13'1 with "NUM" equal to "%num"
   9:  %arrayidx = getelementptr inbounds i8, ptr %num, i32 40 
next:13'0 ~
next:13'2  ?
possible intended match
  10:  %0 = load float, ptr %arrayidx, align 4, !tbaa !3 
next:13'0 ~~~
  11:  %call = tail call float @expf(float noundef %0) #2 
next:13'0 
  12:  %1 = load float, ptr %arrayidx, align 4, !tbaa !3 
next:13'0 ~~~
  13:  %mul = fmul float %call, %1 
next:13'0 ~
  14:  ret float %mul 
...

```

https://github.com/llvm/llvm-project/pull/98704
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [test] Precommit tests for PR96025, NFC (PR #98704)

2024-07-16 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ppc64le-rhel` 
running on `ppc64le-clang-rhel-test` while building `clang` at step 7 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/145/builds/610

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: CodeGen/math-libcalls-tbaa.cpp' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/clang
 -cc1 -internal-isystem 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib/clang/19/include
 -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp
 | 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck
 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/clang
 -cc1 -internal-isystem 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib/clang/19/include
 -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck
 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp:11:16:
 error: CHECK-SAME: expected string not found in input
// CHECK-SAME: ptr nocapture noundef readonly [[NUM:%.*]], float noundef 
[[R2INV:%.*]], i32 noundef [[N:%.*]]) local_unnamed_addr #[[ATTR0:[0-9]+]] {
   ^
:7:29: note: scanning from here
define dso_local float @foo(ptr nocapture noundef readonly %num, float noundef 
%r2inv, i32 noundef signext %n) local_unnamed_addr #0 {
^

Input file: 
Check file: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp

-dump-input=help explains the following input dump.

Input was:
<<
 1: ; ModuleID = 
'/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp'
 
 2: source_filename = 
"/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp"
 
 3: target datalayout = 
"e-m:e-Fn32-i64:64-n32:64-S128-v256:256:256-v512:512:512" 
 4: target triple = "powerpc64le-unknown-linux-gnu" 
 5:  
 6: ; Function Attrs: mustprogress nofree nounwind willreturn 
memory(write, argmem: readwrite) 
 7: define dso_local float @foo(ptr nocapture noundef readonly %num, 
float noundef %r2inv, i32 noundef signext %n) local_unnamed_addr #0 { 
same:11 
X~~
 error: no match found
 8: entry: 
same:11 ~~~
 9:  %arrayidx = getelementptr inbounds i8, ptr %num, i64 40 
same:11 ~
10:  %0 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11 ~~~
11:  %call = tail call float @expf(float noundef %0) #2 
same:11 
12:  %1 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11 ~~~
 .
 .
 .
>>

--




```

https://github.com/llvm/llvm-project/pull/98704
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [test] Precommit tests for PR96025, NFC (PR #98704)

2024-07-16 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` 
while building `clang` at step 5 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/76/builds/1076

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: CodeGen/math-libcalls-tbaa.cpp' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/clang
 -cc1 -internal-isystem 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/19/include
 -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 | 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck
 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/clang
 -cc1 -internal-isystem 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/19/include
 -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck
 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp:11:16:
 error: CHECK-SAME: expected string not found in input
// CHECK-SAME: ptr nocapture noundef readonly [[NUM:%.*]], float noundef 
[[R2INV:%.*]], i32 noundef [[N:%.*]]) local_unnamed_addr #[[ATTR0:[0-9]+]] {
   ^
:7:29: note: scanning from here
define dso_local float @foo(ptr nocapture noundef readonly %num, float noundef 
%r2inv, i32 noundef signext %n) local_unnamed_addr #0 {
^

Input file: 
Check file: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp

-dump-input=help explains the following input dump.

Input was:
<<
 1: ; ModuleID = 
'/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp'
 
 2: source_filename = 
"/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp"
 
 3: target datalayout = 
"e-m:e-Fn32-i64:64-n32:64-S128-v256:256:256-v512:512:512" 
 4: target triple = "powerpc64le-unknown-linux-gnu" 
 5:  
 6: ; Function Attrs: mustprogress nofree nounwind willreturn 
memory(write, argmem: readwrite) 
 7: define dso_local float @foo(ptr nocapture noundef readonly %num, 
float noundef %r2inv, i32 noundef signext %n) local_unnamed_addr #0 { 
same:11 
X~~
 error: no match found
 8: entry: 
same:11 ~~~
 9:  %arrayidx = getelementptr inbounds i8, ptr %num, i64 40 
same:11 ~
10:  %0 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11 ~~~
11:  %call = tail call float @expf(float noundef %0) #2 
same:11 
12:  %1 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11 ~~~
 .
 .
 .
>>

--



Step 11 (ninja check 2) failure: stage 2 checked (failure)
 TEST 'Clang :: CodeGen/math-libcalls-tbaa.cpp' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/clang
 -cc1 -internal-isystem 

[clang] [test] Precommit tests for PR96025, NFC (PR #98704)

2024-07-16 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-solaris11-sparcv9` 
running on `solaris11-sparcv9` while building `clang` at step 5 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/13/builds/838

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: CodeGen/math-libcalls-tbaa.cpp' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/clang
 -cc1 -internal-isystem 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/lib/clang/19/include
 -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 | 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck
 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
+ 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/clang
 -cc1 -internal-isystem 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/lib/clang/19/include
 -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
+ 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/bin/FileCheck
 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp:11:16:
 error: CHECK-SAME: expected string not found in input
// CHECK-SAME: ptr nocapture noundef readonly [[NUM:%.*]], float noundef 
[[R2INV:%.*]], i32 noundef [[N:%.*]]) local_unnamed_addr #[[ATTR0:[0-9]+]] {
   ^
:7:29: note: scanning from here
define dso_local float @foo(ptr nocapture noundef readonly %num, float noundef 
%r2inv, i32 noundef signext %n) local_unnamed_addr #0 {
^

Input file: 
Check file: 
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp

-dump-input=help explains the following input dump.

Input was:
<<
 1: ; ModuleID = 
'/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp'
 
 2: source_filename = 
"/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp"
 
 3: target datalayout = "E-m:e-i64:64-n32:64-S128" 
 4: target triple = "sparcv9-sun-solaris2.11" 
 5:  
 6: ; Function Attrs: mustprogress nofree nounwind willreturn 
memory(write, argmem: readwrite) 
 7: define dso_local float @foo(ptr nocapture noundef readonly %num, 
float noundef %r2inv, i32 noundef signext %n) local_unnamed_addr #0 { 
same:11 
X~~
 error: no match found
 8: entry: 
same:11 ~~~
 9:  %arrayidx = getelementptr inbounds i8, ptr %num, i64 40 
same:11 ~
10:  %0 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11 ~~~
11:  %call = tail call float @expf(float noundef %0) #2 
same:11 
12:  %1 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11 ~~~
 .
 .
 .
>>

--




```

https://github.com/llvm/llvm-project/pull/98704
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [test] Precommit tests for PR96025, NFC (PR #98704)

2024-07-16 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-ppc64le-linux-test-suite` running on `ppc64le-clang-test-suite` while 
building `clang` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/95/builds/1384

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: CodeGen/math-libcalls-tbaa.cpp' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang
 -cc1 -internal-isystem 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/lib/clang/19/include
 -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp
 | 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck
 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/clang
 -cc1 -internal-isystem 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/lib/clang/19/include
 -nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/bin/FileCheck
 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp:11:16:
 error: CHECK-SAME: expected string not found in input
// CHECK-SAME: ptr nocapture noundef readonly [[NUM:%.*]], float noundef 
[[R2INV:%.*]], i32 noundef [[N:%.*]]) local_unnamed_addr #[[ATTR0:[0-9]+]] {
   ^
:7:29: note: scanning from here
define dso_local float @foo(ptr nocapture noundef readonly %num, float noundef 
%r2inv, i32 noundef signext %n) local_unnamed_addr #0 {
^

Input file: 
Check file: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp

-dump-input=help explains the following input dump.

Input was:
<<
 1: ; ModuleID = 
'/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp'
 
 2: source_filename = 
"/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/clang/test/CodeGen/math-libcalls-tbaa.cpp"
 
 3: target datalayout = 
"e-m:e-Fn32-i64:64-n32:64-S128-v256:256:256-v512:512:512" 
 4: target triple = "powerpc64le-unknown-linux-gnu" 
 5:  
 6: ; Function Attrs: mustprogress nofree nounwind willreturn 
memory(write, argmem: readwrite) 
 7: define dso_local float @foo(ptr nocapture noundef readonly %num, 
float noundef %r2inv, i32 noundef signext %n) local_unnamed_addr #0 { 
same:11 
X~~
 error: no match found
 8: entry: 
same:11 ~~~
 9:  %arrayidx = getelementptr inbounds i8, ptr %num, i64 40 
same:11 ~
10:  %0 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11 ~~~
11:  %call = tail call float @expf(float noundef %0) #2 
same:11 
12:  %1 = load float, ptr %arrayidx, align 4, !tbaa !2 
same:11 ~~~
 .
 .
 .
>>

--




```

https://github.com/llvm/llvm-project/pull/98704
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [test] Precommit tests for PR96025, NFC (PR #98704)

2024-07-16 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running 
on `linaro-clang-armv8-quick` while building `clang` at step 5 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/154/builds/1496

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: CodeGen/math-libcalls-tbaa.cpp' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 3: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang 
-cc1 -internal-isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/19/include 
-nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 | /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -cc1 
-internal-isystem 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/19/include 
-nostdsysteminc -fmath-errno -O3 -emit-llvm -o - -x c++ 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp
 -check-prefixes=CHECK,NoNewStructPathTBAA
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp:13:16:
 error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: [[ARRAYIDX:%.*]] = getelementptr inbounds i8, ptr [[NUM]], i64 40
   ^
:8:7: note: scanning from here
entry:
  ^
:8:7: note: with "NUM" equal to "%num"
entry:
  ^
:9:10: note: possible intended match here
 %arrayidx = getelementptr inbounds i8, ptr %num, i32 40
 ^

Input file: 
Check file: 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp

-dump-input=help explains the following input dump.

Input was:
<<
   1: ; ModuleID = 
'/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp'
 
   2: source_filename = 
"/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/CodeGen/math-libcalls-tbaa.cpp"
 
   3: target datalayout = 
"e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" 
   4: target triple = "armv8l-unknown-linux-gnueabihf" 
   5:  
   6: ; Function Attrs: mustprogress nofree nounwind willreturn 
memory(write, argmem: readwrite) 
   7: define dso_local float @foo(ptr nocapture noundef readonly %num, 
float noundef %r2inv, i32 noundef %n) local_unnamed_addr #0 { 
   8: entry: 
next:13'0   X error: no match found
next:13'1 with "NUM" equal to "%num"
   9:  %arrayidx = getelementptr inbounds i8, ptr %num, i32 40 
next:13'0 ~
next:13'2  ?
possible intended match
  10:  %0 = load float, ptr %arrayidx, align 4, !tbaa !3 
next:13'0 ~~~
  11:  %call = tail call float @expf(float noundef %0) #2 
next:13'0 
  12:  %1 = load float, ptr %arrayidx, align 4, !tbaa !3 
next:13'0 ~~~
  13:  %mul = fmul float %call, %1 
next:13'0 ~
  14:  ret float %mul 
...

```

https://github.com/llvm/llvm-project/pull/98704
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [CMake][Fuchsia] Use escaped double quote (PR #99246)

2024-07-16 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building 
`clang` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/174/builds/1762

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'LLVM :: 
Analysis/StructuralHash/structural-hash-printer.ll' FAILED 
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt 
-passes='print' -disable-output 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
 2>&1 | 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt 
'-passes=print' -disable-output 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
RUN: at line 2: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt 
-passes='print' -disable-output 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
 2>&1 | 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
 -check-prefix=DETAILED-HASH
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt 
'-passes=print' -disable-output 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
 -check-prefix=DETAILED-HASH
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll:22:23:
 error: DETAILED-HASH-NEXT: expected string not found in 
input
; DETAILED-HASH-NEXT: Function f1 Hash: [[DF1H:([a-z0-9]{14,})]]
  ^
:1:30: note: scanning from here
Module Hash: 75ca0bc110652c75
 ^
:2:1: note: possible intended match here
Function f1 Hash: 75452f6dda947
^

Input file: 
Check file: 
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Analysis/StructuralHash/structural-hash-printer.ll

-dump-input=help explains the following input dump.

Input was:
<<
   1: Module Hash: 
75ca0bc110652c75 
check:21  ^
next:22'0  X error: no match found
   2: Function f1 Hash: 75452f6dda947 
next:22'0 
next:22'1 ?possible intended 
match
   3: Function f2 Hash: af0a1e3f24a2cd30 

next:22'0 ~~~
>>

--




```

https://github.com/llvm/llvm-project/pull/99246
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [Clang][C++26] Implement "Ordering of constraints involving fold expressions (PR #98160)

2024-07-16 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running 
on `linaro-lldb-arm-ubuntu` while building `clang` at step 4 "build".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/18/builds/877

Here is the relevant piece of the build log for the reference:
```
Step 4 (build) failure: build (failure)
...
33.973 [2544/30/3650] Building CXX object 
tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o
33.975 [2544/29/3651] Building CXX object 
tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o
33.977 [2544/28/3652] Building CXX object 
tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o
33.985 [2544/27/3653] Building CXX object 
tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o
34.049 [2544/26/3654] Building CXX object 
tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o
34.085 [2544/25/3655] Building CXX object 
tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o
34.131 [2544/24/3656] Building CXX object 
tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o
34.287 [2544/23/3657] Building CXX object 
lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
34.343 [2544/22/3658] Building CXX object 
tools/clang/lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o
37.510 [2544/21/3659] Building CXX object 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o
FAILED: tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 
-D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/clang/lib/Parse 
-I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/clang/lib/Parse 
-I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/clang/include 
-I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/clang/include 
-I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include 
-I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/llvm/include -fPIC 
-fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time 
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter 
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic 
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color 
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual 
-Wno-nested-anon-types -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti 
-UNDEBUG -std=c++17 -MD -MT 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o -MF 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o.d -o 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o -c 
/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/clang/lib/Parse/ParseDecl.cpp
In file included from ../llvm-project/clang/lib/Parse/ParseDecl.cpp:13:
In file included from ../llvm-project/clang/include/clang/AST/ASTContext.h:18:
In file included from 
../llvm-project/clang/include/clang/AST/CanonicalType.h:17:
In file included from ../llvm-project/clang/include/clang/AST/Type.h:21:
In file included from 
../llvm-project/clang/include/clang/AST/NestedNameSpecifier.h:18:
In file included from ../llvm-project/clang/include/clang/Basic/Diagnostic.h:19:
In file included from 
../llvm-project/clang/include/clang/Basic/SourceLocation.h:17:
In file included from ../llvm-project/clang/include/clang/Basic/FileEntry.h:22:
In file included from ../llvm-project/llvm/include/llvm/ADT/PointerUnion.h:19:
../llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:172:17: error: static 
assertion failed due to requirement '2U <= 
PointerUnionUIntTraits *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind, 
llvm::PointerLikeTypeTraits *>, 
llvm::PointerIntPairInfo *, 1, 
llvm::PointerLikeTypeTraits *::NumLowBitsAvailable': PointerIntPair with 
integer size too large for pointer
  172 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
  | ^
../llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:111:13: note: in 
instantiation of template class 'llvm::PointerIntPairInfo *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>' requested here
  111 | Value = Info::updateInt(Info::updatePointer(0, PtrVal),
  | ^
../llvm-project/llvm/include/llvm/ADT/PointerIntPair.h:89:5: note: in 
instantiation of member function 'llvm::PointerIntPair *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>::setPointerAndInt' 
requested here
   89 | setPointerAndInt(PtrVal, IntVal);
  | ^

[clang] [Clang][C++26] Implement "Ordering of constraints involving fold expressions (PR #98160)

2024-07-16 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running 
on `linaro-clang-armv8-quick` while building `clang` at step 4 "build stage 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/154/builds/1447

Here is the relevant piece of the build log for the reference:
```
Step 4 (build stage 1) failure: 'ninja' (failure)
[1/281] Building CXX object 
tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[2/281] Generating VCSRevision.h
[3/281] Generating VCSVersion.inc
[4/281] Building CXX object 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o
FAILED: 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 
-D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/lib/Parse 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/lib/Parse 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/include 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/include 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/include 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include -fPIC 
-fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time 
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter 
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic 
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color 
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual 
-Wno-nested-anon-types -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti 
-UNDEBUG -std=c++17 -MD -MT 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o 
-MF 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o.d
 -o 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o 
-c 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/lib/Parse/ParseCXXInlineMethods.cpp
In file included from ../llvm/clang/lib/Parse/ParseCXXInlineMethods.cpp:13:
In file included from ../llvm/clang/include/clang/AST/DeclTemplate.h:17:
In file included from ../llvm/clang/include/clang/AST/ASTConcept.h:17:
In file included from ../llvm/clang/include/clang/AST/DeclarationName.h:16:
In file included from ../llvm/clang/include/clang/AST/Type.h:21:
In file included from ../llvm/clang/include/clang/AST/NestedNameSpecifier.h:18:
In file included from ../llvm/clang/include/clang/Basic/Diagnostic.h:19:
In file included from ../llvm/clang/include/clang/Basic/SourceLocation.h:17:
In file included from ../llvm/clang/include/clang/Basic/FileEntry.h:22:
In file included from ../llvm/llvm/include/llvm/ADT/PointerUnion.h:19:
../llvm/llvm/include/llvm/ADT/PointerIntPair.h:172:17: error: static assertion 
failed due to requirement '2U <= PointerUnionUIntTraits *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind, 
llvm::PointerLikeTypeTraits *>, 
llvm::PointerIntPairInfo *, 1, 
llvm::PointerLikeTypeTraits *::NumLowBitsAvailable': PointerIntPair with 
integer size too large for pointer
  172 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
  | ^
../llvm/llvm/include/llvm/ADT/PointerIntPair.h:111:13: note: in instantiation 
of template class 'llvm::PointerIntPairInfo *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>' requested here
  111 | Value = Info::updateInt(Info::updatePointer(0, PtrVal),
  | ^
../llvm/llvm/include/llvm/ADT/PointerIntPair.h:89:5: note: in instantiation of 
member function 'llvm::PointerIntPair *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>::setPointerAndInt' 
requested here
   89 | setPointerAndInt(PtrVal, IntVal);
  | ^
../llvm/llvm/include/llvm/ADT/PointerUnion.h:77:16: note: in instantiation of 
member function 'llvm::PointerIntPair *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>::PointerIntPair' 
requested here
   77 | : Base(ValTy(const_cast(
  |^
../llvm/clang/include/clang/Sema/SemaConcept.h:114:46: note: in instantiation 
of member function 
'llvm::pointer_union_detail::PointerUnionMembers *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>, 
llvm::PointerIntPair *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>, 0, 
clang::AtomicConstraint *, clang::FoldExpandedConstraint *, 
llvm::PointerIntPair *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>::PointerUnionMembers' 
requested here
  114 |   NormalizedConstraint(AtomicConstraint *C): 

[clang] [llvm] [X86][MC,Driver] Support -msse2avx to encode SSE instruction with VEX prefix (PR #96860)

2024-07-15 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-ppc64be-linux-test-suite` running on `ppc64be-clang-test-suite` while 
building `clang,llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/176/builds/1120

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: Driver/msse2avx.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/clang
 -### -c -march=x86-64 -Xassembler -msse2avx 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang/test/Driver/msse2avx.c
 2>&1 | 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/FileCheck
  
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang/test/Driver/msse2avx.c
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/clang
 -### -c -march=x86-64 -Xassembler -msse2avx 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang/test/Driver/msse2avx.c
+ 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/FileCheck
 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang/test/Driver/msse2avx.c
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang/test/Driver/msse2avx.c:4:11:
 error: CHECK: expected string not found in input
// CHECK: "-msse2avx"
  ^
:1:1: note: scanning from here
clang version 19.0.0git (https://github.com/llvm/llvm-project.git 
bddab518db003f7c5ce9014e9ebd932fb7a85d2f)
^
:6:36: note: possible intended match here
clang: error: unsupported argument '-msse2avx' to option '-Xassembler'
   ^

Input file: 
Check file: 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/llvm-project/clang/test/Driver/msse2avx.c

-dump-input=help explains the following input dump.

Input was:
<<
   1: clang version 19.0.0git (https://github.com/llvm/llvm-project.git 
bddab518db003f7c5ce9014e9ebd932fb7a85d2f) 
check:4'0 
X~~~
 error: no match found
   2: Target: powerpc64-unknown-linux-gnu 
check:4'0 
   3: Thread model: posix 
check:4'0 
   4: InstalledDir: 
/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin
 
check:4'0 
~~
   5: Build config: +assertions 
check:4'0 ~~
   6: clang: error: unsupported argument '-msse2avx' to option 
'-Xassembler' 
check:4'0 
~~~
check:4'1?  
  possible intended match
   7:  (in-process) 
check:4'0 ~~
   8:  
"/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/bin/clang-19"
 "-cc1" "-triple" "powerpc64-unknown-linux-gnu" "-emit-obj" "-disable-free" 
"-clear-ast-before-backend" "-main-file-name" "msse2avx.c" "-mrelocation-model" 
"pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" 
"-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" 
"-funwind-tables=2" "-target-cpu" "ppc64" "-mfloat-abi" "hard" "-target-abi" 
"elfv1" "-debugger-tuning=gdb" 
"-fdebug-compilation-dir=/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/test/Driver"
 
"-fcoverage-compilation-dir=/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/tools/clang/test/Driver"
 "-resource-dir" 
"/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/lib/clang/19"
 "-internal-isystem" 
"/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/lib/clang/19/include/ppc_wrappers"
 "-internal-isystem" 
"/home/buildbots/llvm-external-buildbots/workers/ppc64be-clang-test-suite/clang-ppc64be-test-suite/build/lib/clang/19/include"
 "-internal-isystem" "/usr/local/include" "-internal-isystem" 

[clang] [llvm] [X86][MC,Driver] Support -msse2avx to encode SSE instruction with VEX prefix (PR #96860)

2024-07-15 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vla` 
running on `linaro-g3-04` while building `clang,llvm` at step 7 "ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/17/builds/869

Here is the relevant piece of the build log for the reference:
```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: Driver/msse2avx.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin/clang -### -c 
-march=x86-64 -Xassembler -msse2avx 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang/test/Driver/msse2avx.c
 2>&1 | /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin/FileCheck  
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang/test/Driver/msse2avx.c
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin/clang -### -c 
-march=x86-64 -Xassembler -msse2avx 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang/test/Driver/msse2avx.c
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang/test/Driver/msse2avx.c
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang/test/Driver/msse2avx.c:4:11:
 error: CHECK: expected string not found in input
// CHECK: "-msse2avx"
  ^
:1:1: note: scanning from here
clang version 19.0.0git (https://github.com/llvm/llvm-project.git 
bddab518db003f7c5ce9014e9ebd932fb7a85d2f)
^
:6:36: note: possible intended match here
clang: error: unsupported argument '-msse2avx' to option '-Xassembler'
   ^

Input file: 
Check file: 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang/test/Driver/msse2avx.c

-dump-input=help explains the following input dump.

Input was:
<<
   1: clang version 19.0.0git (https://github.com/llvm/llvm-project.git 
bddab518db003f7c5ce9014e9ebd932fb7a85d2f) 
check:4'0 
X~~~
 error: no match found
   2: Target: aarch64-unknown-linux-gnu 
check:4'0 ~~
   3: Thread model: posix 
check:4'0 
   4: InstalledDir: 
/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin 
check:4'0 
~~
   5: Build config: +assertions 
check:4'0 ~~
   6: clang: error: unsupported argument '-msse2avx' to option 
'-Xassembler' 
check:4'0 
~~~
check:4'1?  
  possible intended match
   7: clang: error: unsupported argument 'x86-64' to option '-march=' 
check:4'0 
   8:  (in-process) 
check:4'0 ~~
   9:  
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/bin/clang-19" "-cc1" 
"-triple" "aarch64-unknown-linux-gnu" "-emit-obj" "-disable-free" 
"-clear-ast-before-backend" "-main-file-name" "msse2avx.c" "-mrelocation-model" 
"pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=non-leaf" "-fmath-errno" 
"-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" 
"-funwind-tables=2" "-target-cpu" "generic" "-target-abi" "aapcs" 
"-debugger-tuning=gdb" 
"-fdebug-compilation-dir=/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/test/Driver"
 
"-fcoverage-compilation-dir=/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/tools/clang/test/Driver"
 "-resource-dir" 
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/lib/clang/19" 
"-internal-isystem" 
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/lib/clang/19/include" 
"-internal-isystem" "/usr/local/include" "-internal-isystem" 
"/usr/lib/gcc/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/include" 
"-internal-externc-isystem" "/usr/include/aarch64-linux-gnu" 
"-internal-externc-isystem" "/include" "-internal-externc-isystem" 
"/usr/include" "-ferror-limit" "19" "-fno-signed-char" "-fgnuc-version=4.2.1" 
"-fskip-odr-check-in-gmf" "-target-feature" "+outline-atomics" 
"-target-feature" "-fmv" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" 
"msse2avx.o" "-x" "c" 
"/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/clang/test/Driver/msse2avx.c"
 
check:4'0 

[clang] [llvm] [X86][MC,Driver] Support -msse2avx to encode SSE instruction with VEX prefix (PR #96860)

2024-07-15 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` 
running on `linaro-clang-aarch64-quick` while building `clang,llvm` at step 5 
"ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/65/builds/1438

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: Driver/msse2avx.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang 
-### -c -march=x86-64 -Xassembler -msse2avx 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Driver/msse2avx.c
 2>&1 | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck  
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Driver/msse2avx.c
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang -### -c 
-march=x86-64 -Xassembler -msse2avx 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Driver/msse2avx.c
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Driver/msse2avx.c
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Driver/msse2avx.c:4:11:
 error: CHECK: expected string not found in input
// CHECK: "-msse2avx"
  ^
:1:1: note: scanning from here
clang version 19.0.0git (https://github.com/llvm/llvm-project.git 
bddab518db003f7c5ce9014e9ebd932fb7a85d2f)
^
:6:36: note: possible intended match here
clang: error: unsupported argument '-msse2avx' to option '-Xassembler'
   ^

Input file: 
Check file: 
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Driver/msse2avx.c

-dump-input=help explains the following input dump.

Input was:
<<
   1: clang version 19.0.0git (https://github.com/llvm/llvm-project.git 
bddab518db003f7c5ce9014e9ebd932fb7a85d2f) 
check:4'0 
X~~~
 error: no match found
   2: Target: aarch64-unknown-linux-gnu 
check:4'0 ~~
   3: Thread model: posix 
check:4'0 
   4: InstalledDir: 
/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin 
check:4'0 

   5: Build config: +assertions 
check:4'0 ~~
   6: clang: error: unsupported argument '-msse2avx' to option 
'-Xassembler' 
check:4'0 
~~~
check:4'1?  
  possible intended match
   7: clang: error: unsupported argument 'x86-64' to option '-march=' 
check:4'0 
   8:  (in-process) 
check:4'0 ~~
   9:  
"/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/clang-19" "-cc1" 
"-triple" "aarch64-unknown-linux-gnu" "-emit-obj" "-disable-free" 
"-clear-ast-before-backend" "-main-file-name" "msse2avx.c" "-mrelocation-model" 
"pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=non-leaf" "-fmath-errno" 
"-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" 
"-funwind-tables=2" "-target-cpu" "generic" "-target-abi" "aapcs" 
"-debugger-tuning=gdb" 
"-fdebug-compilation-dir=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Driver"
 
"-fcoverage-compilation-dir=/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/tools/clang/test/Driver"
 "-resource-dir" 
"/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/19" 
"-internal-isystem" 
"/home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/lib/clang/19/include" 
"-internal-isystem" "/usr/local/include" "-internal-isystem" 
"/usr/lib/gcc/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/include" 
"-internal-externc-isystem" "/usr/include/aarch64-linux-gnu" 
"-internal-externc-isystem" "/include" "-internal-externc-isystem" 
"/usr/include" "-ferror-limit" "19" "-fno-signed-char" "-fgnuc-version=4.2.1" 
"-fskip-odr-check-in-gmf" "-target-feature" "+outline-atomics" 
"-target-feature" "-fmv" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" 
"msse2avx.o" "-x" "c" 
"/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/clang/test/Driver/msse2avx.c"
 
check:4'0 

[clang] [llvm] [X86][MC,Driver] Support -msse2avx to encode SSE instruction with VEX prefix (PR #96860)

2024-07-15 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running 
on `linaro-clang-armv8-quick` while building `clang,llvm` at step 5 "ninja 
check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/154/builds/1430

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: Driver/msse2avx.c' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang 
-### -c -march=x86-64 -Xassembler -msse2avx 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/Driver/msse2avx.c 
2>&1 | /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck  
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/Driver/msse2avx.c
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang -### -c 
-march=x86-64 -Xassembler -msse2avx 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/Driver/msse2avx.c
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/Driver/msse2avx.c
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/Driver/msse2avx.c:4:11:
 error: CHECK: expected string not found in input
// CHECK: "-msse2avx"
  ^
:1:1: note: scanning from here
clang version 19.0.0git (https://github.com/llvm/llvm-project.git 
bddab518db003f7c5ce9014e9ebd932fb7a85d2f)
^
:6:36: note: possible intended match here
clang: error: unsupported argument '-msse2avx' to option '-Xassembler'
   ^

Input file: 
Check file: 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/test/Driver/msse2avx.c

-dump-input=help explains the following input dump.

Input was:
<<
   1: clang version 19.0.0git (https://github.com/llvm/llvm-project.git 
bddab518db003f7c5ce9014e9ebd932fb7a85d2f) 
check:4'0 
X~~~
 error: no match found
   2: Target: armv8l-unknown-linux-gnueabihf 
check:4'0 ~~~
   3: Thread model: posix 
check:4'0 
   4: InstalledDir: 
/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin 
check:4'0 
~~
   5: Build config: +assertions 
check:4'0 ~~
   6: clang: error: unsupported argument '-msse2avx' to option 
'-Xassembler' 
check:4'0 
~~~
check:4'1?  
  possible intended match
   7: clang: error: unsupported argument 'x86-64' to option '-march=' 
check:4'0 
   8:  (in-process) 
check:4'0 ~~
   9:  
"/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/clang-19" "-cc1" 
"-triple" "armv6kz-unknown-linux-gnueabihf" "-emit-obj" "-disable-free" 
"-clear-ast-before-backend" "-main-file-name" "msse2avx.c" "-mrelocation-model" 
"pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" 
"-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-target-cpu" 
"arm1176jzf-s" "-target-feature" "+vfp2" "-target-feature" "+vfp2sp" 
"-target-feature" "-vfp3" "-target-feature" "-vfp3d16" "-target-feature" 
"-vfp3d16sp" "-target-feature" "-vfp3sp" "-target-feature" "-fp16" 
"-target-feature" "-vfp4" "-target-feature" "-vfp4d16" "-target-feature" 
"-vfp4d16sp" "-target-feature" "-vfp4sp" "-target-feature" "-fp-armv8" 
"-target-feature" "-fp-armv8d16" "-target-feature" "-fp-armv8d16sp" 
"-target-feature" "-fp-armv8sp" "-target-feature" "-fullfp16" "-target-feature" 
"+fp64" "-target-feature" "-d32" "-target-feature" "-neon" "-target-feature" 
"-sha2" "-target-feature" "-aes" "-target-feature" "-fp16fml" "-target-feature" 
"+strict-align" "-target-abi" "aapcs-linux" "-mfloat-abi" "hard" 
"-Wunaligned-access" "-debugger-tuning=gdb" 
"-fdebug-compilation-dir=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Driver"
 
"-fcoverage-compilation-dir=/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/test/Driver"
 "-resource-dir" 
"/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/19" 
"-internal-isystem" 
"/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/lib/clang/19/include" 
"-internal-isystem" "/usr/local/include" "-internal-isystem" 
"/usr/lib/gcc/arm-linux-gnueabihf/10/../../../../arm-linux-gnueabihf/include" 
"-internal-externc-isystem" "/usr/include/arm-linux-gnueabihf" 
"-internal-externc-isystem" "/include" "-internal-externc-isystem" 
"/usr/include" "-ferror-limit" "19" "-fno-signed-char" "-fgnuc-version=4.2.1" 

[clang] [PAC][clang] Enhance preprocessor ptrauth tests (PR #98862)

2024-07-15 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` 
running on `sanitizer-buildbot2` while building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/66/builds/1535

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:36:
 note: lsan feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:45:
 note: msan feature unavailable
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:60:
 note: linux feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:36:
 note: lsan feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:48:
 note: msan feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:60:
 note: linux feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 10001 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
TIMEOUT: SanitizerCommon-hwasan-x86_64-Linux :: Posix/fork_threaded.c (10001 of 
10001)
 TEST 'SanitizerCommon-hwasan-x86_64-Linux :: 
Posix/fork_threaded.c' FAILED 
Exit Code: -9
Timeout: Reached timeout of 900 seconds

Command Output (stderr):
--
RUN: at line 1: /b/sanitizer-x86_64-linux/build/build_default/./bin/clang  
-gline-tables-only -fsanitize=hwaddress -fuse-ld=lld 
-fsanitize-hwaddress-experimental-aliasing  -m64 -funwind-tables  
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
 && env HWASAN_OPTIONS=die_after_fork=0  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
+ /b/sanitizer-x86_64-linux/build/build_default/./bin/clang -gline-tables-only 
-fsanitize=hwaddress -fuse-ld=lld -fsanitize-hwaddress-experimental-aliasing 
-m64 -funwind-tables 
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
+ env HWASAN_OPTIONS=die_after_fork=0 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
==3178000==ERROR: HWAddressSanitizer: tag-mismatch on address 0x48140280 at 
pc 0x5bb1addeca87
READ of size 155 at 0x48140280 tags: 05/00 (ptr/mem) in thread T1

=
==3181993==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 568 byte(s) in 3 object(s) allocated from:
#0 0x5bb1adde11c8 in malloc 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:151:3
#1 0x5bb1adf3899e in operator new(unsigned long) llvm-link
#2 0x5bb1addd76b4 in _start 
(/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp+0xee6b4)

Direct leak of 204 byte(s) in 1 object(s) allocated from:
#0 0x5bb1adde0d0d in calloc 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:127:3
#1 0x5bb1adec14bd in llvm::safe_calloc(unsigned long, unsigned long) 
llvm-link
#2 0x5bb1addd76b4 in _start 
(/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp+0xee6b4)

Indirect leak of 1752 byte(s) in 42 object(s) allocated from:
#0 0x5bb1adde06c9 in aligned_alloc 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:58:3
#1 0x5bb1adecedc7 in llvm::allocate_buffer(unsigned long, unsigned long) 
llvm-link

Indirect leak of 780 byte(s) in 1 object(s) allocated from:
#0 0x5bb1adde0d0d in calloc 

[clang] [clang-tools-extra] [Clang][AST] Move NamespaceDecl bits to DeclContext (PR #98567)

2024-07-15 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` 
running on `sanitizer-buildbot2` while building `clang-tools-extra,clang` at 
step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/66/builds/1531

Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:36:
 note: lsan feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:45:
 note: msan feature unavailable
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:60:
 note: linux feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:36:
 note: lsan feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:48:
 note: msan feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/fuzzer/lit.cfg.py:60:
 note: linux feature available
llvm-lit: 
/b/sanitizer-x86_64-linux/build/llvm-project/llvm/utils/lit/lit/main.py:72: 
note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 10001 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
TIMEOUT: SanitizerCommon-hwasan-x86_64-Linux :: Posix/fork_threaded.c (10001 of 
10001)
 TEST 'SanitizerCommon-hwasan-x86_64-Linux :: 
Posix/fork_threaded.c' FAILED 
Exit Code: 137
Timeout: Reached timeout of 900 seconds

Command Output (stderr):
--
RUN: at line 1: /b/sanitizer-x86_64-linux/build/build_default/./bin/clang  
-gline-tables-only -fsanitize=hwaddress -fuse-ld=lld 
-fsanitize-hwaddress-experimental-aliasing  -m64 -funwind-tables  
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
 && env HWASAN_OPTIONS=die_after_fork=0  
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
+ /b/sanitizer-x86_64-linux/build/build_default/./bin/clang -gline-tables-only 
-fsanitize=hwaddress -fuse-ld=lld -fsanitize-hwaddress-experimental-aliasing 
-m64 -funwind-tables 
-I/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test -ldl -O0 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c
 -o 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
+ env HWASAN_OPTIONS=die_after_fork=0 
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp
==4105707==ERROR: HWAddressSanitizer: tag-mismatch on address 0x58140280 at 
pc 0x60d951759a87
READ of size 155 at 0x58140280 tags: 06/00 (ptr/mem) in thread T1

=
==4105764==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 224 byte(s) in 2 object(s) allocated from:
#0 0x60d95174e1c8 in malloc 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:151:3
#1 0x60d9518a599e in operator new(unsigned long) llvm-link
#2 0x60d9517446b4 in _start 
(/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp+0xee6b4)

Direct leak of 204 byte(s) in 1 object(s) allocated from:
#0 0x60d95174dd0d in calloc 
/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:127:3
#1 0x60d95182e4bd in llvm::safe_calloc(unsigned long, unsigned long) 
llvm-link
#2 0x60d9517446b4 in _start 
(/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.tmp+0xee6b4)

SUMMARY: HWAddressSanitizer: 428 byte(s) leaked in 3 allocation(s).
/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/test/sanitizer_common/hwasan-x86_64-Linux/Posix/Output/fork_threaded.c.script:
 line 1: 4105707 Killed  env HWASAN_OPTIONS=die_after_fork=0 

[clang] [llvm] Revert "AMDGPU: Move attributor into optimization pipeline (#83131)" and follow up commit "clang/AMDGPU: Defeat attribute optimization in attribute test" (PR #98851)

2024-07-15 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building 
`clang,llvm` at step 10 "Add check check-offload".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/73/builds/1842

Here is the relevant piece of the build log for the reference:
```
Step 10 (Add check check-offload) failure: test (failure)
 TEST 'libomptarget :: amdgcn-amd-amdhsa :: 
offloading/bug51982.c' FAILED 
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp-I 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test 
-I 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -L 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -L 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
  -nogpulib 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib
  -fopenmp-targets=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/offloading/bug51982.c
 -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51982.c.tmp
 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libcgpu-amdgpu.a
 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
 -O1 && 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51982.c.tmp
# executed command: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp -I 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test 
-I 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -L 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -L 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -nogpulib 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib
 -fopenmp-targets=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/offloading/bug51982.c
 -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51982.c.tmp
 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libcgpu-amdgpu.a
 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
 -O1
# .---command stderr
# | clang-linker-wrapper: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp:158:
 virtual bool llvm::AMDGPUResourceUsageAnalysis::runOnModule(llvm::Module&): 
Assertion `MF && "function must have been generated already"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ 
and include the crash backtrace.
# | Stack dump:
# | 0.  Program arguments: 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/clang-linker-wrapper
 --opt-level=O1 --host-triple=x86_64-unknown-linux-gnu 
--linker-path=/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/ld.lld
 -z relro --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -pie -dynamic-linker 
/lib64/ld-linux-x86-64.so.2 -o 
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/offloading/Output/bug51982.c.tmp
 /lib/x86_64-linux-gnu/Scrt1.o /lib/x86_64-linux-gnu/crti.o 
/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o 
-L/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib 
-L/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 

[clang] [llvm] Revert "AMDGPU: Move attributor into optimization pipeline (#83131)" and follow up commit "clang/AMDGPU: Defeat attribute optimization in attribute test" (PR #98851)

2024-07-15 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building 
`clang,llvm` at step 7 "Add check check-offload".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/30/builds/1975

Here is the relevant piece of the build log for the reference:
```
Step 7 (Add check check-offload) failure: test (failure)
 TEST 'libomptarget :: amdgcn-amd-amdhsa :: 
api/omp_dynamic_shared_memory_mixed_amdgpu.c' FAILED 
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp-I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -L 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
  -nogpulib 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib 
 -fopenmp-targets=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c
 -o 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/api/Output/omp_dynamic_shared_memory_mixed_amdgpu.c.tmp
 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
 -O1 -mllvm -openmp-opt-inline-device -I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/api
# executed command: 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./bin/clang 
-fopenmp -I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test -I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -L 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L /home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib -L 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -nogpulib 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 
-Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 -Wl,-rpath,/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib 
-fopenmp-targets=amdgcn-amd-amdhsa 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c
 -o 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/api/Output/omp_dynamic_shared_memory_mixed_amdgpu.c.tmp
 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
 -O1 -mllvm -openmp-opt-inline-device -I 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/offload/test/api
# .---command stderr
# | clang-linker-wrapper: 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.src/llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp:158:
 virtual bool llvm::AMDGPUResourceUsageAnalysis::runOnModule(llvm::Module&): 
Assertion `MF && "function must have been generated already"' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ 
and include the crash backtrace.
# | Stack dump:
# | 0.  Program arguments: 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/bin/clang-linker-wrapper
 --opt-level=O1 --host-triple=x86_64-unknown-linux-gnu -mllvm 
-openmp-opt-inline-device 
--linker-path=/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/bin/ld.lld
 -z relro --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -pie -dynamic-linker 
/lib64/ld-linux-x86-64.so.2 -o 
/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/api/Output/omp_dynamic_shared_memory_mixed_amdgpu.c.tmp
 /lib/x86_64-linux-gnu/Scrt1.o /lib/x86_64-linux-gnu/crti.o 
/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o 
-L/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload
 -L/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/./lib 
-L/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
 
-L/home/ompworker/bbot/openmp-offload-amdgpu-runtime/llvm.build/lib/clang/19/lib/x86_64-unknown-linux-gnu
 -L/usr/lib/gcc/x86_64-linux-gnu/9 

[clang] [clang] Refactor: Move CTAD code from SemaTemplate.cpp to a dedicated file, NFC (PR #98524)

2024-07-15 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux` 
running on `systemz-1` while building `clang` at step 6 "test-openmp".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/88/builds/912

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-openmp) failure: 1200 seconds without output running [b'ninja', 
b'-j 4', b'check-openmp'], attempting to kill
...
PASS: ompd-test :: openmp_examples/example_2.c (426 of 436)
PASS: ompd-test :: openmp_examples/example_4.c (427 of 436)
PASS: ompd-test :: openmp_examples/example_5.c (428 of 436)
PASS: ompd-test :: openmp_examples/example_task.c (429 of 436)
UNSUPPORTED: ompd-test :: openmp_examples/ompd_bt.c (430 of 436)
PASS: ompd-test :: openmp_examples/fibonacci.c (431 of 436)
UNSUPPORTED: ompd-test :: openmp_examples/ompd_parallel.c (432 of 436)
PASS: ompd-test :: openmp_examples/parallel.c (433 of 436)
PASS: ompd-test :: openmp_examples/ompd_icvs.c (434 of 436)
PASS: ompd-test :: openmp_examples/nested.c (435 of 436)
command timed out: 1200 seconds without output running [b'ninja', b'-j 4', 
b'check-openmp'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=1303.644353

```

https://github.com/llvm/llvm-project/pull/98524
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang][Interp] Implement dynamic memory allocation handling (PR #70306)

2024-07-14 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-x64-windows-msvc` 
running on `windows-gcebot2` while building `clang` at step 4 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/63/builds/509

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python 
../llvm-zorg/zorg/buildbot/builders/annotated/clang-windows.py ...' (failure)
...
[3902/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpFrame.cpp.obj
[3903/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ASTDumper.cpp.obj
[3904/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Source.cpp.obj
[3905/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Record.cpp.obj
[3906/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpState.cpp.obj
[3907/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpShared.cpp.obj
[3908/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\DynamicAllocator.cpp.obj
[3909/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Pointer.cpp.obj
[3910/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Decl.cpp.obj
[3911/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Interp.cpp.obj
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.obj 
C:\b\slave\clang-x64-windows-msvc\build\stage1\bin\clang-cl.exe  /nologo -TP 
-DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE 
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS 
-D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE 
-D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-IC:\b\slave\clang-x64-windows-msvc\build\stage2\tools\clang\lib\AST 
-IC:\b\slave\clang-x64-windows-msvc\llvm-project\clang\lib\AST 
-IC:\b\slave\clang-x64-windows-msvc\llvm-project\clang\include 
-IC:\b\slave\clang-x64-windows-msvc\build\stage2\tools\clang\include 
-IC:\b\slave\clang-x64-windows-msvc\build\stage2\include 
-IC:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include /DWIN32 
/D_WINDOWS   /Zc:inline /Zc:__cplusplus /Zi -gcodeview-ghash /Oi /Brepro 
/bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type 
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override 
-Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 
/Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes 
/Fotools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Interp.cpp.obj 
/Fdtools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ -c -- 
C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\lib\AST\Interp\Interp.cpp
C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\lib\AST\Interp\Interp.cpp(718,17):
 error: call to constructor of 'APInt' (aka 'llvm::APInt') is ambiguous
  718 | ElemQT, APInt(64, D->getNumElems(), false), nullptr,
  | ^ ~~~
C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/ADT/APInt.h(137,3):
 note: candidate constructor
  137 |   APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]);
  |   ^
C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/ADT/APInt.h(111,3):
 note: candidate constructor
  111 |   APInt(unsigned numBits, uint64_t val, bool isSigned = false)
  |   ^
1 error generated.
[3912/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\State.cpp.obj
[3913/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpBuiltin.cpp.obj
[3914/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\PrimType.cpp.obj
[3915/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\MemberPointer.cpp.obj
[3916/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Expr.cpp.obj
[3917/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Program.cpp.obj
[3918/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\NSAPI.cpp.obj
[3919/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\NestedNameSpecifier.cpp.obj
[3920/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ASTImporterLookupTable.cpp.obj
[3921/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\OpenACCClause.cpp.obj
[3922/6006] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ParentMap.cpp.obj
[3923/6006] Building CXX object 

[clang] [clang][Interp] Implement dynamic memory allocation handling (PR #70306)

2024-07-14 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows` 
running on `linaro-armv8-windows-msvc-05` while building `clang` at step 4 
"build".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/141/builds/764

Here is the relevant piece of the build log for the reference:
```
Step 4 (build) failure: build (failure)
...
367.241 [2480/10/3839] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Function.cpp.obj
371.519 [2479/10/3840] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Context.cpp.obj
372.145 [2478/10/3841] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\ByteCodeEmitter.cpp.obj
372.883 [2477/10/3842] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpBuiltin.cpp.obj
381.067 [2476/10/3843] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\EvaluationResult.cpp.obj
381.398 [2475/10/3844] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\DynamicAllocator.cpp.obj
381.518 [2474/10/3845] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpBlock.cpp.obj
383.165 [2473/10/3846] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Compiler.cpp.obj
387.951 [2472/10/3847] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpFrame.cpp.obj
388.579 [2471/10/3848] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Interp.cpp.obj
FAILED: tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.obj 
ccache C:\PROGRA~1\LLVM\bin\clang-cl.exe  /nologo -TP -DGTEST_HAS_RTTI=0 
-DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS 
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\clang\lib\AST 
-IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\clang\lib\AST 
-IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\clang\include 
-IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\clang\include 
-IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\include 
-IC:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\include 
/DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj 
/permissive- -Werror=unguarded-availability-new /W4  -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type 
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override 
-Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 
/Ob2 /DNDEBUG -MD  /EHs-c- /GR- -std:c++17 /showIncludes 
/Fotools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Interp.cpp.obj 
/Fdtools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ -c -- 
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\clang\lib\AST\Interp\Interp.cpp
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\clang\lib\AST\Interp\Interp.cpp(718,17):
 error: call to constructor of 'APInt' (aka 'llvm::APInt') is ambiguous
  718 | ElemQT, APInt(64, D->getNumElems(), false), nullptr,
  | ^ ~~~
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\include\llvm/ADT/APInt.h(111,3):
 note: candidate constructor
  111 |   APInt(unsigned numBits, uint64_t val, bool isSigned = false)
  |   ^
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\llvm\include\llvm/ADT/APInt.h(137,3):
 note: candidate constructor
  137 |   APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]);
  |   ^
1 error generated.
394.070 [2471/9/3849] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpStack.cpp.obj
394.183 [2471/8/3850] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\InterpState.cpp.obj
395.085 [2471/7/3851] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\PrimType.cpp.obj
396.192 [2471/6/3852] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Pointer.cpp.obj
400.254 [2471/5/3853] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Program.cpp.obj
403.797 [2471/4/3854] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\Disasm.cpp.obj
404.875 [2471/3/3855] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\Interp\EvalEmitter.cpp.obj
406.878 [2471/2/3856] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ASTContext.cpp.obj
409.010 [2471/1/3857] Building CXX object 
tools\clang\lib\AST\CMakeFiles\obj.clangAST.dir\ExprConstant.cpp.obj
ninja: build stopped: subcommand failed.

```


[clang] [llvm] AMDGPU: Move attributor into optimization pipeline (PR #83131)

2024-07-13 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-win-x-aarch64` 
running on `as-builder-2` while building `clang,llvm` at step 9 
"test-check-clang".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/193/builds/940

Here is the relevant piece of the build log for the reference:
```
Step 9 (test-check-clang) failure: Test just built components for check-clang 
completed (failure)
 TEST 'Clang :: CodeGenHIP/default-attributes.hip' FAILED 

Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe -cc1 -internal-isystem 
C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\19\include -nostdsysteminc 
-triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device -emit-llvm -o 
- 
C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip
 | c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe 
-check-prefix=OPTNONE 
C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\19\include' -nostdsysteminc 
-triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device -emit-llvm -o - 
'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip'
# executed command: 
'c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe' 
-check-prefix=OPTNONE 
'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip'
# RUN: at line 5
c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe -cc1 -internal-isystem 
C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\19\include -nostdsysteminc 
-O3 -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device -emit-llvm 
-o - 
C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip
 | c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe -check-prefix=OPT 
C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\19\include' -nostdsysteminc 
-O3 -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device -emit-llvm -o 
- 
'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip'
# executed command: 
'c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe' -check-prefix=OPT 
'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip'
# .---command stderr
# | 
C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip:55:9:
 error: OPT: expected string not found in input
# | // OPT: attributes #[[ATTR0]] = { mustprogress nofree norecurse nosync 
nounwind willreturn memory(none) "amdgpu-no-agpr" "amdgpu-no-completion-action" 
"amdgpu-no-default-queue" "amdgpu-no-dispatch-id" "amdgpu-no-dispatch-ptr" 
"amdgpu-no-heap-ptr" "amdgpu-no-hostcall-ptr" "amdgpu-no-implicitarg-ptr" 
"amdgpu-no-lds-kernel-id" "amdgpu-no-multigrid-sync-arg" "amdgpu-no-queue-ptr" 
"amdgpu-no-workgroup-id-x" "amdgpu-no-workgroup-id-y" 
"amdgpu-no-workgroup-id-z" "amdgpu-no-workitem-id-x" "amdgpu-no-workitem-id-y" 
"amdgpu-no-workitem-id-z" "amdgpu-waves-per-eu"="4,10" 
"no-trapping-math"="true" "stack-protector-buffer-size"="8" 
"uniform-work-group-size"="false" }
# | ^
# | :19:10: note: scanning from here
# |  ret void
# |  ^
# | :19:10: note: with "ATTR0" equal to "0"
# |  ret void
# |  ^
# | 
# | Input file: 
# | Check file: 
C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\CodeGenHIP\default-attributes.hip
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<
# | .
# | .
# | .
# |14: } 
# |15:  
# |16: ; Function Attrs: mustprogress nofree norecurse nosync 
nounwind willreturn memory(none) 
# |17: define dso_local amdgpu_kernel void @_Z6kernelv() 
local_unnamed_addr #1 { 
# |18: entry: 
# |19:  ret void 
# | check:55'0  X error: no match found
# | check:55'1with "ATTR0" equal to "0"
# |20: } 
# | check:55'0 ~~
# |21:  
# | check:55'0 ~
# |22: attributes #0 = { mustprogress nofree norecurse nosync 
nounwind willreturn memory(none) "no-trapping-math"="true" 
"stack-protector-buffer-size"="8" } 
# | check:55'0 
~~
# |23: attributes #1 = { mustprogress nofree norecurse nosync 
nounwind willreturn memory(none) 

[clang] [llvm] AMDGPU: Move attributor into optimization pipeline (PR #83131)

2024-07-13 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-arm64-windows-msvc` 
running on `linaro-armv8-windows-msvc-04` while building `clang,llvm` at step 5 
"ninja check 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/161/builds/575

Here is the relevant piece of the build log for the reference:
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
 TEST 'Clang :: CodeGenHIP/default-attributes.hip' FAILED 

Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\clang.exe -cc1 
-internal-isystem 
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\lib\clang\19\include 
-nostdsysteminc -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device
 -emit-llvm -o - 
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip
 | c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe 
-check-prefix=OPTNONE 
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip
# executed command: 
'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\clang.exe' -cc1 
-internal-isystem 
'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\lib\clang\19\include'
 -nostdsysteminc -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device 
-emit-llvm -o - 
'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip'
# executed command: 
'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe' 
-check-prefix=OPTNONE 
'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip'
# RUN: at line 5
c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\clang.exe -cc1 
-internal-isystem 
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\lib\clang\19\include 
-nostdsysteminc -O3 -triple amdgcn-amd-amdhsa -x hip -fno-ident 
-fcuda-is-device -emit-llvm -o - 
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip
 | c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe 
-check-prefix=OPT 
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip
# executed command: 
'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\clang.exe' -cc1 
-internal-isystem 
'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\lib\clang\19\include'
 -nostdsysteminc -O3 -triple amdgcn-amd-amdhsa -x hip -fno-ident 
-fcuda-is-device -emit-llvm -o - 
'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip'
# executed command: 
'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe' 
-check-prefix=OPT 
'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip'
# .---command stderr
# | 
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip:55:9:
 error: OPT: expected string not found in input
# | // OPT: attributes #[[ATTR0]] = { mustprogress nofree norecurse nosync 
nounwind willreturn memory(none) "amdgpu-no-agpr" "amdgpu-no-completion-action" 
"amdgpu-no-default-queue" "amdgpu-no-dispatch-id" "amdgpu-no-dispatch-ptr" 
"amdgpu-no-heap-ptr" "amdgpu-no-hostcall-ptr" "amdgpu-no-implicitarg-ptr" 
"amdgpu-no-lds-kernel-id" "amdgpu-no-multigrid-sync-arg" "amdgpu-no-queue-ptr" 
"amdgpu-no-workgroup-id-x" "amdgpu-no-workgroup-id-y" 
"amdgpu-no-workgroup-id-z" "amdgpu-no-workitem-id-x" "amdgpu-no-workitem-id-y" 
"amdgpu-no-workitem-id-z" "amdgpu-waves-per-eu"="4,10" 
"no-trapping-math"="true" "stack-protector-buffer-size"="8" 
"uniform-work-group-size"="false" }
# | ^
# | :19:10: note: scanning from here
# |  ret void
# |  ^
# | :19:10: note: with "ATTR0" equal to "0"
# |  ret void
# |  ^
# | 
# | Input file: 
# | Check file: 
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\clang\test\CodeGenHIP\default-attributes.hip
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<
# | .
# | .
# | .
# |14: } 
# |15:  
# |16: ; Function Attrs: mustprogress nofree norecurse nosync 
nounwind willreturn memory(none) 
# |17: define dso_local amdgpu_kernel void @_Z6kernelv() 
local_unnamed_addr #1 { 
# |18: entry: 
# |19:  ret void 
# | check:55'0  X error: no match found
# | check:55'1with "ATTR0" equal to "0"
# |20: } 
# | check:55'0 ~~
# |21:  
# | check:55'0 ~
# |22: attributes #0 = { mustprogress nofree norecurse nosync 
nounwind willreturn memory(none) "no-trapping-math"="true" 
"stack-protector-buffer-size"="8" } 
# | check:55'0 

[clang] [llvm] AMDGPU: Move attributor into optimization pipeline (PR #83131)

2024-07-13 Thread LLVM Continuous Integration via cfe-commits

llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-darwin` 
running on `doug-worker-3` while building `clang,llvm` at step 6 
"test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/23/builds/966

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
 TEST 'Clang :: CodeGenHIP/default-attributes.hip' FAILED 

Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang 
-cc1 -internal-isystem 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/lib/clang/19/include 
-nostdsysteminc -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device
 -emit-llvm -o - 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
 | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck 
-check-prefix=OPTNONE 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -cc1 
-internal-isystem 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/lib/clang/19/include 
-nostdsysteminc -triple amdgcn-amd-amdhsa -x hip -fno-ident -fcuda-is-device 
-emit-llvm -o - 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck 
-check-prefix=OPTNONE 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
RUN: at line 5: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang 
-cc1 -internal-isystem 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/lib/clang/19/include 
-nostdsysteminc -O3 -triple amdgcn-amd-amdhsa -x hip -fno-ident 
-fcuda-is-device -emit-llvm -o - 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
 | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck 
-check-prefix=OPT 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -cc1 
-internal-isystem 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/lib/clang/19/include 
-nostdsysteminc -O3 -triple amdgcn-amd-amdhsa -x hip -fno-ident 
-fcuda-is-device -emit-llvm -o - 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck 
-check-prefix=OPT 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip:55:9:
 error: OPT: expected string not found in input
// OPT: attributes #[[ATTR0]] = { mustprogress nofree norecurse nosync nounwind 
willreturn memory(none) "amdgpu-no-agpr" "amdgpu-no-completion-action" 
"amdgpu-no-default-queue" "amdgpu-no-dispatch-id" "amdgpu-no-dispatch-ptr" 
"amdgpu-no-heap-ptr" "amdgpu-no-hostcall-ptr" "amdgpu-no-implicitarg-ptr" 
"amdgpu-no-lds-kernel-id" "amdgpu-no-multigrid-sync-arg" "amdgpu-no-queue-ptr" 
"amdgpu-no-workgroup-id-x" "amdgpu-no-workgroup-id-y" 
"amdgpu-no-workgroup-id-z" "amdgpu-no-workitem-id-x" "amdgpu-no-workitem-id-y" 
"amdgpu-no-workitem-id-z" "amdgpu-waves-per-eu"="4,10" 
"no-trapping-math"="true" "stack-protector-buffer-size"="8" 
"uniform-work-group-size"="false" }
^
:19:10: note: scanning from here
 ret void
 ^
:19:10: note: with "ATTR0" equal to "0"
 ret void
 ^

Input file: 
Check file: 
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/CodeGenHIP/default-attributes.hip

-dump-input=help explains the following input dump.

Input was:
<<
.
.
.
   14: } 
   15:  
   16: ; Function Attrs: mustprogress nofree norecurse nosync nounwind 
willreturn memory(none) 
   17: define dso_local amdgpu_kernel void @_Z6kernelv() 
local_unnamed_addr #1 { 
   18: entry: 
   19:  ret void 
check:55'0  X error: no match found
check:55'1with "ATTR0" equal to "0"
   20: } 
check:55'0 ~~
   21:  
check:55'0 ~
   22: attributes #0 = { mustprogress nofree norecurse nosync nounwind 
willreturn memory(none) "no-trapping-math"="true" 
"stack-protector-buffer-size"="8" } 
check:55'0 
~~
   23: attributes #1 = { mustprogress nofree norecurse nosync nounwind 
willreturn memory(none) "amdgpu-flat-work-group-size"="1,1024" 
"no-trapping-math"="true" 

  1   2   3   >