HomePhabricator

[clang][Driver] Make multiarch output file basenames reproducible

Authored by keith on Oct 6 2021, 12:43 PM.

Description

[clang][Driver] Make multiarch output file basenames reproducible

When building a multiarch MachO binary, previously the intermediate
output file names would contain random characters. On macOS this
filename, since it's used when linking, ended up being used as a
stable-ish identifier for the adhoc codesignature of the binary, leading
to non-reproducible binaries. This change uses the architecture, when
available, to create a stable, but unique, basename for the file.

Differential Revision: https://reviews.llvm.org/D111269

Details

Committed
keithOct 19 2021, 1:49 PM
Differential Revision
D111269: [clang][Driver] Make multiarch output file basenames reproducible
Parents
rGe2faf721b2b9: [x86] add tests for psubus; NFC
Branches
Unknown
Tags
Unknown