[pull] main from oven-sh:main

Merged
PU
4mo ago
+37-12

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )


Summary by cubic

Switches builds to ThinLTO and prevents ClassInfo address merging to fix a JSC JIT miscompile. Aligns Linux CI and local build defaults with ThinLTO for consistent builds.

  • Bug Fixes
    • Added CLASSINFO_KEEP_ADDRESS_UNIQUE(Class) in ClassInfo.h and applied it to affected builtins so s_info addresses remain distinct and aren’t merged under ThinLTO.
    • Changed LTO flags to -flto=thin -fno-split-lto-unit in .github/workflows/build-reusable.yml, Dockerfile, Dockerfile.musl, and build.ts to avoid miscompiles and match other platforms.