Get the block at the requested location.

Synopsis

Declared in <llvm/AsmParser/AsmParserContext.h>

BasicBlock*
getBlockAtLocation(FileLoc const& Query) const;

Description

If no block occupies the queried location, or the record is missing, a nullptr is returned.

Return Value

The basic block, or nullptr if none is found.

Parameters

Name

Description

Query

Source location to look up.

Created with MrDocs