Dwarf: use utostr on CUID to append to SmallString.
authorManman Ren <mren@apple.com>
Sat, 6 Apr 2013 01:02:38 +0000 (01:02 +0000)
committerManman Ren <mren@apple.com>
Sat, 6 Apr 2013 01:02:38 +0000 (01:02 +0000)
commit5044a9395a6f19c37989d877a7cbbe21dd84c5b7
tree711ce15aba0e03188ee72e5b768c959f46696d16
parent310f2665e8fc4f3b5fa70d3e935f00d19cae3f2f
Dwarf: use utostr on CUID to append to SmallString.

We used to do "SmallString += CUID", which is incorrect, since CUID will
be truncated to a char.

rdar://problem/13573833

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178941 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp