mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-03 12:18:00 +00:00
Switch some functions to take Twines, eliminate uses of StringExtras.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93680 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2343,14 +2343,10 @@ void DwarfDebug::emitDIE(DIE *Die) {
|
||||
// Emit the code (index) for the abbreviation.
|
||||
Asm->EmitULEB128Bytes(AbbrevNumber);
|
||||
|
||||
if (Asm->isVerbose())
|
||||
Asm->EOL(std::string("Abbrev [" +
|
||||
utostr(AbbrevNumber) +
|
||||
"] 0x" + utohexstr(Die->getOffset()) +
|
||||
":0x" + utohexstr(Die->getSize()) + " " +
|
||||
dwarf::TagString(Abbrev->getTag())));
|
||||
else
|
||||
Asm->EOL();
|
||||
Asm->EOL("Abbrev [" + Twine(AbbrevNumber) + "] 0x" +
|
||||
Twine::utohexstr(Die->getOffset()) + ":0x" +
|
||||
Twine::utohexstr(Die->getSize()) + " " +
|
||||
dwarf::TagString(Abbrev->getTag()));
|
||||
|
||||
SmallVector<DIEValue*, 32> &Values = Die->getValues();
|
||||
const SmallVector<DIEAbbrevData, 8> &AbbrevData = Abbrev->getData();
|
||||
|
Reference in New Issue
Block a user