[llvm] r375180 - DebugInfo: Remove unused parameter (from DwarfDebug.cpp:emitListsTableHeaderStart)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 17 15:11:40 PDT 2019
Author: dblaikie
Date: Thu Oct 17 15:11:40 2019
New Revision: 375180
URL: http://llvm.org/viewvc/llvm-project?rev=375180&view=rev
Log:
DebugInfo: Remove unused parameter (from DwarfDebug.cpp:emitListsTableHeaderStart)
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=375180&r1=375179&r2=375180&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Thu Oct 17 15:11:40 2019
@@ -2262,7 +2262,7 @@ void DwarfDebug::emitDebugLocEntryLocati
}
// Emit the common part of the DWARF 5 range/locations list tables header.
-static void emitListsTableHeaderStart(AsmPrinter *Asm, const DwarfFile &Holder,
+static void emitListsTableHeaderStart(AsmPrinter *Asm,
MCSymbol *TableStart,
MCSymbol *TableEnd) {
// Build the table header, which starts with the length field.
@@ -2287,7 +2287,7 @@ static MCSymbol *emitRnglistsTableHeader
const DwarfFile &Holder) {
MCSymbol *TableStart = Asm->createTempSymbol("debug_rnglist_table_start");
MCSymbol *TableEnd = Asm->createTempSymbol("debug_rnglist_table_end");
- emitListsTableHeaderStart(Asm, Holder, TableStart, TableEnd);
+ emitListsTableHeaderStart(Asm, TableStart, TableEnd);
Asm->OutStreamer->AddComment("Offset entry count");
Asm->emitInt32(Holder.getRangeLists().size());
@@ -2307,7 +2307,7 @@ static MCSymbol *emitLoclistsTableHeader
const DwarfFile &Holder) {
MCSymbol *TableStart = Asm->createTempSymbol("debug_loclist_table_start");
MCSymbol *TableEnd = Asm->createTempSymbol("debug_loclist_table_end");
- emitListsTableHeaderStart(Asm, Holder, TableStart, TableEnd);
+ emitListsTableHeaderStart(Asm, TableStart, TableEnd);
// FIXME: Generate the offsets table and use DW_FORM_loclistx with the
// DW_AT_loclists_base attribute. Until then set the number of offsets to 0.
More information about the llvm-commits
mailing list