summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-04-07 13:56:14 +0000
committerFangrui Song <maskray@google.com>2019-04-07 13:56:14 +0000
commitc4c8bcaeec260487f4ae4bfe315c8100efce6206 (patch)
tree014c97e9f382cfa7a039c492cf6b3d8084d3fa4b /llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
parent13d3505a86c0a984ff249bb38e043d928ef2eb2f (diff)
downloadbcm5719-llvm-c4c8bcaeec260487f4ae4bfe315c8100efce6206.tar.gz
bcm5719-llvm-c4c8bcaeec260487f4ae4bfe315c8100efce6206.zip
[DWARF] DWARFDebugLine: delete unused parameter `Offset`
llvm-svn: 357866
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
index 53420187773..4fc6261ae15 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
@@ -424,7 +424,7 @@ void DWARFDebugLine::ParsingState::resetRowAndSequence() {
Sequence.reset();
}
-void DWARFDebugLine::ParsingState::appendRowToMatrix(uint32_t Offset) {
+void DWARFDebugLine::ParsingState::appendRowToMatrix() {
if (Sequence.Empty) {
// Record the beginning of instruction sequence.
Sequence.Empty = false;
@@ -540,7 +540,7 @@ Error DWARFDebugLine::LineTable::parse(
// address is that of the byte after the last target machine instruction
// of the sequence.
State.Row.EndSequence = true;
- State.appendRowToMatrix(*OffsetPtr);
+ State.appendRowToMatrix();
if (OS) {
*OS << "\n";
OS->indent(12);
@@ -642,7 +642,7 @@ Error DWARFDebugLine::LineTable::parse(
// Takes no arguments. Append a row to the matrix using the
// current values of the state-machine registers. Then set
// the basic_block register to false.
- State.appendRowToMatrix(*OffsetPtr);
+ State.appendRowToMatrix();
if (OS) {
*OS << "\n";
OS->indent(12);
@@ -827,7 +827,7 @@ Error DWARFDebugLine::LineTable::parse(
State.Row.dump(*OS);
}
- State.appendRowToMatrix(*OffsetPtr);
+ State.appendRowToMatrix();
// Reset discriminator to 0.
State.Row.Discriminator = 0;
}
OpenPOWER on IntegriCloud