[llvm] [LangRef] Refine Header for "Preserving DI Intrinsics" Section (PR #67908)

via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 1 01:32:35 PDT 2023


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

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.

>From c3ca7569d36e5300e2f5068ddc038ea316abe9c2 Mon Sep 17 00:00:00 2001
From: Mike Rostecki <vadorovsky at protonmail.com>
Date: Sun, 1 Oct 2023 09:23:08 +0100
Subject: [PATCH] [LangRef] Refine Header for "Preserving DI Intrinsics"
 Section

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.
---
 llvm/docs/LangRef.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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.
 



More information about the llvm-commits mailing list