http://llvm.org/bugs/show_bug.cgi?id=15719
Bug ID: 15719
Summary: 'image lookup' and 'frame info' disagree, image lookup
is more right
Product: lldb
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
I compiled clang/llvm Release+Asserts r179146 using:
Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.1
Thread model: posix
Notice that in the following session the address of the function yields two
different source locations depending on how I asked lldb.
In this case, 'image lookup' is more correct than 'frame info'.
Notably, 'frame info' refers to line "236" while the file that it refers to
only has 172 lines.
$ lldb --version
LLDB-179.3
(lldb) image lookup --address 0x0000000100bf93a4
Address: llc[0x0000000100bf93a4] (llc.__TEXT.__text + 12549284)
Summary: llc`llvm::A64Imms::isLogicalImmBits(unsigned int, unsigned int,
unsigned long long&) + 20 at AArch64BaseInfo.cpp:1023
(lldb) frame info
frame #1: 0x0000000100b76090 llc`void
llvm::AArch64InstPrinter::printLogicalImmOperand<64u>(this=0x00000001029241a0,
MI=0x00007fff5fbfeba8, OpNum=2, O=0x00007fff5fbff608) + 64 at
AArch64InstPrinter.h:236
--
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