[PATCH] D104114: [llvm-symbolizer] improve test and fix doc example after recent --print-source-context-lines behaviour change
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 16 05:41:04 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdbc07ef5ca53: [llvm-symbolizer] improve test and fix doc example after recent --print-sourceā¦ (authored by Ben Dunbobbin <Ben.Dunbobbin at sony.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104114/new/
https://reviews.llvm.org/D104114
Files:
llvm/docs/CommandGuide/llvm-symbolizer.rst
llvm/test/tools/llvm-symbolizer/print_context.c
Index: llvm/test/tools/llvm-symbolizer/print_context.c
===================================================================
--- llvm/test/tools/llvm-symbolizer/print_context.c
+++ llvm/test/tools/llvm-symbolizer/print_context.c
@@ -20,9 +20,10 @@
// location independent.
// CHECK: inc
-// CHECK: print_context.c:3
-// CHECK: 1 : #include
-// CHECK: 2 :
-// CHECK: 3 >: int inc
-// CHECK: 4 : return
-// CHECK: 5 : }
+// CHECK-NEXT: print_context.c:3
+// CHECK-NEXT: 1 : #include
+// CHECK-NEXT: 2 :
+// CHECK-NEXT: 3 >: int inc
+// CHECK-NEXT: 4 : return
+// CHECK-NEXT: 5 : }
+// CHECK-NOT: 6
Index: llvm/docs/CommandGuide/llvm-symbolizer.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-symbolizer.rst
+++ llvm/docs/CommandGuide/llvm-symbolizer.rst
@@ -359,7 +359,7 @@
.. code-block:: console
- $ llvm-symbolizer --obj=test.elf 0x400490 --print-source-context-lines=2
+ $ llvm-symbolizer --obj=test.elf 0x400490 --print-source-context-lines=3
baz()
/tmp/test.cpp:11:0
10 : volatile int k = 42;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104114.352407.patch
Type: text/x-patch
Size: 1099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210616/c6d5fe05/attachment.bin>
More information about the llvm-commits
mailing list