[llvm] 9094a22 - [llvm-symbolizer][docs] Update --output-style=JSON example
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 7 06:21:40 PST 2021
Author: gbreynoo
Date: 2021-12-07T14:21:18Z
New Revision: 9094a2285bfc7f7f418e47bb23244078a0ffb165
URL: https://github.com/llvm/llvm-project/commit/9094a2285bfc7f7f418e47bb23244078a0ffb165
DIFF: https://github.com/llvm/llvm-project/commit/9094a2285bfc7f7f418e47bb23244078a0ffb165.diff
LOG: [llvm-symbolizer][docs] Update --output-style=JSON example
The fields output when using --output-style=JSON has changed but the
guide wasn't updated. This change fixes up the example.
Differential Revision: https://reviews.llvm.org/D115164
Added:
Modified:
llvm/docs/CommandGuide/llvm-symbolizer.rst
Removed:
################################################################################
diff --git a/llvm/docs/CommandGuide/llvm-symbolizer.rst b/llvm/docs/CommandGuide/llvm-symbolizer.rst
index 9518736c81ec9..ce4230d048c7a 100644
--- a/llvm/docs/CommandGuide/llvm-symbolizer.rst
+++ b/llvm/docs/CommandGuide/llvm-symbolizer.rst
@@ -289,7 +289,7 @@ OPTIONS
"FileName": "/tmp/test.cpp",
"FunctionName": "baz()",
"Line": 11,
- "Source": "",
+ "StartAddress": "0x4004be",
"StartFileName": "/tmp/test.cpp",
"StartLine": 9
},
@@ -299,7 +299,7 @@ OPTIONS
"FileName": "/tmp/test.cpp",
"FunctionName": "main",
"Line": 15,
- "Source": "",
+ "StartAddress": "0x4004be",
"StartFileName": "/tmp/test.cpp",
"StartLine": 14
}
@@ -315,7 +315,7 @@ OPTIONS
"FileName": "/tmp/test.cpp",
"FunctionName": "foo()",
"Line": 6,
- "Source": "",
+ "StartAddress": "0x400486",
"StartFileName": "/tmp/test.cpp",
"StartLine": 5
}
More information about the llvm-commits
mailing list