[PATCH] D137916: [cmake] Disable RTTI for tests

Trass3r via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 13 15:12:46 PST 2022


Trass3r added inline comments.


================
Comment at: third-party/unittest/CMakeLists.txt:34
 
-set(LLVM_REQUIRES_RTTI 1)
+set(LLVM_REQUIRES_RTTI 0)
 add_definitions( -DGTEST_HAS_RTTI=0 )
----------------
I think this is a remnant of https://github.com/llvm/llvm-project/commit/889c1e7d80958377f1e2871d5fea7ddd785130b6#diff-b89c70e6ef87ab9d76345be2bb5e3a8857ba575b94963e07e91659f9fc61dcaa and could even be completely removed?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137916



More information about the llvm-commits mailing list