https://github.com/clayborg approved this pull request.
https://github.com/llvm/llvm-project/pull/102680
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -424,19 +439,13 @@ static void convertFunctionLineTable(OutputAggregator
&Out, CUInfo &CUI,
auto LastLE = FI.OptLineTable->last();
if (LastLE && LastLE->File == FileIdx && LastLE->Line == Row.Line)
continue;
+
// Only push a row if it isn't an end seque
@@ -321,7 +321,10 @@ static void convertFunctionLineTable(OutputAggregator
&Out, CUInfo &CUI,
StartAddress, object::SectionedAddress::UndefSection};
- if (!CUI.LineTable->lookupAddressRange(SecAddress, RangeSize, RowVector)) {
+ // end_sequence markers can be located
https://github.com/clayborg edited
https://github.com/llvm/llvm-project/pull/90535
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -424,19 +439,13 @@ static void convertFunctionLineTable(OutputAggregator
&Out, CUInfo &CUI,
auto LastLE = FI.OptLineTable->last();
if (LastLE && LastLE->File == FileIdx && LastLE->Line == Row.Line)
continue;
+
// Only push a row if it isn't an end seque
@@ -354,6 +357,18 @@ static void convertFunctionLineTable(OutputAggregator
&Out, CUInfo &CUI,
for (uint32_t RowIndex : RowVector) {
// Take file number and line/column from the row.
const DWARFDebugLine::Row &Row = CUI.LineTable->Rows[RowIndex];
+
+// TODO(aville
https://github.com/clayborg commented:
Not sure this makes sense after checking the code for
`DWARFDebugLine::LineTable::lookupAddressRangeImpl(...)`. If a line table has
multiple sequences that contain an address, it will find the first sequence
that contains the address and then return the r
Author: Greg Clayton
Date: 2020-05-28T13:29:48-07:00
New Revision: 3fca962854050cd4af513a514f45596a0ae7a4f2
URL:
https://github.com/llvm/llvm-project/commit/3fca962854050cd4af513a514f45596a0ae7a4f2
DIFF:
https://github.com/llvm/llvm-project/commit/3fca962854050cd4af513a514f45596a0ae7a4f2.diff