[lldb-dev] [Bug 25087] New: Stripped symbol handling when using dwo sdebug info
via lldb-dev
lldb-dev at lists.llvm.org
Wed Oct 7 03:00:06 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25087
Bug ID: 25087
Summary: Stripped symbol handling when using dwo sdebug info
Product: lldb
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: tberghammer at google.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
If we use dsym/dwarf as a debug info and a symbol is removed from the object
file during linking (because it is unused) then LLDB correctly reports an error
when the user want to set a breakpoint on it.
In case of dwo debug info the symbol will be still available in the *.dwo file
as it isn't modified by the linker when it removed the unused function. Because
of it LLDB will set a breakpoint at address 0x0 (the address stored at the
location where the symbol address should be stored in the executable) instead
of reporting an error.
For a test case see: DeadStripTestCase.test
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20151007/b66f6a73/attachment.html>
More information about the lldb-dev
mailing list