aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2020-06-04 14:33:17 -0700
committerVedant Kumar <vsk@apple.com>2020-06-18 14:05:45 -0700
commitb4459b597a676065f666b75e46815758da09d4aa (patch)
treecd938c8dcfb1d9da19f34b578726b93cea523fb1 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent9989e81679580012054811d9106345fcde68c11f (diff)
downloadllvm-b4459b597a676065f666b75e46815758da09d4aa.zip
llvm-b4459b597a676065f666b75e46815758da09d4aa.tar.gz
llvm-b4459b597a676065f666b75e46815758da09d4aa.tar.bz2
[docs] Specify rules for updating debug locations
Summary: Restructure HowToUpdateDebugInfo.rst to specify rules for when transformations should preserve, merge, or drop debug locations. The goal is to have clear, well-justified rules that come with a few examples and counter-examples, so that pass authors can pick the best strategy for managing debug locations depending on the specific task at hand. I've tried to set down sensible rules here that mostly align with what we already do in llvm today, and that take a diverse set of use cases into account (interactive debugging, crash triage, SamplePGO). Please *do* try to pick these rules apart and suggest clarifications or improvements :). Side note: Prior to 24660ea1, this document was structured as a long list of very specific code transformations -- the idea being that we would fill in what to do in each specific case. I chose to reorganize the document as a list of actions to take because it drastically cuts down on the amount of redundant exposition/explanation needed. I hope that's fine... Reviewers: jmorse, aprantl, dblaikie Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81198
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions