RFR: 8253757: Add LLVM-based backend for hsdis
Jorn Vernee
jvernee at openjdk.java.net
Wed Oct 13 00:34:48 UTC 2021
On Wed, 13 Oct 2021 00:00:22 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> but it caused hotspot to segfault in LoadLibrary (!) in os::dll_load when I tried to load the library.
I tried compiling the binutils-based hsdis earlier as well, but on WSL instead of cygwin (using the `mingw-w64` package), and ran into the same issue. It kept segfaulting when loading the library.
My guess was that it is a problem caused by mixing libraries that are compiled with different toolchains, as the JDK itself is compiled with MSVC.
AFAIK binutils can only be built with mingw (based on my earlier experiments), but LLVM can be built with MSVC as well, so maybe the regular MSVC toolchain could be used to build the llvm-based hsdis.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5920
More information about the hotspot-compiler-dev
mailing list