[llvm] [DebugInfo][DWARF] Emit Per-Function Line Table Offsets and End Sequences (PR #110192)
Shubham Sandeep Rastogi via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 15:20:14 PDT 2024
================
@@ -158,8 +168,12 @@ void MCLineSection::addEndEntry(MCSymbol *EndLabel) {
if (I != MCLineDivisions.end()) {
auto &Entries = I->second;
auto EndEntry = Entries.back();
- EndEntry.setEndLabel(EndLabel);
- Entries.push_back(EndEntry);
+ // If generatingFuncLineTableOffsets is set, then we already generated an
----------------
rastogishubham wrote:
Can you please move this comment up to be the third case? So change line 161 to say
// There are three cases:
and then add this comment as the third case?
https://github.com/llvm/llvm-project/pull/110192
More information about the llvm-commits
mailing list