From cfca06d7963fa0909f90483b42a6d7d194d01e08 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 26 Jul 2020 19:36:28 +0000 Subject: Vendor import of llvm-project master 2e10b7a39b9, the last commit before the llvmorg-12-init tag, from which release/11.x was branched. --- llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp index 2a76dcb1b0827..a43929d8e8f70 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp @@ -71,7 +71,7 @@ void DwarfStringPool::emitStringOffsetsTableHeader(AsmPrinter &Asm, // referenced by most unit headers via DW_AT_str_offsets_base. // Split units do not use the attribute. if (StartSym) - Asm.OutStreamer->EmitLabel(StartSym); + Asm.OutStreamer->emitLabel(StartSym); } void DwarfStringPool::emit(AsmPrinter &Asm, MCSection *StrSection, @@ -100,12 +100,12 @@ void DwarfStringPool::emit(AsmPrinter &Asm, MCSection *StrSection, // Emit a label for reference from debug information entries. if (ShouldCreateSymbols) - Asm.OutStreamer->EmitLabel(Entry->getValue().Symbol); + Asm.OutStreamer->emitLabel(Entry->getValue().Symbol); // Emit the string itself with a terminating null byte. Asm.OutStreamer->AddComment("string offset=" + Twine(Entry->getValue().Offset)); - Asm.OutStreamer->EmitBytes( + Asm.OutStreamer->emitBytes( StringRef(Entry->getKeyData(), Entry->getKeyLength() + 1)); } @@ -125,6 +125,6 @@ void DwarfStringPool::emit(AsmPrinter &Asm, MCSection *StrSection, if (UseRelativeOffsets) Asm.emitDwarfStringOffset(Entry->getValue()); else - Asm.OutStreamer->EmitIntValue(Entry->getValue().Offset, size); + Asm.OutStreamer->emitIntValue(Entry->getValue().Offset, size); } } -- cgit v1.2.3