[compiler-rt] [llvm] [ubsan] Remove UBSAN_CAN_USE_CXXABI (PR #121082)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 21:00:07 PST 2024


llvm-ci wrote:

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

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

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

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py ...' (failure)
...

1 warning(s) in tests
[125/128] Running the cfi regression tests
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\gnuwin32\bin
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
-- Testing: 128 tests, 16 workers --
Testing: 
FAIL: cfi-standalone-lld-thinlto-x86_64 :: multiple-inheritance.cpp (1 of 128)
******************** TEST 'cfi-standalone-lld-thinlto-x86_64 :: multiple-inheritance.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe      -fuse-ld=lld -flto=thin  -fsanitize=cfi  -fvisibility=hidden -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1 C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 2
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1'
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 3
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1 x 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1' x
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 5
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe      -fuse-ld=lld -flto=thin  -fsanitize=cfi  -fvisibility=hidden -DB32 -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2 C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -DB32 -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 6
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2'
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 7
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2 x 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2' x
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 9
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe      -fuse-ld=lld -flto=thin  -fsanitize=cfi  -fvisibility=hidden -DB64 -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3 C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -DB64 -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 10
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3'
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 11
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3 x 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3' x
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
Step 8 (stage 1 check) failure: stage 1 check (failure)
...

1 warning(s) in tests
[125/128] Running the cfi regression tests
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\gnuwin32\bin
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
-- Testing: 128 tests, 16 workers --
Testing: 
FAIL: cfi-standalone-lld-thinlto-x86_64 :: multiple-inheritance.cpp (1 of 128)
******************** TEST 'cfi-standalone-lld-thinlto-x86_64 :: multiple-inheritance.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe      -fuse-ld=lld -flto=thin  -fsanitize=cfi  -fvisibility=hidden -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1 C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 2
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1'
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 3
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1 x 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp1' x
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 5
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe      -fuse-ld=lld -flto=thin  -fsanitize=cfi  -fvisibility=hidden -DB32 -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2 C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -DB32 -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 6
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2'
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 7
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2 x 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp2' x
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 9
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe      -fuse-ld=lld -flto=thin  -fsanitize=cfi  -fvisibility=hidden -DB64 -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3 C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -fuse-ld=lld -flto=thin -fsanitize=cfi -fvisibility=hidden -DB64 -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 10
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3'
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'
# RUN: at line 11
not KillTheDoctor  C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3 x 2>&1 | FileCheck --check-prefix=CFI C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp
# executed command: not KillTheDoctor 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\cfi\Standalone-lld-thinlto-x86_64\Output\multiple-inheritance.cpp.tmp3' x
# executed command: FileCheck --check-prefix=CFI 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\cfi\multiple-inheritance.cpp'

```

</details>

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


More information about the llvm-commits mailing list