headerabi

package
v0.0.0-...-3de72e3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package headerabi performs include processing given a valid ABI header dump action.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser parses clang command args to produce a CommandFlags object.

func (Parser) ParseFlags

func (h Parser) ParseFlags(ctx context.Context, command []string, workingDir, execRoot string) (*flags.CommandFlags, error)

ParseFlags is used to translate the given action command into clang compiler options, so that they can be used during input processing. Android build, throw error for unsupported flags.

type Preprocessor

type Preprocessor struct {
	*cppcompile.Preprocessor
}

Preprocessor is the preprocessor of header-abi-dumper actions.

func (*Preprocessor) ComputeSpec

func (p *Preprocessor) ComputeSpec() error

ComputeSpec computes cpp header dependencies.

func (*Preprocessor) ParseFlags

func (p *Preprocessor) ParseFlags() error

ParseFlags parses the commands flags and populates the ActionSpec object with inferred information.

Jump to

Keyboard shortcuts

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