[llvm] DLLExport Triple (PR #127852)

Andrew Rogers via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 11:12:50 PST 2025


https://github.com/andrurogerz created https://github.com/llvm/llvm-project/pull/127852

None

>From 658b96cba9368d07a4c08490d1f600500f9f8ace Mon Sep 17 00:00:00 2001
From: Andrew Rogers <andrurogerz at gmail.com>
Date: Wed, 19 Feb 2025 10:49:50 -0800
Subject: [PATCH] DLLExport Triple

---
 llvm/include/llvm/TargetParser/Triple.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/include/llvm/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h
index 09c0d223d9b4d..0ec1cbd956ad0 100644
--- a/llvm/include/llvm/TargetParser/Triple.h
+++ b/llvm/include/llvm/TargetParser/Triple.h
@@ -10,6 +10,7 @@
 #define LLVM_TARGETPARSER_TRIPLE_H
 
 #include "llvm/ADT/Twine.h"
+#include "llvm/Support/Compiler.h"
 #include "llvm/Support/VersionTuple.h"
 
 // Some system headers or GCC predefined macros conflict with identifiers in
@@ -41,7 +42,7 @@ namespace llvm {
 ///
 /// See autoconf/config.guess for a glimpse into what configuration names
 /// look like in practice.
-class Triple {
+class LLVM_ABI Triple {
 public:
   enum ArchType {
     UnknownArch,



More information about the llvm-commits mailing list