summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/LEB128Test.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-01-09 22:55:00 +0000
committerRui Ueyama <ruiu@google.com>2017-01-09 22:55:00 +0000
commite9d17545bc5922f5eda60a65c3fba88ec36fc1f5 (patch)
tree12f9eac28af4cb0634a7a1b0d391bb68295cbab1 /llvm/unittests/Support/LEB128Test.cpp
parentbe92d5e930625470980b4213369658c628f2f310 (diff)
downloadbcm5719-llvm-e9d17545bc5922f5eda60a65c3fba88ec36fc1f5.tar.gz
bcm5719-llvm-e9d17545bc5922f5eda60a65c3fba88ec36fc1f5.zip
TarWriter: Fix a bug in Ustar header.
If we split a filename into `Name` and `Prefix`, `Prefix` is at most 145 bytes. We had a bug that didn't split a path correctly. This bug was pointed out by Rafael in the post commit review. This patch adds a unit test for TarWriter to verify the fix. llvm-svn: 291494
Diffstat (limited to 'llvm/unittests/Support/LEB128Test.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud