Transfer any DbgRecords on the position It onto this instruction.

Synopsis

Declared in <llvm/IR/Instruction.h>

void
adoptDbgRecords(
    BasicBlock* BB,
    InstListType::iterator It,
    bool InsertAtHead);

Description

Adopts the sequence of DbgRecords (which is efficient) if possible, or merges two sequences otherwise.

Parameters

Name

Description

BB

The basic block owning It.

It

Iterator position whose DbgRecords are transferred.

InsertAtHead

Whether adopted records are inserted at the head.

Created with MrDocs