diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-05 01:04:02 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-05 01:04:02 +0000 |
commit | 2bcac0fac4925e76fa9133e20d7422821e74534e (patch) | |
tree | f26adaf18ef94a13b649896590016a317af74845 /llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp | |
parent | a28bb09f281b6a9685944f45f496c6892b1aea22 (diff) | |
download | bcm5719-llvm-2bcac0fac4925e76fa9133e20d7422821e74534e.tar.gz bcm5719-llvm-2bcac0fac4925e76fa9133e20d7422821e74534e.zip |
Revert "Re-commit "Use StringRef in Support/Darf APIs (NFC)""
One test seems randomly broken: DebugInfo/X86/gnu-public-names.ll
llvm-svn: 283285
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) |