Documentation ¶
Index ¶
- type BearCC
- func (c *BearCC) AddFlags(flags ...string)
- func (c *BearCC) DropFlags(flags ...string)
- func (c *BearCC) GetDirectory() string
- func (c *BearCC) GetFile() string
- func (c *BearCC) GetTarget() string
- func (c *BearCC) ReplaceCompiler(newcompiler string)
- func (c *BearCC) ReplaceTargetExt(newext string)
- func (c *BearCC) Run() error
- func (c *BearCC) SplitArgs() []string
- func (c *BearCC) String() string
- func (c *BearCC) SwitchToC99()
- func (c *BearCC) SwitchToO0()
- type BuildOptions
- type CCStyle
- type CMakeCC
- func (c *CMakeCC) AddFlags(flags ...string)
- func (c *CMakeCC) DropFlags(flags ...string)
- func (c *CMakeCC) GetDirectory() string
- func (c *CMakeCC) GetFile() string
- func (c *CMakeCC) GetTarget() string
- func (c *CMakeCC) ReplaceCompiler(newcompiler string)
- func (c *CMakeCC) ReplaceTargetExt(newext string)
- func (c *CMakeCC) Run() error
- func (c *CMakeCC) SplitArgs() []string
- func (c *CMakeCC) String() string
- func (c *CMakeCC) SwitchToC99()
- func (c *CMakeCC) SwitchToO0()
- type CompilerCommand
- type CompilerDatabase
- func (d *CompilerDatabase) Dump()
- func (d *CompilerDatabase) EmitClangAST(clang string)
- func (d *CompilerDatabase) EmitLLVM(clang string)
- func (d *CompilerDatabase) GetAllExistTargets() []string
- func (d *CompilerDatabase) LLVMLink(output string) error
- func (d *CompilerDatabase) Load(ccjson string)
- func (d *CompilerDatabase) Rewrite(ccjson string)
- func (d *CompilerDatabase) Run()
- func (d *CompilerDatabase) RunOnly(file string)
- func (d *CompilerDatabase) RunParallel()
- type LLVMDis
- type Linker
- type Opt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BearCC ¶
type BearCC struct { Directory string `json:"directory"` Args []string `json:"arguments"` File string `json:"file"` }
func (*BearCC) GetDirectory ¶
func (*BearCC) ReplaceCompiler ¶
func (*BearCC) ReplaceTargetExt ¶
func (*BearCC) SwitchToC99 ¶
func (c *BearCC) SwitchToC99()
func (*BearCC) SwitchToO0 ¶
func (c *BearCC) SwitchToO0()
type BuildOptions ¶
type CMakeCC ¶
type CMakeCC struct { Directory string `json:"directory"` Command string `json:"command"` File string `json:"file"` }
func (*CMakeCC) GetDirectory ¶
func (*CMakeCC) ReplaceCompiler ¶
func (*CMakeCC) ReplaceTargetExt ¶
func (*CMakeCC) SwitchToC99 ¶
func (c *CMakeCC) SwitchToC99()
func (*CMakeCC) SwitchToO0 ¶
func (c *CMakeCC) SwitchToO0()
type CompilerCommand ¶
type CompilerDatabase ¶
type CompilerDatabase struct { BuildOptions Commands []CompilerCommand TopDir string // contains filtered or unexported fields }
func NewCompilerDataBase ¶
func NewCompilerDataBase() *CompilerDatabase
func (*CompilerDatabase) Dump ¶
func (d *CompilerDatabase) Dump()
func (*CompilerDatabase) EmitClangAST ¶
func (d *CompilerDatabase) EmitClangAST(clang string)
func (*CompilerDatabase) EmitLLVM ¶
func (d *CompilerDatabase) EmitLLVM(clang string)
func (*CompilerDatabase) GetAllExistTargets ¶
func (d *CompilerDatabase) GetAllExistTargets() []string
func (*CompilerDatabase) LLVMLink ¶
func (d *CompilerDatabase) LLVMLink(output string) error
func (*CompilerDatabase) Load ¶
func (d *CompilerDatabase) Load(ccjson string)
func (*CompilerDatabase) Rewrite ¶
func (d *CompilerDatabase) Rewrite(ccjson string)
func (*CompilerDatabase) Run ¶
func (d *CompilerDatabase) Run()
func (*CompilerDatabase) RunOnly ¶
func (d *CompilerDatabase) RunOnly(file string)
func (*CompilerDatabase) RunParallel ¶
func (d *CompilerDatabase) RunParallel()
type LLVMDis ¶
func NewDefaultLLVMDis ¶
type Linker ¶
func NewLLVMLinker ¶
func NewLLVMLinker() *Linker
Click to show internal directories.
Click to hide internal directories.