[llvm] [llvm][ELF]Add Shdr check for getBuildID (PR #126537)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 21 01:03:50 PST 2025
================
@@ -15,3 +15,26 @@ FileHeader:
Type: ET_EXEC
Machine: EM_X86_64
EPhOff: 0xffffff
+
+
+# RUN: yaml2obj --docnum=2 %s -o %t.note.err
+# RUN: llvm-objdump -D %t.note.err 2>&1 | \
+# RUN: FileCheck %s --check-prefix=PFILESIZE
+
+# PFILESIZE: Disassembly of section .note.gnu.build-id:
----------------
jh7370 wrote:
This check simply shows that disassembly of the section has been attempted. It doesn't show anything about any warnings or errors that have been produced. I'm not sure how useful it is.
https://github.com/llvm/llvm-project/pull/126537
More information about the llvm-commits
mailing list