dotnet / runtimelab

This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
MIT License
1.4k stars 197 forks source link

[NativeAOT-LLVM] More miscellaneous fixes #2388

Closed SingleAccretion closed 1 year ago

SingleAccretion commented 1 year ago

Fixing various bugs and improving the documentation:

1) Disable background GC. 2) Add in some missed pthread shims. 3) Add various linker settings for stripping debug information. 4) Specify the global base and stack size. 5) Add notes about NativeDebugSymbols and UnmanagedEntryPointsAssembly to the documentation. 6) Remove HFIF_NO_RPI_OR_GC from the RPI helper.

SingleAccretion commented 1 year ago

The GC test still fails, now with heap corruption. Will take a while to debug, most likely.

Edit: turned out to be a GC hole due to a codegen bug.

SingleAccretion commented 1 year ago

@dotnet/nativeaot-llvm