[llvm] [llvm-readobj][ELF] Fix broken JSON output with --dynamic-table (PR #95976)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 19 00:30:55 PDT 2024
================
@@ -138,6 +141,316 @@
# GNU64-NEXT: 0x0000000076543210 (<unknown:>0x76543210) 0x5555666677778888
# GNU64-NEXT: 0x0000000000000000 (NULL) 0x0
+# JSON64:"DynamicSection": [
+# JSON64-NEXT: {
+# JSON64-NEXT: "Tag": 1,
+# JSON64-NEXT: "Value": "Shared library: [D]",
+# JSON64-NEXT: "Type": "NEEDED"
+# JSON64-NEXT: },
+# JSON64-NEXT: {
+# JSON64-NEXT: "Tag": 2,
+# JSON64-NEXT: "Value": "16 (bytes)",
----------------
jh7370 wrote:
Nit: something weird here with the indentation.
https://github.com/llvm/llvm-project/pull/95976
More information about the llvm-commits
mailing list