vedantk·2년 전·discussPossibly not in the default c++ language mode, but check out -fwhole-program-vtables. It can be a useful option in cases where all relevant inheritance relationships are known at compile time.https://reviews.llvm.org/D16821
https://reviews.llvm.org/D16821