This changes the output of llvm-readelf -n from:
Displaying notes found at file offset 0x<...> with length 0x<...>:
to:
Displaying notes found in: .note.foo
And similarly, adds a Name: field to the llvm-readobj -n output for notes.
This change not only increases GNU compatibility, it also makes it much easier to read notes. Note that we still fall back to printing the file offset/length in cases where we don't have a section name, such as when printing notes in program headers or printing notes in a partially stripped file (GNU readelf does the same).
Fixes llvm.org/PR41339.
Worth a comment that it has no name.