[Bug 14661] New: Evaluating expressions involving XMM registers fails on Linux

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

             Bug #: 14661
           Summary: Evaluating expressions involving XMM registers fails
                    on Linux
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev@cs.uiuc.edu
        ReportedBy: andrew.kaylor@intel.com
    Classification: Unclassified

Attempting to evaluate an expression involving an XMM register fails on Linux.
For instance,

  expr $xmm0

results in

  (unsigned char __attribute__((ext_vector_type(16)))) $1 = {}

and

  expr $xmm0[0]

results in

  error: Couldn't dematerialize struct : Couldn't write register xmm0
(dematerialize)
  Errored out in Execute: Couldn't FinalizeJITExpression

However,

  read register xmm0

prints the following

  xmm0 = {0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x00
0x00 0x00}

which appears correct.

Ashok Thirumurthi changed bug 14661

What Removed Added
Status NEW RESOLVED
CC ashok.thirumurthi@intel.com
Resolution FIXED

Comment # 1 on bug 14661 from Ashok Thirumurthi

Adding support to write vector registers was the final requirement to handle
expressions involving vector registers.  Note that test coverage was improved
to include ymm registers, when available, as well as a separate test for
expression evaluation involving registers.