mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
This turns out to be a big problem for performance of Bison generated code, that for whatever reason cannot be made internal to the shared library. This causes GCC to make a bunch of function calls go through PLT. Ideally these hot functions (like move/copy ctor) could become inline in upstream Bison. That will make sure that GCC can do interprocedular optimizations without -fno-semantic-interposition [^]. Considering that LLVM already does inlining and whatnot is a good motivation for this change. I don't know of any case where Nix relies on LD_PRELOAD tricks for the shared libraries in production use-cases. [^]: https://maskray.me/blog/2021-05-09-fno-semantic-interposition |
||
|---|---|---|
| .. | ||
| installer | ||
| patches | ||
| binary-tarball.nix | ||
| components.nix | ||
| dependencies.nix | ||
| dev-shell.nix | ||
| everything.nix | ||
| hydra.nix | ||