[PATCH] D152405: [WIP][clang] Add experimental option to omit the RTTI component from the vtable when -fno-rtti is used

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 13 15:55:08 PDT 2023


phosek accepted this revision.
phosek added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: clang/include/clang/Basic/LangOptions.def:453
 
+LANGOPT(OmitRTTIComponent, 1, 0,
+        "Use an ABI-incompatible v-table layout that omits the RTTI component")
----------------
I'd also rename this to `OmitVTableRTTI` for consistency.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152405



More information about the cfe-commits mailing list