================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to