Clang (18 and higher?) has -fbounds-safety feature to help enforce memory bounds safety according to https://rocm.docs.amd.com/projects/llvm-project/en/docs-6.2.4/LLVM/clang/html/BoundsSafety.html
We should use it in hotspot.
We should use it in hotspot.
- relates to
-
JDK-8345093 Enable -fstack-protector for clang builds
- New
-
JDK-8345097 Enable _FORTIFY_SOURCE for clang builds
- New