aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-05-27 00:02:48 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-05-27 00:02:48 +0000
commitd1c99b2aaeda2210769d2125dc9126a7ccd898ef (patch)
treed98362f2fb61abd9f70be8add46b3a8ae2d60920 /tools
parent1907cad7c822f07894a1189886fa7577f109045a (diff)
downloadexternal_llvm-d1c99b2aaeda2210769d2125dc9126a7ccd898ef.zip
external_llvm-d1c99b2aaeda2210769d2125dc9126a7ccd898ef.tar.gz
external_llvm-d1c99b2aaeda2210769d2125dc9126a7ccd898ef.tar.bz2
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
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-objdump/llvm-objdump.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/llvm-objdump/llvm-objdump.cpp b/tools/llvm-objdump/llvm-objdump.cpp
index d8611d8..8049dac 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;
}
}