diff options
| author | Paul Robinson <paul.robinson@sony.com> | 2018-08-02 19:29:38 +0000 |
|---|---|---|
| committer | Paul Robinson <paul.robinson@sony.com> | 2018-08-02 19:29:38 +0000 |
| commit | 96545db374c2c495d9f791324601b5ae2514b46f (patch) | |
| tree | 74fa5abf190d86cdcd87b47379a6753d0859c117 /llvm/tools/llvm-dwarfdump | |
| parent | 90f3249ce280289170f6b16691caae3da5b6c834 (diff) | |
| download | bcm5719-llvm-96545db374c2c495d9f791324601b5ae2514b46f.tar.gz bcm5719-llvm-96545db374c2c495d9f791324601b5ae2514b46f.zip | |
[DebugInfo/DWARF] Remove redundant iterator type. NFC
llvm-svn: 338759
Diffstat (limited to 'llvm/tools/llvm-dwarfdump')
| -rw-r--r-- | llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index d75f3390609..e3fa5c3d741 100644 --- a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -282,7 +282,8 @@ using HandlerFn = std::function<bool(ObjectFile &, DWARFContext &DICtx, Twine, /// Print only DIEs that have a certain name. static void filterByName(const StringSet<> &Names, - DWARFContext::cu_iterator_range CUs, raw_ostream &OS) { + DWARFContext::unit_iterator_range CUs, + raw_ostream &OS) { for (const auto &CU : CUs) for (const auto &Entry : CU->dies()) { DWARFDie Die = {CU.get(), &Entry}; @@ -306,7 +307,6 @@ static void filterByName(const StringSet<> &Names, Die.dump(OS, 0, getDumpOpts()); } } - } static void getDies(DWARFContext &DICtx, const AppleAcceleratorTable &Accel, |

