mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 14:44:57 +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
GCPtr
orNonnullGCPtr
, that the wrapped type inherits fromCell
- For all types not wrapped by
GCPtr
orNonnullGCPtr
, 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