mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 20:29:42 +00:00
LibJSGCVerifier
This is a simple Clang tool to validate certain behavior relating to LibJS's GC. It currently validates two things:
- For all types wrapped by
GCPtrorNonnullGCPtr, that the wrapped type inherits fromCell - For all types not wrapped by
GCPtrorNonnullGCPtr, that the wrapped type does not inherit fromCell(otherwise it should be wrapped).
Usage:
cmake -GNinja -B build
cmake --build build
src/main.py -b <path to serenity>/Build