[PATCH] D80052: [docs] Sketch outline for HowToUpdateDebugInfo.rst

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 18 13:34:00 PDT 2020


aprantl added a comment.

This is what we've been missing!



================
Comment at: llvm/docs/HowToUpdateDebugInfo.rst:2
+========================
+How to Update Debug Info
+========================
----------------
`How to update Debug Info after a code transformation`
?


================
Comment at: llvm/docs/HowToUpdateDebugInfo.rst:29
+is a loss of debug info: the value of a one or more source variables becomes
+unavailable. When there is no way to reconsitute the value of the lost
+instruction, this is the best possible outcome. However, it's often possible to
----------------
reconstitute


================
Comment at: llvm/docs/HowToUpdateDebugInfo.rst:29
+is a loss of debug info: the value of a one or more source variables becomes
+unavailable. When there is no way to reconsitute the value of the lost
+instruction, this is the best possible outcome. However, it's often possible to
----------------
aprantl wrote:
> reconstitute
`unavailable, starting with the llvm.dbg.value(undef, ...).`


================
Comment at: llvm/docs/HowToUpdateDebugInfo.rst:102
+Cloning an Instruction
+----------------------
+
----------------
TODO
```
Merging two instructions
-----------------------------
```


================
Comment at: llvm/docs/HowToUpdateDebugInfo.rst:232
+   be precise enough), moving the test to its own file is preferred.
+
+MIR-level transformations
----------------
Do we want to add a section on SelectionDAG & GlobalISel, DAGCombine, etc?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80052/new/

https://reviews.llvm.org/D80052





More information about the llvm-commits mailing list