On big endian platforms, jextract build fails during the verify task with a SIGILL crash due to incorrect handling of the CXUnsavedFile struct. When jextract makes a downcall to clang_reparseTranslationUnit_Impl, it incorrectly sets the third field as an INT instead of a LONG. On big endian architectures, this leads to an improper memory layout for the struct. As a result, clang_reparseTranslationUnit_Impl receives invalid data, causing the crash
- links to
-
Review(master) openjdk/jextract/289