[PATCH] D147861: [compiler-rt] [test] [ubsan] Build .cpp files with %clangxx

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 10 14:04:16 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG758318bee351: [compiler-rt] [test] [ubsan] Build .cpp files with %clangxx (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147861/new/

https://reviews.llvm.org/D147861

Files:
  compiler-rt/test/ubsan/TestCases/Pointer/align-assume-ignorelist.cpp


Index: compiler-rt/test/ubsan/TestCases/Pointer/align-assume-ignorelist.cpp
===================================================================
--- compiler-rt/test/ubsan/TestCases/Pointer/align-assume-ignorelist.cpp
+++ compiler-rt/test/ubsan/TestCases/Pointer/align-assume-ignorelist.cpp
@@ -1,9 +1,9 @@
-// RUN: %clang -fsanitize=alignment -fno-sanitize-recover=alignment                           -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s --implicit-check-not=" assumption "
+// RUN: %clangxx -fsanitize=alignment -fno-sanitize-recover=alignment                           -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s --implicit-check-not=" assumption "
 
 // RUN: rm -f %tmp
 // RUN: echo "[alignment]" >> %tmp
 // RUN: echo "fun:main" >> %tmp
-// RUN: %clang -fsanitize=alignment -fno-sanitize-recover=alignment -fsanitize-ignorelist=%tmp -O0 %s -o %t && %run %t 2>&1
+// RUN: %clangxx -fsanitize=alignment -fno-sanitize-recover=alignment -fsanitize-ignorelist=%tmp -O0 %s -o %t && %run %t 2>&1
 
 #include <stdlib.h>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147861.512255.patch
Type: text/x-patch
Size: 1034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230410/316fa653/attachment.bin>


More information about the llvm-commits mailing list