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 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,7 +32,7 @@ class COFFImportFileScanner {
3132public:
3233 COFFImportFileScanner (std::set<std::string> &ImportedDynamicLibraries)
3334 : ImportedDynamicLibraries(ImportedDynamicLibraries) {}
34- Expected<bool > operator ()(object::Archive &A, MemoryBufferRef MemberBuf,
35+ LLVM_ABI Expected<bool > operator ()(object::Archive &A, MemoryBufferRef MemberBuf,
3536 size_t Index) const ;
3637
3738private:
Original file line number Diff line number Diff line change 88#ifndef LLVM_FRONTEND_DIRECTIVE_SPELLING_H
99#define LLVM_FRONTEND_DIRECTIVE_SPELLING_H
1010
11+ #include " llvm/Support/Compiler.h"
1112#include " llvm/ADT/StringRef.h"
1213#include " llvm/ADT/iterator_range.h"
1314
@@ -33,7 +34,7 @@ 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 *>, unsigned Version);
3738
3839} // namespace llvm::directive
3940
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 @@ -97,13 +97,13 @@ class ResourceRange {
9797
9898 // Returns a reference to the first RangeInfo that overlaps with
9999 // [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 ;
101101
102102 // 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 ;
104104
105105 // Removes all entries of the ResourceRange
106- void clear ();
106+ LLVM_ABI void clear ();
107107
108108 // Insert the required (sub-)intervals such that the interval of [a;b] =
109109 // [Info.LowerBound, Info.UpperBound] is covered and points to a valid
@@ -131,7 +131,7 @@ class ResourceRange {
131131 // Returns a reference to the first RangeInfo that overlaps with
132132 // [Info.LowerBound;Info.UpperBound], or, std::nullopt if there is no overlap
133133 // (equivalent to getOverlapping)
134- std::optional<const RangeInfo *> insert (const RangeInfo &Info);
134+ LLVM_ABI std::optional<const RangeInfo *> insert (const RangeInfo &Info);
135135};
136136
137137} // 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