Class LLVMStackMapCollector

java.lang.Object
org.qbicc.plugin.llvm.LLVMStackMapCollector

public final class LLVMStackMapCollector extends Object
A utility to collect stack map data from an object file produced from LLVM which includes statepoint calls.

Note that statepoint uses the stack map format slightly differently than described in the stack map documentation. Specifically, each stack map starts with three constant entries which give information about the usage site, and there are two consecutive entries for each actual variable (one corresponding to the base pointer and one for the derived pointer, which in our case is presently always the same as the base pointer).

  • Constructor Details

  • Method Details

    • collect

      public void collect()
    • execute

      public static void execute(CompilationContext ctxt)