Skip to content

Commit f733e3a

Browse files
committed
DLLExport llvm::dbgs
1 parent 8337d01 commit f733e3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/include/llvm/Support/Debug.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#ifndef LLVM_SUPPORT_DEBUG_H
2929
#define LLVM_SUPPORT_DEBUG_H
3030

31+
#include "llvm/Support/Compiler.h"
32+
3133
namespace llvm {
3234

3335
class raw_ostream;
@@ -94,7 +96,7 @@ extern bool EnableDebugBuffering;
9496
/// dbgs() - This returns a reference to a raw_ostream for debugging
9597
/// messages. If debugging is disabled it returns errs(). Use it
9698
/// like: dbgs() << "foo" << "bar";
97-
raw_ostream &dbgs();
99+
LLVM_ABI raw_ostream &dbgs();
98100

99101
// DEBUG macro - This macro should be used by passes to emit debug information.
100102
// If the '-debug' option is specified on the commandline, and if this is a

0 commit comments

Comments
 (0)