]> granicus.if.org Git - llvm/commit
llvm-strings: ensure that the last string is correctly printed
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 12 Nov 2016 03:39:21 +0000 (03:39 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 12 Nov 2016 03:39:21 +0000 (03:39 +0000)
commit421c744b29ab1f67f39845bd2a891f7821518dce
treefcb852665503d7949b1e6832efc10e05f2034431
parent18c0ee263804d2d736405b66898309583ee8385e
llvm-strings: ensure that the last string is correctly printed

We would ignore the last string that appeared if the file ended with a printable
character.  Ensure that we get the last string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286706 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-strings/terminator-neg.test [new file with mode: 0644]
test/tools/llvm-strings/terminator.test [new file with mode: 0644]
tools/llvm-strings/llvm-strings.cpp