llvm::isCompileUnit

True if U is a compile unit (not a type unit).

Synopsis

Declared in <llvm/DebugInfo/DWARF/DWARFUnit.h>

bool
isCompileUnit(std::unique_ptr<DWARFUnit> const& U);

Return Value

True if U is a compile unit (not a type unit).

Parameters

NameDescription
UUnit unique_ptr to test.