[llvm] r178941 - Dwarf: use utostr on CUID to append to SmallString.

Eric Christopher echristo at gmail.com
Thu Apr 11 17:37:49 PDT 2013


On Thu, Apr 11, 2013 at 4:35 PM, Manman Ren <mren at apple.com> wrote:
>
> Oops I thought I replied to Rafael's comment but I didn't.
>
> Basically this is a straight-forward fix for CUID >= 256. When CUID is 256, NamePair += CUID will be equivalent to NamePair += 0, which will take us to
> an entry for CUID 0. To test this fix, we need to have at least 256 CUs in the testing case and some actual line tables.
>

*nod* I wonder if you could just copy a single CU and line table
multiple times (modulo changing things so that they don't get
uniqued)?

-eric



More information about the llvm-commits mailing list