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,6 +59,7 @@ # LLVM-NEXT: } # LLVM-NEXT: ] +## Note: there is no "Name: .note.gnu.build-id" assertion here because it is stripped. # LLVM-STRIPPED: Notes [ # LLVM-STRIPPED-NEXT: NoteSection { # LLVM-STRIPPED-NEXT: Offset: 0x78 @@ -72,6 +73,7 @@ # LLVM-STRIPPED-NEXT: } # LLVM-STRIPPED-NEXT: ] +## Note: offset and length printed instead of "found in: .note.gnu.build-id" because it is stripped. # 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)