> Allow building OpenJDK with UBSan. Currently the build fails when optimizing > the image due to lots of undefined behavior (it invokes the built JVM). > Follow up PRs will either replace the undefined behavior with well defined > behavior or suppress errors which are intentional. The goal is to make > OpenJDK more well defined and thus more portable across compilers and > architectures.
Justin King has updated the pull request incrementally with one additional commit since the last revision: Move __ubsan_default_options to be automagically included via SetupNativeCompilation Signed-off-by: Justin King <jck...@google.com> ------------- Changes: - all: https://git.openjdk.org/jdk/pull/11604/files - new: https://git.openjdk.org/jdk/pull/11604/files/e104ec05..42e66fde Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=11604&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11604&range=02-03 Stats: 65 lines in 5 files changed: 51 ins; 12 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/11604.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11604/head:pull/11604 PR: https://git.openjdk.org/jdk/pull/11604