https://bugs.llvm.org/show_bug.cgi?id=41898
Bug ID: 41898
Summary: --section should warn if combined with a missing
section
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-objdump
Assignee: unassignedb...@nondot.org
Reporter: jh7370.2...@my.bristol.ac.uk
CC: llvm-bugs@lists.llvm.org
If --section is specified with a section that is not found in the input, GNU
objdump warns, but llvm-objdump does not. It would be useful to have this
warning in llvm-objdump, I think:
binutils@ubuntu:~/Work$ ~/llvm/build/bin/llvm-objdump -D test.o
--section=bazzle
test.o: file format ELF64-x86-64
binutils@ubuntu:~/Work$ objdump -D test.o --section=bazzle
test.o: file format elf64-x86-64
objdump: section 'bazzle' mentioned in a -j option, but not found in any input
file
Note: when implementing this, make sure that the behaviour matches GNU for
archives where some members have the section and others don't.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs