tree-sitter.tree-sitter/docs/src
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
..
assets Revert "feat: allow - in grammar names" 2026-03-13 15:35:14 -04:00
cli fix(loader): don't discard CC wrapper command specified in CC variable 2026-03-31 01:43:43 -04:00
creating-parsers perf(cli): replace regex with manual parsing in test file parser 2026-03-31 04:00:43 -04:00
using-parsers docs: note zero point unbounded behavior in query functions 2026-04-30 04:28:59 -04:00
3-syntax-highlighting.md fix(docs): correct various typos 2026-03-28 05:23:10 -04:00
4-code-navigation.md docs: adhere to 120 new word column limit for docs 2026-01-14 18:11:42 -05:00
5-implementation.md fix(docs): update more broken links 2025-09-26 16:10:29 -05:00
6-contributing.md fix(loader): skip --no-undefined for sanitizer grammar builds 2026-05-31 10:56:40 -04:00
7-playground.md docs(playground): show toast when tree is copied 2025-09-09 03:13:35 -04:00
index.md docs: adhere to 120 new word column limit for docs 2026-01-14 18:11:42 -05:00
SUMMARY.md docs: New page about ABI versions for parser users 2025-11-20 01:07:58 -05:00