llvm::getDbgRecordRange

Return the range of DbgRecords attached to DebugMarker.

Synopsis

Declared in <llvm/IR/Instruction.h>

iterator_range<simple_ilist<DbgRecord>::iterator>
getDbgRecordRange(DbgMarker* DebugMarker);

Description

Inlined because it is frequently called, but defined after DbgMarker. Users such as Instruction pre-declare it and get an inlineable body here.

Return Value

Range of records, or empty if DebugMarker is null.

Parameters

NameDescription
DebugMarkerMarker whose records are requested, or null.