This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Add MI instruction 'DBG_LABEL label'.
AbandonedPublic

Authored by HsiangKai on Mar 29 2018, 7:04 AM.

Details

Reviewers
rnk
chenwj
Summary

Add new MI opcode TargetOpcode::DBG_LABEL. The MachineInstr DBG_LABEL uses
DILabel metadata as its parameter. User could call MachineInstr::getDebugLabel()
to get DILabel metadata of the MachineInstr.

Diff Detail

Repository
rL LLVM