[llvm-bugs] [Bug 41898] New: --section should warn if combined with a missing section
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu May 16 03:43:23 PDT 2019
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: unassignedbugs at nondot.org
Reporter: jh7370.2008 at my.bristol.ac.uk
CC: llvm-bugs at 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 at ubuntu:~/Work$ ~/llvm/build/bin/llvm-objdump -D test.o
--section=bazzle
test.o: file format ELF64-x86-64
binutils at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190516/c97a6e11/attachment.html>
More information about the llvm-bugs
mailing list