[all-commits] [llvm/llvm-project] afd639: [LLDB][NativePDB] Minor fix ParseInlinesite.
Zequan Wu via All-commits
all-commits at lists.llvm.org
Wed Apr 27 10:56:19 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: afd639071bb32baae4ca390b3f0f5ab700d83222
https://github.com/llvm/llvm-project/commit/afd639071bb32baae4ca390b3f0f5ab700d83222
Author: Zequan Wu <zequanwu at google.com>
Date: 2022-04-27 (Wed, 27 Apr 2022)
Changed paths:
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
Log Message:
-----------
[LLDB][NativePDB] Minor fix ParseInlinesite.
- Don't reset cur_line_offset to llvm::None when we don't have next_line_offset, because we may need to reuse it in new range after a code end.
- Don't use CombineConsecutiveEntriesWithEqualData for inline_site_sp->ranges, because that will combine consecutive entries with same data in the vector regardless of the entry's range. Originally, I thought that it only combine consecutive entries if adjacent entries' ranges are adjoining or intersecting with each other.
More information about the All-commits
mailing list