Provides the core functionality of linking LLVM modules.

Synopsis

Declared in <llvm/Linker/Linker.h>

class Linker;

Description

Keeps a pointer to the merged module so far. It doesn't take ownership of the module since it is assumed that the user of this class will want to do something with it after the linking.

Enums

Name

Description

Flags

Flags that control how modules are linked together.

Member Functions

Name

Description

Linker [constructor]

Construct a Linker that appends into composite module M.

linkInModule

Link Src into the composite.

Static Member Functions

Name

Description

linkModules

Link Src into destination module Dest.

Created with MrDocs