[llvm] [llvm-debuginfo-analyzer][docs] Prefer --output-sort=id over offset (PR #214660)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 7 02:10:34 PDT 2026
https://github.com/richardmilles updated https://github.com/llvm/llvm-project/pull/214660
>From 4ca522b4c19c5b9dc92b2a95213b3103b8b9611c Mon Sep 17 00:00:00 2001
From: richardmilles <darkenhalneke at gmail.com>
Date: Fri, 7 Aug 2026 10:20:37 +0200
Subject: [PATCH] [llvm-debuginfo-analyzer][docs] Prefer --output-sort=id over
offset
Fixes #180726
Co-authored-by: Cursor <cursoragent at cursor.com>
---
.../CommandGuide/llvm-debuginfo-analyzer.rst | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst b/llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
index 3023d48b144dd..05c0cea2cd7f0 100644
--- a/llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
+++ b/llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
@@ -739,13 +739,13 @@ the output.
BASIC DETAILS
"""""""""""""
The following command prints basic details for all the logical elements
-sorted by the debug information internal offset; it includes its lexical
+sorted by unique element ID; it includes its lexical
level and debug info format.
.. code-block:: none
llvm-debuginfo-analyzer --attribute=level,format
- --output-sort=offset
+ --output-sort=id
--print=scopes,symbols,types,lines,instructions
test-dwarf-clang.o
@@ -754,7 +754,7 @@ or
.. code-block:: none
llvm-debuginfo-analyzer --attribute=level,format
- --output-sort=offset
+ --output-sort=id
--print=elements
test-dwarf-clang.o
@@ -1980,13 +1980,13 @@ WebAssembly 32-bit target with Clang (-O0 -g --target=wasm32):
PRINT BASIC DETAILS
^^^^^^^^^^^^^^^^^^^
The following command prints basic details for all the logical elements
-sorted by the debug information internal offset; it includes its lexical
+sorted by unique element ID; it includes its lexical
level and debug info format.
.. code-block:: none
llvm-debuginfo-analyzer --attribute=level,format
- --output-sort=offset
+ --output-sort=id
--print=scopes,symbols,types,lines,instructions
test-clang.o
@@ -1995,7 +1995,7 @@ or
.. code-block:: none
llvm-debuginfo-analyzer --attribute=level,format
- --output-sort=offset
+ --output-sort=id
--print=elements
test-clang.o
@@ -2151,13 +2151,13 @@ IR 64-bit target with Clang (-O0 -g --target=x86_64-linux):
PRINT BASIC DETAILS
^^^^^^^^^^^^^^^^^^^
The following command prints basic details for all the logical elements
-sorted by the debug information internal offset; it includes its lexical
+sorted by unique element ID; it includes its lexical
level and debug info format.
.. code-block:: none
llvm-debuginfo-analyzer --attribute=level,format
- --output-sort=offset
+ --output-sort=id
--print=scopes,symbols,types,lines,instructions
test-clang.ll
@@ -2166,7 +2166,7 @@ or
.. code-block:: none
llvm-debuginfo-analyzer --attribute=level,format
- --output-sort=offset
+ --output-sort=id
--print=elements
test-clang.ll
More information about the llvm-commits
mailing list