godot
godot copied to clipboard
Windows: Add sanitizers for llvm-mingw, increase stack for ASan
ASan and UBSan are supported by llvm-mingw. They can be enabled by passing use_asan=yes use_ubsan=yes to scons.
Backtraces do work for i686, I've used it before. The readme is a bit outdated on this.
The sanitizers are indeed not yet working on arm32/aarch64 according to the maintainer (UBSan might work but it's not enabled for aarch64 in the build) so I suppose I can add a check for it. If they ever gets fixed we can remove the check in the future.
Thanks!
Due to this PR, the build command no longer works. Is something wrong with sanitization?
- Issue: https://github.com/godotengine/godot/issues/96336