[PATCH] D58726: [DebugInfo][Docs] Explicitly document how dbg.value intrinsics are interpreted in optimized code

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 06:06:13 PST 2019


jmorse marked an inline comment as done.
jmorse added inline comments.


================
Comment at: docs/SourceLevelDebugging.rst:413
+Recording this debugging information exposes it to optimization transformations
+to a much greater extent. For example:
+
----------------
vsk wrote:
> Can this sentence ('Recording ... to a much greater extent') be a bit more direct? It might work to simply move it after the next paragraph, saying e.g. 'Care must be taken to update dbg.value intrinsics when: ...'.
I've folded that portion into one paragraph: hopefully now the reader will see:
 * Care is required when [things move],
 * The risk is that developers _observe_ such movements,
 * [middle sentence explaining why this is bad]...


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

https://reviews.llvm.org/D58726





More information about the llvm-commits mailing list