Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
func ContextFromTriple ¶
ContextFromTriple returns a new go/build.Context with GOOS and GOARCH configured from the given triple.
type LLVMIRReadCloser ¶
type LLVMIRReadCloser struct { io.ReadCloser // contains filtered or unexported fields }
LLVMIRReadCloser wraps an io.ReadCloser, transforming the leading comments of the file such that they are preceded with "//" rather than standard LLVM IR comments ("; blah").
This type is intended to be used in the OpenFile field of go/build's Context type.
func NewLLVMIRReader ¶
func NewLLVMIRReader(r io.ReadCloser) *LLVMIRReadCloser
Click to show internal directories.
Click to hide internal directories.