Skip to content

Commit b951322

Browse files
committed
DLLExport dlltoolDriverMain and libDriverMain
1 parent 19bad2a commit b951322

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
#ifndef LLVM_TOOLDRIVERS_LLVM_DLLTOOL_DLLTOOLDRIVER_H
1515
#define LLVM_TOOLDRIVERS_LLVM_DLLTOOL_DLLTOOLDRIVER_H
1616

17+
#include "llvm/Support/Compiler.h"
18+
1719
namespace llvm {
1820
template <typename T> class ArrayRef;
1921

20-
int dlltoolDriverMain(ArrayRef<const char *> ArgsArr);
22+
LLVM_ABI int dlltoolDriverMain(ArrayRef<const char *> ArgsArr);
2123
} // namespace llvm
2224

2325
#endif

llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
#ifndef LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
1515
#define LLVM_TOOLDRIVERS_LLVM_LIB_LIBDRIVER_H
1616

17+
#include "llvm/Support/Compiler.h"
18+
1719
namespace llvm {
1820
template <typename T> class ArrayRef;
1921

20-
int libDriverMain(ArrayRef<const char *> ARgs);
22+
LLVM_ABI int libDriverMain(ArrayRef<const char *> ARgs);
2123

2224
}
2325

0 commit comments

Comments
 (0)