diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-05-27 00:02:48 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-05-27 00:02:48 +0000 |
commit | d1c99b2aaeda2210769d2125dc9126a7ccd898ef (patch) | |
tree | d98362f2fb61abd9f70be8add46b3a8ae2d60920 /tools | |
parent | 1907cad7c822f07894a1189886fa7577f109045a (diff) | |
download | external_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.cpp | 3 |
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; } } |