This is an archive of the discontinued LLVM Phabricator instance.

TarWriter: Only use 137 of the 155 prefix bytes.
ClosedPublic

Authored by thakis on Apr 27 2020, 10:02 AM.

Details

Summary

This makes lld's --reproduce output more compatible with tar 1.13 and
before. This is a very old version of tar, but it's the version in
both gnuwin and unxutils, and the cost for supporting them are very
low, so we might as well just do that.

https://bugs.chromium.org/p/chromium/issues/detail?id=1073524#c21
and onward has more details.

Diff Detail

Event Timeline

thakis created this revision.Apr 27 2020, 10:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2020, 10:02 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
hans accepted this revision.Apr 27 2020, 10:09 AM

Looks great to me. Thanks for figuring this out!

This revision is now accepted and ready to land.Apr 27 2020, 10:09 AM
This revision was automatically updated to reflect the committed changes.