diff --git a/llvm/test/tools/llvm-readobj/ELF/gnu-notes.test b/llvm/test/tools/llvm-readobj/ELF/gnu-notes.test --- a/llvm/test/tools/llvm-readobj/ELF/gnu-notes.test +++ b/llvm/test/tools/llvm-readobj/ELF/gnu-notes.test @@ -59,7 +59,8 @@ # LLVM-NEXT: } # LLVM-NEXT: ] -## Note: there is no "Name: .note.gnu.build-id" assertion here because it is stripped. +## Note: there is no "Name: .note.gnu.build-id" assertion here because the +## section header table is not present. # LLVM-STRIPPED: Notes [ # LLVM-STRIPPED-NEXT: NoteSection { # LLVM-STRIPPED-NEXT: Offset: 0x78 @@ -73,7 +74,8 @@ # LLVM-STRIPPED-NEXT: } # LLVM-STRIPPED-NEXT: ] -## Note: offset and length printed instead of "found in: .note.gnu.build-id" because it is stripped. +## Note: offset and length printed instead of "found in: .note.gnu.build-id" +## because the section header table is not present. # GNU-STRIPPED:Displaying notes found at file offset 0x00000078 with length 0x00000020: # GNU-STRIPPED-NEXT: Owner Data size Description # GNU-STRIPPED-NEXT: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring)