OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29369e8
)
Fix unused variable warning. NFCI.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Thu, 13 Sep 2018 10:54:23 +0000
(10:54 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Thu, 13 Sep 2018 10:54:23 +0000
(10:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342128
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
patch
|
blob
|
history
diff --git
a/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
b/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
index
3b39bf5
..
84b6c4b
100644
(file)
--- a/
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
+++ b/
lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
@@
-166,7
+166,7
@@
const DWARFUnitIndex::Entry *
DWARFUnitIndex::getFromOffset(uint32_t Offset) const {
if (OffsetLookup.empty()) {
for (uint32_t i = 0; i != Header.NumBuckets; ++i)
- if (
const auto &Contribs =
Rows[i].Contributions)
+ if (Rows[i].Contributions)
OffsetLookup.push_back(&Rows[i]);
llvm::sort(OffsetLookup, [&](Entry *E1, Entry *E2) {
return E1->Contributions[InfoColumn].Offset <