[lld] [llvm] [llvm-readobj][ELF] Alter JSON/LLVM output on note sections to allow for multiple notes per section in JSON (PR #96813)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 29 09:57:35 PDT 2024


================
@@ -7915,22 +7915,27 @@ static void printCoreNoteLLVMStyle(const CoreNote &Note, ScopedPrinter &W) {
 template <class ELFT> void LLVMELFDumper<ELFT>::printNotes() {
   ListScope L(W, "Notes");
----------------
MaskRay wrote:

The existing `ListScope` variables use `*` instead of `*List`. I wonder whether `NoteSections` would be better.


https://github.com/llvm/llvm-project/pull/96813


More information about the llvm-commits mailing list