projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dcc0d1
)
[DebugInfo] Drop unneeded format() calls (fix -Wformat-security) after 3b7ec64d597487...
author
Fangrui Song
<maskray@google.com>
Tue, 9 Jun 2020 16:55:25 +0000
(09:55 -0700)
committer
Fangrui Song
<maskray@google.com>
Tue, 9 Jun 2020 16:56:13 +0000
(09:56 -0700)
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
index
4b449a5
..
be4c5d3
100644
(file)
--- a/
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
+++ b/
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
@@
-1048,7
+1048,7
@@
Error DWARFDebugLine::LineTable::parse(
uint8_t OpcodeLength = Prologue.StandardOpcodeLengths[Opcode - 1];
if (OpcodeLength != 0) {
if (Verbose)
- *OS <<
format(" (operands: ")
;
+ *OS <<
" (operands: "
;
for (uint8_t I = 0; I < OpcodeLength; ++I) {
uint64_t Value = TableData.getULEB128(OffsetPtr);
if (Verbose) {
@@
-1058,7
+1058,7
@@
Error DWARFDebugLine::LineTable::parse(
}
}
if (Verbose)
- *OS <<
format(")")
;
+ *OS <<
')'
;
}
}
break;