File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 13
13
#ifndef LLVM_EXECUTIONENGINE_ORC_COFF_H
14
14
#define LLVM_EXECUTIONENGINE_ORC_COFF_H
15
15
16
+ #include " llvm/Support/Compiler.h"
16
17
#include " llvm/Support/Error.h"
17
18
#include " llvm/Support/MemoryBuffer.h"
18
19
@@ -31,7 +32,7 @@ class COFFImportFileScanner {
31
32
public:
32
33
COFFImportFileScanner (std::set<std::string> &ImportedDynamicLibraries)
33
34
: ImportedDynamicLibraries(ImportedDynamicLibraries) {}
34
- Expected<bool > operator ()(object::Archive &A, MemoryBufferRef MemberBuf,
35
+ LLVM_ABI Expected<bool > operator ()(object::Archive &A, MemoryBufferRef MemberBuf,
35
36
size_t Index) const ;
36
37
37
38
private:
Original file line number Diff line number Diff line change 8
8
#ifndef LLVM_FRONTEND_DIRECTIVE_SPELLING_H
9
9
#define LLVM_FRONTEND_DIRECTIVE_SPELLING_H
10
10
11
+ #include " llvm/Support/Compiler.h"
11
12
#include " llvm/ADT/StringRef.h"
12
13
#include " llvm/ADT/iterator_range.h"
13
14
@@ -33,7 +34,7 @@ struct Spelling {
33
34
VersionRange Versions;
34
35
};
35
36
36
- StringRef FindName (llvm::iterator_range<const Spelling *>, unsigned Version);
37
+ LLVM_ABI StringRef FindName (llvm::iterator_range<const Spelling *>, unsigned Version);
37
38
38
39
} // namespace llvm::directive
39
40
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ enum ProfileInstrKind {
63
63
};
64
64
65
65
// Default filename used for profile generation.
66
- std::string getDefaultProfileGenName ();
66
+ LLVM_ABI std::string getDefaultProfileGenName ();
67
67
} // end namespace llvm::driver
68
68
69
69
#endif
Original file line number Diff line number Diff line change @@ -97,13 +97,13 @@ class ResourceRange {
97
97
98
98
// Returns a reference to the first RangeInfo that overlaps with
99
99
// [Info.LowerBound;Info.UpperBound], or, std::nullopt if there is no overlap
100
- std::optional<const RangeInfo *> getOverlapping (const RangeInfo &Info) const ;
100
+ LLVM_ABI std::optional<const RangeInfo *> getOverlapping (const RangeInfo &Info) const ;
101
101
102
102
// Return the mapped RangeInfo at X or nullptr if no mapping exists
103
- const RangeInfo *lookup (uint32_t X) const ;
103
+ LLVM_ABI const RangeInfo *lookup (uint32_t X) const ;
104
104
105
105
// Removes all entries of the ResourceRange
106
- void clear ();
106
+ LLVM_ABI void clear ();
107
107
108
108
// Insert the required (sub-)intervals such that the interval of [a;b] =
109
109
// [Info.LowerBound, Info.UpperBound] is covered and points to a valid
@@ -131,7 +131,7 @@ class ResourceRange {
131
131
// Returns a reference to the first RangeInfo that overlaps with
132
132
// [Info.LowerBound;Info.UpperBound], or, std::nullopt if there is no overlap
133
133
// (equivalent to getOverlapping)
134
- std::optional<const RangeInfo *> insert (const RangeInfo &Info);
134
+ LLVM_ABI std::optional<const RangeInfo *> insert (const RangeInfo &Info);
135
135
};
136
136
137
137
} // namespace rootsig
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ struct BasicSubtargetSubTypeKV {
214
214
}
215
215
};
216
216
217
- std::optional<llvm::StringMap<bool >>
217
+ LLVM_ABI std::optional<llvm::StringMap<bool >>
218
218
getCPUDefaultTargetFeatures (StringRef CPU,
219
219
ArrayRef<BasicSubtargetSubTypeKV> ProcDesc,
220
220
ArrayRef<BasicSubtargetFeatureKV> ProcFeatures);
You can’t perform that action at this time.
0 commit comments