[libcxx-commits] [libcxx] f50cad2 - [libc++] Mark a test relying on `typeid` as unsupported without RTTI.

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 17 11:21:32 PST 2023


Author: Konstantin Varlamov
Date: 2023-02-17T11:21:18-08:00
New Revision: f50cad2c55dfab4ff3da010a64119b4a93522289

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

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

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.
 


        


More information about the libcxx-commits mailing list