[PATCH] D155659: [WPD][LLD] Add option to validate RTTI is enabled on all native types and prevent devirtualization on types with native RTTI

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 17 19:34:38 PDT 2023


MaskRay added inline comments.


================
Comment at: lld/ELF/Config.h:473
+  // during LTO.
+  bool ltoAllVtablesHaveTypeInfos;
 
----------------
We need `ltoAllVtablesHaveTypeInfos = false` in `reset`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155659



More information about the llvm-commits mailing list