Find subprogram that is enclosing this scope.

Synopsis

Declared in <llvm/IR/DebugInfo.h>

DISubprogram*
getDISubprogram(MDNode const* Scope);

Return Value

Enclosing DISubprogram for Scope, or nullptr if none.

Parameters

Name

Description

Scope

Debug scope metadata to walk upward from.

Created with MrDocs