mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 14:42:36 +00:00
| .. | ||
| src | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
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