From f17875cbb6fed99f961f3bf5c734c39cce195049 Mon Sep 17 00:00:00 2001 From: Andrew Rogers Date: Wed, 19 Feb 2025 16:33:38 -0800 Subject: [PATCH] DLLExport FileOutputBuffer --- llvm/include/llvm/Support/FileOutputBuffer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/FileOutputBuffer.h b/llvm/include/llvm/Support/FileOutputBuffer.h index d4b73522115db..aaed4996f9d39 100644 --- a/llvm/include/llvm/Support/FileOutputBuffer.h +++ b/llvm/include/llvm/Support/FileOutputBuffer.h @@ -14,6 +14,7 @@ #define LLVM_SUPPORT_FILEOUTPUTBUFFER_H #include "llvm/ADT/StringRef.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" #include "llvm/Support/Error.h" @@ -25,7 +26,7 @@ namespace llvm { /// If the FileOutputBuffer is committed, the target file's content will become /// the buffer content at the time of the commit. If the FileOutputBuffer is /// not committed, the file will be deleted in the FileOutputBuffer destructor. -class FileOutputBuffer { +class LLVM_ABI FileOutputBuffer { public: enum { /// Set the 'x' bit on the resulting file.