]> granicus.if.org Git - llvm/commit
[llvm-symbolizer] Fix section index at the end of a section
authorFangrui Song <maskray@google.com>
Sat, 20 Apr 2019 13:00:09 +0000 (13:00 +0000)
committerFangrui Song <maskray@google.com>
Sat, 20 Apr 2019 13:00:09 +0000 (13:00 +0000)
commita6744317c98a5dae0af64c0070703bdf2f8acf65
tree44680913a7fcb981daeac77eceeb476ba17529e6
parentf925f4a471b6913d41f25ce266efe5530d139f95
[llvm-symbolizer] Fix section index at the end of a section

This is very minor issue. The returned section index is only used by
DWARFDebugLine as an llvm::upper_bound input and the use case shouldn't
cause any behavioral change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358814 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp