Skip to content

Add linker #1

@doe300

Description

@doe300

Since SPIRV-Tools now implements a linker, we could use it, to provide a linker for the VC4C compiler.

Provide an interface (can be separate from compiler-interface) to link together two intermediate binaries (LLVM-IR or SPIR-V).

LLVM/CLang support linking via llvm-link, SPIR-V via tools/spirv-link in SPIRV-Tools.

Problem:
Both utils only support "full linking", where implementations for all functions need to be available, which is not the case since the vc4cl_ intrinsic functions are not implemented in any intermediate format.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions