• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • NullCompilerInterface
  • toolchain::NullCompilerInterface Class

    class toolchain::NullCompilerInterface

    Test/fixture compiler that records calls without doing real work. More...

    Header: #include <NullCompilerInterface>
    Since: Phase 20c
    Inherits: toolchain::CompilerInterface

    Detailed Description

    `compileObject` and `archive` always succeed and append their requests to internal counters/lists so tests can assert the recipe issued the expected build steps. Useful for verifying that ctx.compiler is wired correctly without dragging in libllvm.