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 1313#ifndef LLVM_EXECUTIONENGINE_ORC_COFF_H
1414#define LLVM_EXECUTIONENGINE_ORC_COFF_H
1515
16+ #include " llvm/Support/Compiler.h"
1617#include " llvm/Support/Error.h"
1718#include " llvm/Support/MemoryBuffer.h"
1819
@@ -31,8 +32,8 @@ class COFFImportFileScanner {
3132public:
3233 COFFImportFileScanner (std::set<std::string> &ImportedDynamicLibraries)
3334 : 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 ;
3637
3738private:
3839 std::set<std::string> &ImportedDynamicLibraries;
Original file line number Diff line number Diff line change 1010
1111#include " llvm/ADT/StringRef.h"
1212#include " llvm/ADT/iterator_range.h"
13+ #include " llvm/Support/Compiler.h"
1314
1415#include < limits>
1516#include < tuple>
@@ -33,7 +34,8 @@ struct Spelling {
3334 VersionRange Versions;
3435};
3536
36- StringRef FindName (llvm::iterator_range<const Spelling *>, unsigned Version);
37+ LLVM_ABI StringRef FindName (llvm::iterator_range<const Spelling *>,
38+ unsigned Version);
3739
3840} // namespace llvm::directive
3941
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ enum ProfileInstrKind {
6363};
6464
6565// Default filename used for profile generation.
66- std::string getDefaultProfileGenName ();
66+ LLVM_ABI std::string getDefaultProfileGenName ();
6767} // end namespace llvm::driver
6868
6969#endif
Original file line number Diff line number Diff line change @@ -99,13 +99,14 @@ class ResourceRange {
9999
100100 // Returns a reference to the first RangeInfo that overlaps with
101101 // [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 ;
103104
104105 // 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 ;
106107
107108 // Removes all entries of the ResourceRange
108- void clear ();
109+ LLVM_ABI void clear ();
109110
110111 // Insert the required (sub-)intervals such that the interval of [a;b] =
111112 // [Info.LowerBound, Info.UpperBound] is covered and points to a valid
@@ -133,7 +134,7 @@ class ResourceRange {
133134 // Returns a reference to the first RangeInfo that overlaps with
134135 // [Info.LowerBound;Info.UpperBound], or, std::nullopt if there is no overlap
135136 // (equivalent to getOverlapping)
136- std::optional<const RangeInfo *> insert (const RangeInfo &Info);
137+ LLVM_ABI std::optional<const RangeInfo *> insert (const RangeInfo &Info);
137138};
138139
139140} // namespace rootsig
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ struct BasicSubtargetSubTypeKV {
214214 }
215215};
216216
217- std::optional<llvm::StringMap<bool >>
217+ LLVM_ABI std::optional<llvm::StringMap<bool >>
218218getCPUDefaultTargetFeatures (StringRef CPU,
219219 ArrayRef<BasicSubtargetSubTypeKV> ProcDesc,
220220 ArrayRef<BasicSubtargetFeatureKV> ProcFeatures);
You can’t perform that action at this time.
0 commit comments