Skip to content

question: can we initialize only those LLVM features which we need? #47

Closed
@dvrogozh

Description

@dvrogozh

llvm::InitializeAllTargets();

This code attempts to initialize everything in LLVM. As an outcome we are forced to link against almost all the LLVM libraries - see #44 (and a fix in pr #45). Is that possible to reduce the initialization scope? For example, does that make sense to initialize Sparc and other platform parsers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions