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: [email protected]
          Reporter: [email protected]
    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.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to