[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)
commitdd0e83355583898d19357abc5f17a9a94f057d74
treed6e4109fabf1483f9e895cb93cdce4da9df89462
parentd89de3f7f4e54dc56e1d2c41435dc4ec970914d6
[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.

llvm-svn: 358814
llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp