Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create unique timestamps for darwin target in deterministic mode #38

Open
moosichu opened this issue Nov 19, 2021 · 0 comments
Open

Create unique timestamps for darwin target in deterministic mode #38

moosichu opened this issue Nov 19, 2021 · 0 comments

Comments

@moosichu
Copy link
Owner

https://github.com/llvm-mirror/llvm/blob/2c4ca6832fa6b306ee6a7010bfb80a3f2596f824/lib/Object/ArchiveWriter.cpp#L389

I came across this when researching how llvm ar did something else.

Specifically:

in deterministic archive mode (which
is the default), on Darwin we will emit a unique non-zero
timestamp for each entry with a duplicated name. This is still
deterministic: the only thing affecting that timestamp is the
order of the files in the resultant archive.

See implementation for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant