Visit each filtered symbol group in Input, invoking Callback.

Synopsis

Declared in <llvm/DebugInfo/PDB/Native/InputFile.h>

template<typename CallbackT>
Error
iterateSymbolGroups(
    InputFile& Input,
    PrintScope const& HeaderScope,
    CallbackT Callback);

Description

If DumpModi is set in the printer filters, only that module is visited. Otherwise each group that passes shouldDumpSymbolGroup is visited.

Return Value

The first Error from a callback, or success if all visits succeed.

Parameters

Name

Description

Input

The input file whose symbol groups are iterated.

HeaderScope

Print scope used for module headers and indentation.

Callback

Invoked as Callback(Modi, SG) for each selected group.

Created with MrDocs