Skip to content

Commit f17875c

Browse files
committed
DLLExport FileOutputBuffer
1 parent 19bad2a commit f17875c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/Support/FileOutputBuffer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#define LLVM_SUPPORT_FILEOUTPUTBUFFER_H
1515

1616
#include "llvm/ADT/StringRef.h"
17+
#include "llvm/Support/Compiler.h"
1718
#include "llvm/Support/DataTypes.h"
1819
#include "llvm/Support/Error.h"
1920

@@ -25,7 +26,7 @@ namespace llvm {
2526
/// If the FileOutputBuffer is committed, the target file's content will become
2627
/// the buffer content at the time of the commit. If the FileOutputBuffer is
2728
/// not committed, the file will be deleted in the FileOutputBuffer destructor.
28-
class FileOutputBuffer {
29+
class LLVM_ABI FileOutputBuffer {
2930
public:
3031
enum {
3132
/// Set the 'x' bit on the resulting file.

0 commit comments

Comments
 (0)