Skip to content

[ubsan] Remove UBSAN_CAN_USE_CXXABI #121082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

vitalybuka
Copy link
Collaborator

@vitalybuka vitalybuka commented Dec 25, 2024

It's should be enough to provide weak implementation.

Fixes solaris and android linking after #121006.

Created using spr 1.3.4
@vitalybuka vitalybuka added the skip-precommit-approval PR for CI feedback, not intended for review label Dec 25, 2024
@llvmbot
Copy link
Member

llvmbot commented Dec 25, 2024

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Vitaly Buka (vitalybuka)

Changes

It's should be enough to provide weak implementation.


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

4 Files Affected:

  • (modified) compiler-rt/lib/ubsan/CMakeLists.txt (-3)
  • (modified) compiler-rt/lib/ubsan/ubsan_handlers.cpp (+2-11)
  • (modified) llvm/utils/gn/secondary/compiler-rt/lib/lsan/BUILD.gn (-2)
  • (modified) llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn (-3)
diff --git a/compiler-rt/lib/ubsan/CMakeLists.txt b/compiler-rt/lib/ubsan/CMakeLists.txt
index 5d45a53d02dbd3..a6c98c40ec7720 100644
--- a/compiler-rt/lib/ubsan/CMakeLists.txt
+++ b/compiler-rt/lib/ubsan/CMakeLists.txt
@@ -43,18 +43,15 @@ include_directories(..)
 set(UBSAN_CFLAGS ${SANITIZER_COMMON_CFLAGS})
 append_list_if(MSVC /Zl UBSAN_CFLAGS)
 append_rtti_flag(OFF UBSAN_CFLAGS)
-append_list_if(SANITIZER_CAN_USE_CXXABI -DUBSAN_CAN_USE_CXXABI UBSAN_CFLAGS)
 
 # Too many existing bugs, needs cleanup.
 append_list_if(COMPILER_RT_HAS_WNO_FORMAT -Wno-format UBSAN_CFLAGS)
 
 set(UBSAN_STANDALONE_CFLAGS ${SANITIZER_COMMON_CFLAGS})
 append_rtti_flag(OFF UBSAN_STANDALONE_CFLAGS)
-append_list_if(SANITIZER_CAN_USE_CXXABI -DUBSAN_CAN_USE_CXXABI UBSAN_STANDALONE_CFLAGS)
 
 set(UBSAN_CXXFLAGS ${SANITIZER_COMMON_CFLAGS})
 append_rtti_flag(ON UBSAN_CXXFLAGS)
-append_list_if(SANITIZER_CAN_USE_CXXABI -DUBSAN_CAN_USE_CXXABI UBSAN_CXXFLAGS)
 
 # Silence warnings in system headers with MSVC.
 if(NOT CLANG_CL)
diff --git a/compiler-rt/lib/ubsan/ubsan_handlers.cpp b/compiler-rt/lib/ubsan/ubsan_handlers.cpp
index ac7001c74afb50..ace910444d82aa 100644
--- a/compiler-rt/lib/ubsan/ubsan_handlers.cpp
+++ b/compiler-rt/lib/ubsan/ubsan_handlers.cpp
@@ -899,10 +899,7 @@ static void handleCFIBadIcall(CFICheckFailData *Data, ValueHandle Function,
 
 namespace __ubsan {
 
-#ifdef UBSAN_CAN_USE_CXXABI
-
 #ifdef _WIN32
-
 extern "C" void __ubsan_handle_cfi_bad_type_default(CFICheckFailData *Data,
                                                     ValueHandle Vtable,
                                                     bool ValidVtable,
@@ -911,18 +908,12 @@ extern "C" void __ubsan_handle_cfi_bad_type_default(CFICheckFailData *Data,
 }
 
 WIN_WEAK_ALIAS(__ubsan_handle_cfi_bad_type, __ubsan_handle_cfi_bad_type_default)
-#else
-SANITIZER_WEAK_ATTRIBUTE
 #endif
+SANITIZER_WEAK_ATTRIBUTE
 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
-                                 bool ValidVtable, ReportOptions Opts);
-
-#else
-void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
-                                 bool ValidVtable, ReportOptions Opts) {
+                                 bool ValidVtable, ReportOptions Opts){
   Die();
 }
-#endif
 
 }  // namespace __ubsan
 
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/lsan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/lsan/BUILD.gn
index 77b251030c671b..2ac06c4e6c75fa 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/lsan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/lsan/BUILD.gn
@@ -1,7 +1,6 @@
 source_set("common_sources") {
   configs -= [ "//llvm/utils/gn/build:llvm_code" ]
   configs += [ "//llvm/utils/gn/build:crt_code" ]
-  defines = [ "UBSAN_CAN_USE_CXXABI" ]
   deps = [
     "//compiler-rt/lib/interception:sources",
     "//compiler-rt/lib/sanitizer_common:sources",
@@ -18,7 +17,6 @@ source_set("common_sources") {
 source_set("sources") {
   configs -= [ "//llvm/utils/gn/build:llvm_code" ]
   configs += [ "//llvm/utils/gn/build:crt_code" ]
-  defines = [ "UBSAN_CAN_USE_CXXABI" ]
   deps = [
     "//compiler-rt/lib/interception:sources",
     "//compiler-rt/lib/sanitizer_common:sources",
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
index d3b4a406f8b50d..c331193ca94c96 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
@@ -27,7 +27,6 @@ gen_version_script("version_script") {
 source_set("sources") {
   configs -= [ "//llvm/utils/gn/build:llvm_code" ]
   configs += [ "//llvm/utils/gn/build:crt_code" ]
-  defines = [ "UBSAN_CAN_USE_CXXABI" ]
   deps = [
     "//compiler-rt/lib/interception:sources",
     "//compiler-rt/lib/sanitizer_common:sources",
@@ -65,7 +64,6 @@ source_set("standalone_sources") {
   configs -= [ "//llvm/utils/gn/build:llvm_code" ]
   configs -= [ "//llvm/utils/gn/build:no_rtti" ]
   configs += [ "//llvm/utils/gn/build:crt_code" ]
-  defines = [ "UBSAN_CAN_USE_CXXABI" ]
   sources = [
     "ubsan_diag_standalone.cpp",
     "ubsan_init_standalone.cpp",
@@ -77,7 +75,6 @@ source_set("cxx_sources") {
   configs -= [ "//llvm/utils/gn/build:llvm_code" ]
   configs -= [ "//llvm/utils/gn/build:no_rtti" ]
   configs += [ "//llvm/utils/gn/build:crt_code" ]
-  defines = [ "UBSAN_CAN_USE_CXXABI" ]
   sources = [
     "ubsan_handlers_cxx.cpp",
     "ubsan_handlers_cxx.h",

Copy link

github-actions bot commented Dec 25, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

Created using spr 1.3.4
@vitalybuka vitalybuka merged commit 1de228f into main Dec 25, 2024
5 of 8 checks passed
@vitalybuka vitalybuka deleted the users/vitalybuka/spr/ubsan-remove-ubsan_can_use_cxxabi branch December 25, 2024 04:21
@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 25, 2024

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

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)
...

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler-rt:sanitizer compiler-rt:ubsan Undefined behavior sanitizer compiler-rt skip-precommit-approval PR for CI feedback, not intended for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants