nixpkgs/pkgs/development/compilers/llvm/17
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
..
clang cc-wrapper, clang: use new mechanism to selectively unsupport zerocallusedregs 2024-01-21 11:16:07 +00:00
compiler-rt pkgsLLVM.llvmPackages.compiler-rt: fix for RISC-V 2023-12-19 11:34:37 +01:00
libcxx llvmPackages_{15,16,17,git}.libcxx: fix darwin link flags (#278945) 2024-01-12 08:45:41 -06:00
libcxxabi
libunwind
lld llvmPackages_17.lld: backport table-base patch 2023-12-11 11:48:50 -05:00
lldb llvmPackages_{14,15,16,17,git}.lldb: unify lua and python path patch 2024-01-04 11:00:25 +01:00
llvm llvm: Avoid cross compiling if the build platform can execute host binaries 2024-01-11 11:00:31 +00:00
openmp
default.nix llvmPackages_{14,15,16,17,git}.lldb: unify lua and python path patch 2024-01-04 11:00:25 +01:00