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: unassignedb...@nondot.org
Reporter: jh7370.2...@my.bristol.ac.uk
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs