summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-dwarfdump
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2018-08-02 19:29:38 +0000
committerPaul Robinson <paul.robinson@sony.com>2018-08-02 19:29:38 +0000
commit96545db374c2c495d9f791324601b5ae2514b46f (patch)
tree74fa5abf190d86cdcd87b47379a6753d0859c117 /llvm/tools/llvm-dwarfdump
parent90f3249ce280289170f6b16691caae3da5b6c834 (diff)
downloadbcm5719-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.cpp4
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,
OpenPOWER on IntegriCloud