Remove the embedded sha256 for the libecc version.
To reduce code, go ahead and use the hash implementation from libecc instead
of using a duplicated version in the tree.
[SSAF][clang-reforge] Retrofit expressions after CppBoundedBuffers decl rewrites
PR #210457 introduces declaration rewriting. When CppBoundedBuffers
rewrites a declaration or return type to a bounded_ptr/bounded_array,
some of the existing uses of that entity needs retrofit.
This commit creates expression rewrites for the following patterns:
- Append '.data()' to call arguments when necessary parameter is not
transformed but argument is transformed.
- Append '.as_bounded<T>()' to call arguments when both parameter and
argument are transformed but element types are not identical.
- Rewrite '&e[i]' to '(e + i)' and '&*e'/'&(*e)' to 'e', if 'e' is
transformed.
- Rewrite '(T*)e', 'static_cast<T*>(e)', and 'reinterpret_cast<T*>(e)'
to 'e.as_bounded<T>()', if 'e' is transformed.
The 3rd step of
rdar://187125348
lib/googletest: also use -O0 for internal tests with GCC
This fixes the build with gcc 16's aggressive inlining.
Reviewed by: ngie
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59538
HBSD: Fix dependency for math/libformfactor
FreeBSD moved the libheinz port to heinz, but did not update the
math/libformfactor port which depends on heinz. A port referencing a
(now) nonexestient dependency causes the HardenedBSD package build to
crash.
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
Fixes: f998cbe1f837f0d5a78a918d3d92d5436f1e27ed