[lldb-dev] [Bug 16762] New: expression evaluation of an rvalue reference does not have a type with &&

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 31 08:17:07 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16762

            Bug ID: 16762
           Summary: expression evaluation of an rvalue reference does not
                    have a type with &&
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: ashok.thirumurthi at intel.com
    Classification: Unclassified

Reproducer: dotest.py --executable=/path/to/lldb lang/cpp/rvalue-reference

Expected:
  (lldb) p i
  (int &&) $1 = 3

Actual:
  (lldb) p i
  (int) $1 = 3

Note: When DW_TAG_rvalue_reference_type is available (clang trunk, gcc 4.8),
the ClangASTType is resolved by lldb, and the following test works as expected:

(lldb) frame variable i
(int &&) i = 0x00007fffc6c88768: {
  &i = 3
}

Reproduced on Linux (see the buildbots), not tested on OS/X.

-- 
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/20130731/30490074/attachment.html>


More information about the lldb-dev mailing list