From d1c99b2aaeda2210769d2125dc9126a7ccd898ef Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 27 May 2013 00:02:48 +0000 Subject: [PATCH] llvm-objdump.cpp: Appease MSC16 x64. utostr(n++) causes internal compiler error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182722 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-objdump/llvm-objdump.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/llvm-objdump/llvm-objdump.cpp b/tools/llvm-objdump/llvm-objdump.cpp index d8611d8b3d1..8049dac3a7d 100644 --- a/tools/llvm-objdump/llvm-objdump.cpp +++ b/tools/llvm-objdump/llvm-objdump.cpp @@ -355,8 +355,9 @@ static void DisassembleObject(const ObjectFile *Obj, bool InlineRelocs) { FI != FE; ++FI) { static int filenum = 0; emitDOTFile((Twine((*FI)->getName()) + "_" + - utostr(filenum++) + ".dot").str().c_str(), + utostr(filenum) + ".dot").str().c_str(), **FI, IP.get()); + ++filenum; } }