File tree Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Expand file tree Collapse file tree 5 files changed +13
-9
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,8 +32,8 @@ 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
- size_t Index) const ;
35
+ LLVM_ABI Expected<bool >
36
+ operator ()(object::Archive &A, MemoryBufferRef MemberBuf, size_t Index) const ;
36
37
37
38
private:
38
39
std::set<std::string> &ImportedDynamicLibraries;
Original file line number Diff line number Diff line change 10
10
11
11
#include " llvm/ADT/StringRef.h"
12
12
#include " llvm/ADT/iterator_range.h"
13
+ #include " llvm/Support/Compiler.h"
13
14
14
15
#include < limits>
15
16
#include < tuple>
@@ -33,7 +34,8 @@ 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 *>,
38
+ unsigned Version);
37
39
38
40
} // namespace llvm::directive
39
41
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 @@ -99,13 +99,14 @@ class ResourceRange {
99
99
100
100
// Returns a reference to the first RangeInfo that overlaps with
101
101
// [Info.LowerBound;Info.UpperBound], or, std::nullopt if there is no overlap
102
- std::optional<const RangeInfo *> getOverlapping (const RangeInfo &Info) const ;
102
+ LLVM_ABI std::optional<const RangeInfo *>
103
+ getOverlapping (const RangeInfo &Info) const ;
103
104
104
105
// Return the mapped RangeInfo at X or nullptr if no mapping exists
105
- const RangeInfo *lookup (uint32_t X) const ;
106
+ LLVM_ABI const RangeInfo *lookup (uint32_t X) const ;
106
107
107
108
// Removes all entries of the ResourceRange
108
- void clear ();
109
+ LLVM_ABI void clear ();
109
110
110
111
// Insert the required (sub-)intervals such that the interval of [a;b] =
111
112
// [Info.LowerBound, Info.UpperBound] is covered and points to a valid
@@ -133,7 +134,7 @@ class ResourceRange {
133
134
// Returns a reference to the first RangeInfo that overlaps with
134
135
// [Info.LowerBound;Info.UpperBound], or, std::nullopt if there is no overlap
135
136
// (equivalent to getOverlapping)
136
- std::optional<const RangeInfo *> insert (const RangeInfo &Info);
137
+ LLVM_ABI std::optional<const RangeInfo *> insert (const RangeInfo &Info);
137
138
};
138
139
139
140
} // 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