tree-sitter.tree-sitter/docs
Will Lillis cd338a7a43 fix(loader): skip --no-undefined for sanitizer grammar builds
Compiling a grammar with `-fsanitize=address` (or any other sanitizer)
emits a module constructor in the parser object file that references
runtime symbols like `__asan_init`. These runtime-resolved symbols are
incompatible with `-Wl,--no-undefined`, which breaking sanitized test
runs on clang. (gcc happens to paper over this by auto-linking libasan
into the .so)

To fix, detect `-fsanitize=` in the compile flags and omit `--no-undefined`
in that case.
2026-05-31 10:56:40 -04:00
..
src fix(loader): skip --no-undefined for sanitizer grammar builds 2026-05-31 10:56:40 -04:00
theme docs: add favicon and logo 2024-12-25 21:23:36 -05:00
.gitignore docs: migrate to mdbook 2024-12-24 20:54:59 -05:00
book.toml treewide: add taplo config and reformat toml files 2026-02-18 00:59:34 -05:00
package.nix refactor: rework nix flake 2025-09-09 03:03:35 -04:00