Documentation ¶ Index ¶ func Run(cfg *Config) (*declextract.Output, error) type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(cfg *Config) (*declextract.Output, error) Run runs the clang tool on all files in the compilation database in the kernel build dir and returns combined output for all files. It always caches results, and optionally reuses previously cached results. Types ¶ type Config ¶ type Config struct { ToolBin string KernelSrc string KernelObj string CacheFile string DebugTrace io.Writer } Source Files ¶ View all Source files clangtool.go Click to show internal directories. Click to hide internal directories.