nixpkgs/pkgs/development
Robert Scott 506ec38e7f cc-wrapper, clang: use new mechanism to selectively unsupport zerocallusedregs
this allows a compiler derivation to provide a
hardeningUnsupportedFlagsByTargetPlatform passthru attr
that will be called with the targetPlatform to determine
the unsupported hardening flags for that platform.

we can do this because even though a clang compiler is
multi-target by nature, cc-wrapper effectively fixes the
target platform at wrapping time. otherwise we'd have to
sniff the intended target at runtime, which wouldn't
be fun at all.

the advantage of using a new attribute instead of
allowing hardeningUnsupportedFlags to optionally be a
function is that hardeningUnsupportedFlags retains its
simple overriding pattern for simple cases (i.e.
  `(prev.hardeningUnsupportedFlags or []) ++ [ "foo" ]`
) which will continue to work as long as the bottom-most
function of hardeningUnsupportedFlagsByTargetPlatform
falls back to hardeningUnsupportedFlags.
2024-01-21 11:16:07 +00:00
..
androidndk-pkgs
beam-modules
bower-modules/generic
chez-modules
compilers cc-wrapper, clang: use new mechanism to selectively unsupport zerocallusedregs 2024-01-21 11:16:07 +00:00
coq-modules
cuda-modules cc-wrapper: relocate proprietary-compiler-specific material 2024-01-20 05:46:57 +00:00
dhall-modules
em-modules/generic
embedded Merge pull request #278473 from SFrijters/arduino-cli-0.35.0 2024-01-20 00:51:49 +01:00
gnuradio-modules
guile-modules
hare-third-party
haskell-modules
idris-modules
interpreters Merge master into staging-next 2024-01-20 12:00:58 +00:00
java-modules
julia-modules
libraries Merge staging-next into staging 2024-01-20 12:01:26 +00:00
lisp-modules
lisp-modules-new-obsolete
lisp-modules-obsolete
lua-modules
misc
mobile
node-packages
ocaml-modules
octave-modules
perl-modules
php-packages php81Extensions.relay: 0.6.8 -> 0.7.0 2024-01-20 05:00:13 +00:00
python2-modules
python-modules Merge staging-next into staging 2024-01-20 12:01:26 +00:00
quickemu
r-modules
rocm-modules/5
ruby-modules
scheme-modules/scheme-bytestructures
skaware-packages
tools Merge master into staging-next 2024-01-20 12:00:58 +00:00
web Merge master into staging-next 2024-01-20 12:00:58 +00:00