http://llvm.org/bugs/show_bug.cgi?id=17227
Bug ID: 17227
Summary: Disassembly is incorrect when using lldb with ELF core
files
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
-----> Actual behaviour:
~/dev/llvm/tools/lldb/test/functionalities/inferior-assert$ ulimit -c unlimited
~/dev/llvm/tools/lldb/test/functionalities/inferior-assert$ ./a.out
~/dev/llvm/tools/lldb/test/functionalities/inferior-assert$ lldb a.out -c core
Core file '~/dev/lldb/tools/lldb/test/functionalities/inferior-assert/core'
(x86_64) was loaded.
Process 0 stopped
* thread #1: tid = 0, 0x00007fd44603a425 libc.so.6`raise + 53, name = 'a.out',
stop reason = signal SIGABRT
frame #0: 0x00007fd44603a425 libc.so.6`raise + 53
libc.so.6`raise + 53:
-> 0x7fd44603a425: addb %al, (%rax)
0x7fd44603a427: addb %al, (%rax)
0x7fd44603a429: addb %al, (%rax)
0x7fd44603a42b: addb %al, (%rax)
(lldb)
-----> Expected behaviour:
libc.so.6`raise + 53:
-> 0x7fee04de7425: cmpq $-0x1000, %rax
0x7fee04de742b: ja 0x7fee04de743f ; raise + 79
0x7fee04de742d: rep
0x7fee04de742e: ret
(lldb)
Note that the "dissasemble -a" command shows a similar pattern of
misdisassembly.
Reproduced on Ubuntu 12.04 with r190622 of llvm, clang, and lldb.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev