[clang] [libcxxabi] [clang][ItaniumMangle] Mangle friend function templates with a constr… (PR #110247)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 30 00:37:42 PDT 2024


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,libcxxabi` at step 6 "Add check check-clang".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: CodeGenCXX/mangle-concept.cpp' FAILED ********************
Exit Code: 2

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/20/include -nostdsysteminc -verify -std=c++20 -emit-llvm -triple x86_64-unknown-linux-gnu -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp -fclang-abi-compat=latest | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.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/20/include -nostdsysteminc -verify -std=c++20 -emit-llvm -triple x86_64-unknown-linux-gnu -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp -fclang-abi-compat=latest
error: 'expected-error' diagnostics seen but not expected: 
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 39: redefinition of 'h'
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 38: default template argument not permitted on a friend template
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 45: redefinition of 'j'
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 44: default template argument not permitted on a friend template
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 51: redefinition of 'l'
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 50: default template argument not permitted on a friend template
error: 'expected-note' diagnostics seen but not expected: 
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 55: in instantiation of template class 'test2::A<bool>' requested here
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 39: previous definition is here
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 45: previous definition is here
  File /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp Line 51: previous definition is here
10 errors generated.
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/test/CodeGenCXX/mangle-concept.cpp

--

********************


```

</details>

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


More information about the cfe-commits mailing list