[clang] [llvm] [ThinLTO] Support dead RTTI data elimination under -fno-split-lto-unit (PR #126336)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 11:04:24 PST 2025
================
@@ -0,0 +1,25 @@
+#include "llvm/Support/LibCXXABI.h"
+
+namespace llvm {
+
+std::unique_ptr<CXXABI> CXXABI::Create(Triple &TT) {
+ if (TT.getOS() == Triple::Linux)
+ return std::make_unique<Itanium>();
----------------
teresajohnson wrote:
This is overly restrictive, however, since Linux is not the only user of the Itanium C++ ABI. See my suggestion in another comment reply about passing this down from clang.
https://github.com/llvm/llvm-project/pull/126336
More information about the llvm-commits
mailing list