[llvm-bugs] [Bug 41947] New: Dynamic zero-sized and non-function symbols should be included in disassembly
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon May 20 09:03:25 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41947
Bug ID: 41947
Summary: Dynamic zero-sized and non-function symbols should be
included in disassembly
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
For some reason, when adding dynamic symbols to the set of symbols to be used
in disassembly, only non-zero-sized function symbols are added. This does not
match GNU's behaviour, and is also inconsistent with the static symbol
behaviour. We should remove this restriction. It doesn't give us anything.
Example output for an object with two dynamic symbols (one non-function, and
one zero-sized):
objdump.exe -d stripped.o
stripped.o: file format elf64-x86-64
Disassembly of section .text:
0000000000001000 <zero_sized>:
1000: 90 nop
0000000000001001 <not_func>:
1001: 90
llvm-objdump.exe -d stripped.o
stripped.o: file format elf64-x86-64
Disassembly of section .text:
0000000000001000 .text:
1000: 90 nop
1001: 90
--
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/20190520/a0c35c58/attachment.html>
More information about the llvm-bugs
mailing list