File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ class InstrumentationMap {
8484 FunctionAddressMap FunctionAddresses;
8585 FunctionAddressReverseMap FunctionIds;
8686
87- friend Expected<InstrumentationMap> loadInstrumentationMap (StringRef);
87+ LLVM_ABI_FRIEND friend Expected<InstrumentationMap> loadInstrumentationMap (StringRef);
8888
8989public:
9090 // / Provides a raw accessor to the unordered map of function addresses.
Original file line number Diff line number Diff line change 1212#ifndef LLVM_XRAY_TRACE_H
1313#define LLVM_XRAY_TRACE_H
1414
15- #include " llvm/Support/Compiler.h"
1615#include < cstdint>
1716#include < vector>
1817
1918#include " llvm/ADT/StringRef.h"
19+ #include " llvm/Support/Compiler.h"
2020#include " llvm/Support/DataExtractor.h"
2121#include " llvm/Support/Error.h"
2222#include " llvm/XRay/XRayRecord.h"
@@ -51,7 +51,7 @@ class Trace {
5151
5252 typedef std::vector<XRayRecord>::const_iterator citerator;
5353
54- friend Expected<Trace> loadTrace (const DataExtractor &, bool );
54+ LLVM_ABI_FRIEND friend Expected<Trace> loadTrace (const DataExtractor &, bool );
5555
5656public:
5757 using size_type = RecordVector::size_type;
You can’t perform that action at this time.
0 commit comments