1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00
serenity/Meta/Lagom/Tools/LibJSGCVerifier
Aliaksandr Kalenik da2c18d1f9 Meta: Update LibJSGCVerifier to build with llvm 16.0.6
Changes to fix LibJSGCVerifier build with llvm version used in
BuildClang.sh
2023-09-16 20:51:28 -06:00
..
src Meta: Update LibJSGCVerifier to build with llvm 16.0.6 2023-09-16 20:51:28 -06:00
.gitignore Lagom: Add a tool to verify correctness of the LibJS GC 2023-03-06 13:05:43 +00:00
CMakeLists.txt Lagom: Add a tool to verify correctness of the LibJS GC 2023-03-06 13:05:43 +00:00
README.md Lagom: Add a tool to verify correctness of the LibJS GC 2023-03-06 13:05:43 +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 GCPtr or NonnullGCPtr, that the wrapped type inherits from Cell
  • For all types not wrapped by GCPtr or NonnullGCPtr, that the wrapped type does not inherit from Cell (otherwise it should be wrapped).

Usage:

cmake -GNinja -B build
cmake --build build
src/main.py -b <path to serenity>/Build