Author: Konstantin Varlamov
Date: 2023-04-03T21:42:35-07:00
New Revision: c163d43e220792637d2274407c925ba2c99bd66c

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

LOG: [libc++] Mark a test relying on `typeid` as unsupported without RTTI.

(cherry picked from commit f50cad2c55dfab4ff3da010a64119b4a93522289)

Added: 
    

Modified: 
    libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp 
b/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp
index 07bbdbb8bc2f0..cfdda9a9b99d4 100644
--- a/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp
+++ b/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp
@@ -6,6 +6,9 @@
 //
 
//===----------------------------------------------------------------------===//
 
+// This test relies on `typeid` and thus requires `-frtti`.
+// UNSUPPORTED: no-rtti
+
 // Make sure that we don't get ODR violations with __exception_guard when
 // linking together TUs compiled with 
diff erent values of -f[no-]exceptions.
 


        
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to