[llvm] [llvm-objdump] Add possibility to verify .note section format (PR #90458)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 21:21:35 PDT 2024
================
@@ -0,0 +1,46 @@
+## Verify that --add-section warns on invalid note sections.
+
+## Add [namesz, descsz, type, name, desc] for a build id.
+
+## Notes should be padded on 8 bytes.
+# RUN: echo -e -n "\x04\x00\x00\x00" > %t-miss-padding-note.bin
----------------
MaskRay wrote:
`RUN: printf` is more popular to craft specific bytes.
https://github.com/llvm/llvm-project/pull/90458
More information about the llvm-commits
mailing list