[lldb-dev] [Bug 15719] New: 'image lookup' and 'frame info' disagree, image lookup is more right

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 10 17:21:29 PDT 2013


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: lldb-dev at cs.uiuc.edu
          Reporter: david.majnemer at gmail.com
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130411/b9331443/attachment.html>


More information about the lldb-dev mailing list