[PATCH] D115164: [llvm-symbolizer][docs] Update --output-style=JSON example

Owen Reynolds via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 6 08:59:31 PST 2021


gbreynoo created this revision.
gbreynoo added reviewers: MaskRay, jhenderson.
gbreynoo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The fields output when using `--output-style=JSON` has changed but the guide wasn't updated. This change fixes up the example.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115164

Files:
  llvm/docs/CommandGuide/llvm-symbolizer.rst


Index: llvm/docs/CommandGuide/llvm-symbolizer.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-symbolizer.rst
+++ llvm/docs/CommandGuide/llvm-symbolizer.rst
@@ -289,7 +289,7 @@
             "FileName": "/tmp/test.cpp",
             "FunctionName": "baz()",
             "Line": 11,
-            "Source": "",
+            "StartAddress": "0x4004be",
             "StartFileName": "/tmp/test.cpp",
             "StartLine": 9
           },
@@ -299,7 +299,7 @@
             "FileName": "/tmp/test.cpp",
             "FunctionName": "main",
             "Line": 15,
-            "Source": "",
+            "StartAddress": "0x4004be",
             "StartFileName": "/tmp/test.cpp",
             "StartLine": 14
           }
@@ -315,7 +315,7 @@
             "FileName": "/tmp/test.cpp",
             "FunctionName": "foo()",
             "Line": 6,
-            "Source": "",
+            "StartAddress": "0x400486",
             "StartFileName": "/tmp/test.cpp",
             "StartLine": 5
           }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115164.392089.patch
Type: text/x-patch
Size: 1055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211206/d798c258/attachment.bin>


More information about the llvm-commits mailing list