File tree 1 file changed +3
-2
lines changed
llvm/include/llvm/ExecutionEngine/JITLink
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 15
15
16
16
#include " llvm/ADT/DenseMap.h"
17
17
#include " llvm/ADT/DenseSet.h"
18
+ #include " llvm/ADT/MapVector.h"
18
19
#include " llvm/ADT/FunctionExtras.h"
19
20
#include " llvm/ADT/STLExtras.h"
20
21
#include " llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h"
@@ -847,7 +848,7 @@ class SectionRange {
847
848
848
849
class LinkGraph {
849
850
private:
850
- using SectionMap = DenseMap <StringRef, std::unique_ptr<Section>>;
851
+ using SectionMap = MapVector <StringRef, std::unique_ptr<Section>>;
851
852
using ExternalSymbolMap = StringMap<Symbol *>;
852
853
using AbsoluteSymbolSet = DenseSet<Symbol *>;
853
854
using BlockSet = DenseSet<Block *>;
@@ -1543,7 +1544,7 @@ class LinkGraph {
1543
1544
unsigned PointerSize;
1544
1545
llvm::endianness Endianness;
1545
1546
GetEdgeKindNameFunction GetEdgeKindName = nullptr ;
1546
- DenseMap <StringRef, std::unique_ptr<Section>> Sections;
1547
+ MapVector <StringRef, std::unique_ptr<Section>> Sections;
1547
1548
ExternalSymbolMap ExternalSymbols;
1548
1549
AbsoluteSymbolSet AbsoluteSymbols;
1549
1550
orc::shared::AllocActions AAs;
You can’t perform that action at this time.
0 commit comments