[PATCH] D113586: [DebugInfo][NFC] Add instr-ref documentation, migration guide
Jeremy Morse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 10 10:44:01 PST 2021
jmorse created this revision.
jmorse added reviewers: StephenTozer, Orlando, TWeaver.
jmorse requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This used to be D102158 <https://reviews.llvm.org/D102158>, but all the code it describes got re-written, so I figured I'd take another shot at documenting the new instruction referencing variable locations, this time from a higher level. Happily there's no longer any need to describe LiveDebugValues in any detail seeing how it's all SSA-based now.
Probably the most important part is the explanation of what targets need to do to support instruction referencing. The list is small, mostly because there's nothing especially complicated that targets need to do: just instrument their target-specific optimisations and implement the stack spill/restore recognition target hooks.
This is a small amount of text (which is a virtue), I'm extremely happy to expand on anything.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113586
Files:
llvm/docs/InstrRefDebugInfo.md
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113586.386232.patch
Type: text/x-patch
Size: 9084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211110/7b77e4d9/attachment.bin>
More information about the llvm-commits
mailing list