Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Clang also supports virtual function elimination with -fvirtual-function-elimination, which AFAIK currently requires full LTO [0]. Normally, the virtual functions can't be removed because the vtable is referencing them. It's very helpful in cutting down on bloat from our own abstractions.

[0] https://clang.llvm.org/docs/ClangCommandLineReference.html#c...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: