File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ struct ParserCallbacks {
119
119
IdentificationBit (IdentificationBit), ModuleBit(ModuleBit) {}
120
120
121
121
// Calls the ctor.
122
- friend Expected<BitcodeFileContents>
122
+ LLVM_ABI_FRIEND friend Expected<BitcodeFileContents>
123
123
getBitcodeFileContents (MemoryBufferRef Buffer);
124
124
125
125
Expected<std::unique_ptr<Module>>
Original file line number Diff line number Diff line change 44
44
#include " llvm/IR/Value.h"
45
45
#include " llvm/IR/ValueSymbolTable.h"
46
46
#include " llvm/Support/Casting.h"
47
+ #include " llvm/Support/Compiler.h"
47
48
#include " llvm/Support/ErrorHandling.h"
48
49
#include " llvm/Support/MathExtras.h"
49
50
#include " llvm/Support/ModRef.h"
@@ -63,7 +64,7 @@ static cl::opt<bool> AllowIncompleteIR(
63
64
" Allow incomplete IR on a best effort basis (references to unknown "
64
65
" metadata will be dropped)" ));
65
66
66
- extern llvm::cl::opt<bool > UseNewDbgInfoFormat;
67
+ LLVM_ABI extern llvm::cl::opt<bool > UseNewDbgInfoFormat;
67
68
68
69
static std::string getTypeString (Type *T) {
69
70
std::string Result;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ static cl::opt<bool> ExpandConstantExprs(
101
101
cl::desc (
102
102
" Expand constant expressions to instructions for testing purposes" ));
103
103
104
- extern cl::opt<bool > UseNewDbgInfoFormat;
104
+ LLVM_ABI extern cl::opt<bool > UseNewDbgInfoFormat;
105
105
106
106
namespace {
107
107
Original file line number Diff line number Diff line change 66
66
#include " llvm/Support/AtomicOrdering.h"
67
67
#include " llvm/Support/Casting.h"
68
68
#include " llvm/Support/CommandLine.h"
69
+ #include " llvm/Support/Compiler.h"
69
70
#include " llvm/Support/Endian.h"
70
71
#include " llvm/Support/Error.h"
71
72
#include " llvm/Support/ErrorHandling.h"
@@ -120,7 +121,7 @@ namespace llvm {
120
121
extern FunctionSummary::ForceSummaryHotnessType ForceSummaryEdgesCold;
121
122
}
122
123
123
- extern llvm::cl::opt<bool > UseNewDbgInfoFormat;
124
+ LLVM_ABI extern llvm::cl::opt<bool > UseNewDbgInfoFormat;
124
125
125
126
namespace {
126
127
You can’t perform that action at this time.
0 commit comments