diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-05 00:21:14 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-05 00:21:14 +0000 |
commit | 78b04ae7ac82908348602526f5671a51bb9c9314 (patch) | |
tree | 9051d1d98ee3a1ec9d4cb2f83b6914d2bc2b57d4 /llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp | |
parent | c6caed8fa1da522774d0dbf677a9394e05d92872 (diff) | |
download | bcm5719-llvm-78b04ae7ac82908348602526f5671a51bb9c9314.tar.gz bcm5719-llvm-78b04ae7ac82908348602526f5671a51bb9c9314.zip |
Revert "Use StringRef in Support/Darf APIs (NFC)"
This reverts commit r283275, it broke LLDB Android debug server.
llvm-svn: 283278
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp index 1635808e002..63d22d84121 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp @@ -42,8 +42,8 @@ void DWARFDebugLine::Prologue::dump(raw_ostream &OS) const { << format(" opcode_base: %u\n", OpcodeBase); for (uint32_t i = 0; i < StandardOpcodeLengths.size(); ++i) - OS << format("standard_opcode_lengths[%s] = %u\n", - LNStandardString(i + 1).data(), StandardOpcodeLengths[i]); + OS << format("standard_opcode_lengths[%s] = %u\n", LNStandardString(i + 1), + StandardOpcodeLengths[i]); if (!IncludeDirectories.empty()) for (uint32_t i = 0; i < IncludeDirectories.size(); ++i) |