llvm

package
v0.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	// contains filtered or unexported fields
}

Env represents an LLVM installation.

func New

func New(llvmConfigBin string) *Env

New creates a new Env instance.

func (*Env) BinDir added in v0.8.10

func (e *Env) BinDir() string

BinDir returns the directory containing LLVM executables. An empty string means LLVM executables are assumed to be in PATH.

func (*Env) Clang added in v0.8.10

func (e *Env) Clang() *clang.Cmd

Clang returns a new clang.Cmd instance.

func (*Env) InstallNameTool added in v0.9.2

func (e *Env) InstallNameTool() *install_name_tool.Cmd
func (e *Env) Link() *llvmlink.Cmd

Link returns a new llvmlink.Cmd instance.

func (*Env) Nm

func (e *Env) Nm() *nm.Cmd

Nm returns a new nm.Cmd instance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL