File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 15
15
; FOUND_VARS: DW_AT_name ("bb")
16
16
; FOUND_VARS: DW_AT_name ("cA")
17
17
18
+ ; ALL_ENTRIES: Apple accelerator entries with name = "bb":
19
+ ; ALL_ENTRIES: DW_AT_name ("bb")
18
20
; ALL_ENTRIES: Apple accelerator entries with name = "cA":
19
21
; ALL_ENTRIES: DW_AT_name ("cA")
20
22
; ALL_ENTRIES: Apple accelerator entries with name = "some_other_hash":
21
23
; ALL_ENTRIES: DW_AT_name ("some_other_hash")
22
24
; ALL_ENTRIES: Apple accelerator entries with name = "int":
23
25
; ALL_ENTRIES: DW_AT_name ("int")
24
- ; ALL_ENTRIES: Apple accelerator entries with name = "bb":
25
- ; ALL_ENTRIES: DW_AT_name ("bb")
26
26
27
27
@bb = global i32 200 , align 4 , !dbg !0
28
28
@cA = global i32 10 , align 4 , !dbg !5
Original file line number Diff line number Diff line change 11
11
// ===----------------------------------------------------------------------===//
12
12
13
13
#include " llvm-dwarfdump.h"
14
+ #include " llvm/ADT/MapVector.h"
14
15
#include " llvm/ADT/STLExtras.h"
15
16
#include " llvm/ADT/SmallSet.h"
16
17
#include " llvm/ADT/StringSet.h"
@@ -463,7 +464,7 @@ static void filterByAccelName(
463
464
static void findAllApple (
464
465
DWARFContext &DICtx, raw_ostream &OS,
465
466
std::function<StringRef(uint64_t RegNum, bool IsEH)> GetNameForDWARFReg) {
466
- StringMap< llvm::SmallSet<DWARFDie, 2 >> NameToDies;
467
+ MapVector<StringRef, llvm::SmallSet<DWARFDie, 2 >> NameToDies;
467
468
468
469
auto PushDIEs = [&](const AppleAcceleratorTable &Accel) {
469
470
for (const auto &Entry : Accel.entries ()) {
You can’t perform that action at this time.
0 commit comments