Fix signed/unsigned comparison warning and print format
authorJames Henderson <jh7370@my.bristol.ac.uk>
Thu, 10 May 2018 12:15:43 +0000 (12:15 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Thu, 10 May 2018 12:15:43 +0000 (12:15 +0000)
commit11a9de74c96ec08bcf6598ec986ccf4db7cb6207
treefa1ad9ffc26e26ddbaf30355817f19baed0413a1
parent60851ec87f4c9d5c98914348a22d35a20b242601
Fix signed/unsigned comparison warning and print format

The print format was causing at least 2 unit-test failures from r331971.

The signed/unsigned comparison warnings only appeared to affect two lines but
it was unclear whether it might just pop up on other lines, so I have been
explicit in all the literals in the tests.

There were other bot unit-test failures that I am still investigating.

llvm-svn: 331978
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp