README 571 B

123456789101112131415161718192021222324
  1. Prototype and playground for generating stack maps to garbage-collected objects
  2. using clang/llvm infrastructure.
  3. Design doc: https://bit.ly/chromium-stack-maps
  4. Building and Running Tests:
  5. 1. Build the gc libary
  6. `mkdir gc/build/ && cd gc/build`
  7. `cmake ../ && make`
  8. 2. Build the LLVM passes:
  9. `mkdir ../../build/ && cd ../../build/`
  10. `cmake ../ && make all`
  11. 3. Run the tests (from stack_maps/tests/)
  12. `./test.py <path_to_chromium_llvm_bin_dir> ../gc/build/libGC.a \
  13. ../build/IdentifySafepoints/libLLVMIdentifySafepointsPass.so \
  14. ../build/RegisterGcFunctionsPass.so`