File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 13
13
#include " llvm/ADT/DenseMap.h"
14
14
#include " llvm/ADT/DenseSet.h"
15
15
#include " llvm/ADT/MapVector.h"
16
+ #include " llvm/ADT/SetVector.h"
16
17
#include " llvm/ADT/SmallVector.h"
17
18
#include " llvm/ADT/StringRef.h"
18
19
#include " llvm/ADT/StringSet.h"
@@ -92,7 +93,7 @@ class SymbolPatterns {
92
93
public:
93
94
// GlobPattern can also match literals,
94
95
// but we prefer the O(1) lookup of DenseSet.
95
- llvm::DenseSet <llvm::CachedHashStringRef> literals;
96
+ llvm::SetVector <llvm::CachedHashStringRef> literals;
96
97
std::vector<llvm::GlobPattern> globs;
97
98
98
99
bool empty () const { return literals.empty () && globs.empty (); }
Original file line number Diff line number Diff line change 23
23
;; from the final symbol table.
24
24
25
25
; FULLLTO-SYMS: SYMBOL TABLE:
26
- ; FULLLTO-SYMS: g F __TEXT,__text _same_module_caller
27
26
; FULLLTO-SYMS: g F __TEXT,__text _refs_foo
27
+ ; FULLLTO-SYMS: g F __TEXT,__text _same_module_caller
28
28
; FULLLTO-SYMS: *UND* dyld_stub_binder
29
29
; FULLLTO-SYMS-EMPTY:
30
30
47
47
; THINLTO-REFS-FOO: define dso_local void @refs_foo()
48
48
49
49
; THINLTO-SYMS: l F __TEXT,__text .hidden _foo
50
- ; THINLTO-SYMS: g F __TEXT,__text _same_module_caller
51
50
; THINLTO-SYMS: g F __TEXT,__text _refs_foo
51
+ ; THINLTO-SYMS: g F __TEXT,__text _same_module_caller
52
52
53
53
;--- foo.ll
54
54
You can’t perform that action at this time.
0 commit comments