[llvm] [LangRef] Clarify definition of fragments and debug intrinsics (PR #82019)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 04:07:41 PST 2024


================
@@ -130,6 +130,40 @@ debugging information influences optimization passes then it will be reported
 as a failure.  See :doc:`TestingGuide` for more information on LLVM test
 infrastructure and how to run various tests.
 
+.. _variables_and_variable_fragments:
+
+Variables and Variable Fragments
+================================
+
+Source language variables (or just "variables") are represented by `local
----------------
SLTozer wrote:

In the interest of not bike-shedding this patch forever, I'll avoid commenting too much more (it already looks "good enough" to me!), but I think using "data object" outside of the DWARF context may just be adding confusion. _Personally_ I feel like "Variable" is a good term, since the information here explicitly applies to just "variables" and not really to constants, but ultimately I put my vote for either "variables" or "variables and constants".

https://github.com/llvm/llvm-project/pull/82019


More information about the llvm-commits mailing list