nixpkgs/pkgs/development/compilers/llvm/16
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 llvmPackages_16.libcxxabi: fix wasi32 build 2023-10-27 18:37:52 -04:00
libunwind llvmPackages_15, llvmPackages_16: Make the pkgsLLVM.stdenv work 2023-08-22 17:33:24 +01:00
lld llvmPackages_16.lld: backport table-base patch 2023-10-10 13:16:50 -04: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 Merge staging-next into staging 2024-01-13 18:01:22 +00:00