[llvm] r182722 - llvm-objdump.cpp: Appease MSC16 x64. utostr(n++) causes internal compiler error.
NAKAMURA Takumi
geek4civic at gmail.com
Sun May 26 17:02:49 PDT 2013
Author: chapuni
Date: Sun May 26 19:02:48 2013
New Revision: 182722
URL: http://llvm.org/viewvc/llvm-project?rev=182722&view=rev
Log:
llvm-objdump.cpp: Appease MSC16 x64. utostr(n++) causes internal compiler error.
Modified:
llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
Modified: llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp?rev=182722&r1=182721&r2=182722&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp Sun May 26 19:02:48 2013
@@ -355,8 +355,9 @@ static void DisassembleObject(const Obje
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;
}
}
More information about the llvm-commits
mailing list