mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
b54786ee95
My system's python3 is not in /bin/. The README did not indicate that a clang-toolchain build of Serenity is required, so this patch adds that explicit instruction. |
||
---|---|---|
.. | ||
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).
This tool currently requires having first built Serenity with the Clang toolchain for x86_64:
./Meta/serenity.sh build x86_64 Clang
Once Serenity is built, this tool can be built with:
cmake -GNinja -B build
cmake --build build
Then run the tool with:
src/main.py -b <path to serenity>/Build