diff options
author | Peter Collingbourne <pcc@google.com> | 2025-10-09 14:01:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-09 14:01:57 -0700 |
commit | 74858f366bad87d24f41819b015bcc1043daead7 (patch) | |
tree | 617d1bffb6ed648f2a9692690ece87096f84d9fa /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 82a427702eb2c83ff571670a73071420f0b31546 (diff) | |
download | llvm-74858f366bad87d24f41819b015bcc1043daead7.zip llvm-74858f366bad87d24f41819b015bcc1043daead7.tar.gz llvm-74858f366bad87d24f41819b015bcc1043daead7.tar.bz2 |
Add Nix recipe for collecting linker reproducers. (#145789)
As proposed in:
https://discourse.llvm.org/t/improving-the-reproducibility-of-linker-benchmarking/86057
This is a Nix recipe for collecting reproducers for benchmarking
purposes
in a reproducible way. It works by injecting a linker wrapper that
embeds
a reproducer tarball into a non-allocated section of every linked
object,
which generally causes them to be smuggled out of the build tree in a
section of the final binaries.
It may be used in conjunction with the script lld/utils/run_benchmark.py
to measure the relative performance of linker changes or compare
the performance of different linkers.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions