[llvm] [MC] Add .loc_label instruction (PR #99710)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 01:49:50 PDT 2024
================
@@ -467,20 +467,22 @@ void MCObjectStreamer::emitDwarfAdvanceLineAddr(int64_t LineDelta,
}
void MCObjectStreamer::emitDwarfLineEndEntry(MCSection *Section,
- MCSymbol *LastLabel) {
+ MCSymbol *LastLabel,
+ MCSymbol *EndLabel) {
// Emit a DW_LNE_end_sequence for the end of the section.
// Use the section end label to compute the address delta and use INT64_MAX
// as the line delta which is the signal that this is actually a
// DW_LNE_end_sequence.
- MCSymbol *SectionEnd = endSection(Section);
+ if (!EndLabel)
----------------
alx32 wrote:
Updated
https://github.com/llvm/llvm-project/pull/99710
More information about the llvm-commits
mailing list