summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
index 19a1dc3c66e..a3ea96b72ba 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
@@ -38,9 +38,9 @@ void DwarfFile::emitStringOffsetsTableHeader(MCSection *Section) {
// table. The header consists of an entry with the contribution's
// size (not including the size of the header), the DWARF version and
// 2 bytes of padding.
- Asm->EmitInt32(StrPool.size() * EntrySize);
- Asm->EmitInt16(Asm->getDwarfVersion());
- Asm->EmitInt16(0);
+ Asm->emitInt32(StrPool.size() * EntrySize);
+ Asm->emitInt16(Asm->getDwarfVersion());
+ Asm->emitInt16(0);
// Define the symbol that marks the start of the contribution. It is
// referenced by most unit headers via DW_AT_str_offsets_base.
// Split units do not use the attribute.
OpenPOWER on IntegriCloud