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

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 05:34:27 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:

Just imo, but I think we could skip mentioning constants, on the basis that the sentence as written isn't exclusive (it doesn't specify that _only_ variables are represented by these classes), and I don't believe(?) that we use fragments for constants since we should always have a single whole definition for them, so the following text would only concern variables. No complaints from me about adding a mention of constants here, though.

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


More information about the llvm-commits mailing list