Untwine this expression. Thanks to David for noticing!
authorAdrian Prantl <aprantl@apple.com>
Mon, 12 Jan 2015 22:39:14 +0000 (22:39 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 12 Jan 2015 22:39:14 +0000 (22:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225720 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp

index 329737c0cab087c03868e2bd21f052f96ef7ae58..8d23ec5133ead8265301cb938e9aeef9583699a0 100644 (file)
@@ -49,7 +49,7 @@ public:
 
 void DebugLocDwarfExpression::EmitOp(uint8_t Op, const char* Comment) {
   BS.EmitInt8(Op, Comment
-    ? Twine(Comment)+Twine(" ")+Twine(dwarf::OperationEncodingString(Op))
+    ? Twine(Comment)+" "+dwarf::OperationEncodingString(Op)
     : dwarf::OperationEncodingString(Op));
 }
 void DebugLocDwarfExpression::EmitSigned(int Value) {