[PATCH] D89337: [DebugInfo][Docs] Document MIR language debug-info constructs

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 13 11:28:02 PDT 2020


jmorse created this revision.
jmorse added a reviewer: debug-info.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.
jmorse requested review of this revision.

In D85741 <https://reviews.llvm.org/D85741> Adrian suggested the experimental instruction referencing meta-instruction should be documented; further analysis shows that actually we don't document any debug info features of MIR. This patch adds explanations for debug-location, DBG_VALUE and other things, plus DBG_INSTR_REF.

Rather than trying to describe what these things mean, I've linked to source level debugging; IMO better to document the syntax in the MIR language reference, and the meaning elsewhere.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89337

Files:
  llvm/docs/MIRLangRef.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89337.297920.patch
Type: text/x-patch
Size: 4474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201013/dc5b3919/attachment.bin>


More information about the llvm-commits mailing list