[llvm] [llvm-readobj] Fixes malformed json on JSON printed corefiles (PR #92835)
Fred Grim via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 07:13:34 PDT 2024
================
@@ -3,6 +3,8 @@
# RUN: yaml2obj %s -o %t.o
# RUN: llvm-readelf --notes %t.o | FileCheck %s --check-prefix=GNU
# RUN: llvm-readobj --notes %t.o | FileCheck %s --check-prefix=LLVM
+# RUN: llvm-readelf --elf-output-style=JSON --pretty-print --notes %t.o | FileCheck %s --check-prefix=JSON
+# RUN: llvm-readobj --elf-output-style=JSON --pretty-print --notes %t.o | FileCheck %s --check-prefix=JSON
----------------
feg208 wrote:
seems like the practice is to omit readelf
https://github.com/llvm/llvm-project/pull/92835
More information about the llvm-commits
mailing list