Skip to content

Commit e8a62b8

Browse files
committed
DLLExport OptTable and GenericOptTable
1 parent 0fe0968 commit e8a62b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/include/llvm/Option/OptTable.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "llvm/ADT/StringRef.h"
1515
#include "llvm/ADT/StringTable.h"
1616
#include "llvm/Option/OptSpecifier.h"
17+
#include "llvm/Support/Compiler.h"
1718
#include "llvm/Support/StringSaver.h"
1819
#include <cassert>
1920
#include <string>
@@ -50,7 +51,7 @@ class Visibility {
5051
/// be needed at runtime; the OptTable class maintains enough information to
5152
/// parse command lines without instantiating Options, while letting other
5253
/// parts of the driver still use Option instances where convenient.
53-
class OptTable {
54+
class LLVM_ABI OptTable {
5455
public:
5556
/// Entry for a single option instance in the option data table.
5657
struct Info {
@@ -423,7 +424,7 @@ class OptTable {
423424
};
424425

425426
/// Specialization of OptTable
426-
class GenericOptTable : public OptTable {
427+
class LLVM_ABI GenericOptTable : public OptTable {
427428
protected:
428429
GenericOptTable(const StringTable &StrTable,
429430
ArrayRef<StringTable::Offset> PrefixesTable,

0 commit comments

Comments
 (0)