[llvm] [llvm-objcopy] Add possibility to verify .note section format (PR #90458)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 00:21:13 PDT 2024
================
@@ -32,6 +38,8 @@
# RUN: not llvm-objcopy --add-section=.note.short=%t-short-note.bin %t.o %t-with-note.o 2>&1 | FileCheck --check-prefix=CHECK-SHORT %s
# CHECK-SHORT: .note.short data must be either empty or at least 12 bytes long
+# RUN: llvm-objcopy --add-section=.gnu.note.property=%t-gnu-note-property.bin %t.o %t-with-gnu-note-property.o
----------------
jh7370 wrote:
Shouldn't this be `.note.gnu.property` not `.gnu.note.property`?
https://github.com/llvm/llvm-project/pull/90458
More information about the llvm-commits
mailing list