[PATCH] D137916: [cmake] Disable RTTI for tests
    Trass3r via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Nov 13 15:08:31 PST 2022
    
    
  
Trass3r created this revision.
Herald added a project: All.
Trass3r requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D137916
Files:
  third-party/unittest/CMakeLists.txt
Index: third-party/unittest/CMakeLists.txt
===================================================================
--- third-party/unittest/CMakeLists.txt
+++ third-party/unittest/CMakeLists.txt
@@ -31,7 +31,7 @@
   add_definitions("-Wno-covered-switch-default")
 endif()
 
-set(LLVM_REQUIRES_RTTI 1)
+set(LLVM_REQUIRES_RTTI 0)
 add_definitions( -DGTEST_HAS_RTTI=0 )
 
 if (HAVE_LIBPTHREAD)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137916.475021.patch
Type: text/x-patch
Size: 387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221113/fa638552/attachment.bin>
    
    
More information about the llvm-commits
mailing list