Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

--start/stop-address should not affect symbol table or relocation printing #40872

Open Quuxplusone opened 5 years ago

Quuxplusone commented 5 years ago
Bugzilla Link PR41902
Status NEW
Importance P normal
Reported by James Henderson (jh7370.2008@my.bristol.ac.uk)
Reported on 2019-05-16 05:58:27 -0700
Last modified on 2019-06-24 11:39:34 -0700
Version trunk
Hardware PC Windows NT
CC llvm-bugs@lists.llvm.org, yuanfang.chen@sony.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also

For some reason, r281232, which added --start-address and --stop-address support to llvm-objdump caused it to affect the symbol table and relocation printing. This behaviour is untested, and not mentioned in the review or commit message. In GNU objdump the --start-address/--stop-address switches only affect disassembly, as far as I can tell. I don't see a good reason for this difference in behaviour, and it could be somewhat confusing to some people.

Quuxplusone commented 5 years ago
GNU manual

 --start-address=address
           Start displaying data at the specified address.  This affects the
           output of the -d, -r and -s options.

(no -t)