[llvm] [LangRef] Refine header for "Preserving DI Intrinsics" section (PR #67908)

via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 1 01:33:37 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-ir

<details>
<summary>Changes</summary>

Prior to this change, the "Preserving DI Intrinsics" section was incorrectly headered, causing the documentation about BPF DI preserving intrinsics to be misplaced under the "Objective-C ARC Runtime Intrinsics" section in the document hierarchy.

This change corrects the header for the "Preserving DI Intrinsics" section, ensuring it is properly placed within the documentation hierarchy as its own distinct section.

---
Full diff: https://github.com/llvm/llvm-project/pull/67908.diff


1 Files Affected:

- (modified) llvm/docs/LangRef.rst (+2-2) 


``````````diff
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index c8f74c19bd6b3cf..4858e87645a0df1 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -27440,12 +27440,12 @@ Lowering:
 Lowers to a call to `objc_storeWeak <https://clang.llvm.org/docs/AutomaticReferenceCounting.html#arc-runtime-objc-storeweak>`_.
 
 Preserving Debug Information Intrinsics
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+---------------------------------------
 
 These intrinsics are used to carry certain debuginfo together with
 IR-level operations. For example, it may be desirable to
 know the structure/union name and the original user-level field
-indices. Such information got lost in IR GetElementPtr instruction
+indices. Such information gets lost in IR GetElementPtr instruction
 since the IR types are different from debugInfo types and unions
 are converted to structs in IR.
 

``````````

</details>


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


More information about the llvm-commits mailing list