projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e0dd0
)
Correct the end-of-vector check in GetCompactUnwindInfoForFunction().
author
Jason Molenda
<jmolenda@apple.com>
Thu, 18 Jun 2015 21:15:58 +0000
(21:15 +0000)
committer
Jason Molenda
<jmolenda@apple.com>
Thu, 18 Jun 2015 21:15:58 +0000
(21:15 +0000)
Problem noticed by Todd Fiala.
llvm-svn: 240060
lldb/source/Symbol/CompactUnwindInfo.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Symbol/CompactUnwindInfo.cpp
b/lldb/source/Symbol/CompactUnwindInfo.cpp
index
dac1287
..
025c138
100644
(file)
--- a/
lldb/source/Symbol/CompactUnwindInfo.cpp
+++ b/
lldb/source/Symbol/CompactUnwindInfo.cpp
@@
-525,7
+525,7
@@
CompactUnwindInfo::GetCompactUnwindInfoForFunction (Target &target, Address addr
}
auto next_it = it + 1;
- if (next_it != m_indexes.
begin
())
+ if (next_it != m_indexes.
end
())
{
// initialize the function offset end range to be the start of the
// next index offset. If we find an entry which is at the end of