https://bugs.llvm.org/show_bug.cgi?id=41679
Bug ID: 41679
Summary: --dynamic-table reports garbage when not PT_DYNAMIC is
present
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-readobj
Assignee: unassignedb...@nondot.org
Reporter: jakehehrl...@google.com
CC: jh7370.2...@my.bristol.ac.uk, llvm-bugs@lists.llvm.org
In working on something where I wasn't outputting a PT_DYNAMIC segment yet but
was outputting a .dynamic section I went to check the contents. I got some
garbage and after some debugging decided that my output must be right. After
checking llvm-readobj I discovered that it does not error out when it doesn't
find the dynamic table and the user asks for it.
It should report that no PT_DYNAMIC is present if the user trys to do this.
--
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