[compiler-rt] 9305e3b - [NFC] Update the test compiler to use clangxx.

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 8 13:58:34 PST 2021


Author: Snehasish Kumar
Date: 2021-11-08T13:57:32-08:00
New Revision: 9305e3b6d7e721ba5d09d971df4f65bf892f58ad

URL: https://github.com/llvm/llvm-project/commit/9305e3b6d7e721ba5d09d971df4f65bf892f58ad
DIFF: https://github.com/llvm/llvm-project/commit/9305e3b6d7e721ba5d09d971df4f65bf892f58ad.diff

LOG: [NFC] Update the test compiler to use clangxx.

This ensures that the c++ test gets the right CXXFLAGS if required.

Added: 
    

Modified: 
    compiler-rt/test/memprof/TestCases/interface_test.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/memprof/TestCases/interface_test.cpp b/compiler-rt/test/memprof/TestCases/interface_test.cpp
index 451ab57b8f643..aa3b24fa4c640 100644
--- a/compiler-rt/test/memprof/TestCases/interface_test.cpp
+++ b/compiler-rt/test/memprof/TestCases/interface_test.cpp
@@ -1,8 +1,8 @@
 // Check that user may include MemProf interface header.
 // Also check that interfaces declared in the sanitizer's allocator_interface
 // are defined for MemProf.
-// RUN: %clang_memprof %s -o %t -DMEMPROF && %run %t
-// RUN: %clang_memprof -x c %s -o %t -DMEMPROF && %run %t
+// RUN: %clangxx_memprof %s -o %t -DMEMPROF && %run %t
+// RUN: %clangxx_memprof -x c %s -o %t -DMEMPROF && %run %t
 // RUN: %clang %s -pie -o %t && %run %t
 // RUN: %clang -x c %s -pie -o %t && %run %t
 #include <sanitizer/allocator_interface.h>


        


More information about the llvm-commits mailing list