History log of /external/lldb/test/functionalities/register/TestRegisters.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd2b54b6d78fec6c5b68f8565150b5a6d3aaf7ca 09-Jul-2013 Andrew Kaylor <andrew.kaylor@intel.com> Change TestRegisters.py attach case to attach to a.out and enable that test case

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
31edb4b031da51f3435042a63be6ae442dced1ad 12-Jun-2013 Daniel Malea <daniel.malea@intel.com> Update TestRegisters for running on Linux (filed llvm.org/pr16301)
- skip the attach cases in TestRegisters.py -- caused slowness/sigabrt
- fixed log file removal function (in case test is run with -# flag)



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
0debb7c81a2d2f2033df41aa9f733a1df71e7baa 08-Jun-2013 Andrew Kaylor <andrew.kaylor@intel.com> Updating convenience register attach test

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183580 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
473d0da535b10bee7341002407cc3efd108bf2f9 17-May-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Modifies the log directory to ensure that the log file will be found on tear-down (i.e. for CI agents that clean up artifacts aggressively).

- Uses the cwd following the model of TestPublicAPIHeaders.py


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182116 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
6bc4dcdfbcdfa455299d2123011b82a77351ee72 15-May-2013 Daniel Malea <daniel.malea@intel.com> Clean up linux test decorators and add links to known bugs
- s/skipOnLinux/skipIfLinux/ to match style of every other decorator
- linkify bugizilla/PR numbers in comments

No intended change in functionality.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
ba50856a9fdb0af8e4be8cde0a931f25e317c3b3 14-May-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Avoid $rax for 32-bit inferiors to fix a failing i386 test on the darwin buildbots.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
2e4c63baa530e1a1952e5e44f8f3c26580f27544 13-May-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Prevent convenience registers from being included in "read register" as they are derived registers.

- Also refactors TestRegisters.py because test_convenience_registers_with_process_attach now fails with an assert.

TODO: Cross-reference the skipOnLinux decorator with a bugzilla report after root-causing this issue.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181737 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
de0201e8b6340994303dcd29526d633dcbca676e 13-May-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Fixed expression evaluation with convenience registers.

- Also improved test coverage for passing tests to include expr/x
and a sanity check for $eax as the lower half of $rax.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181727 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
c73fedb63ab170d711fb73d198451eb8db710e8d 09-May-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Fixed "log enable linux registers" and added a test.
- Eliminated the use of static for methods that read m_register_infos, so that these routines can be implemented in the base class.
- Eliminated m_register_infos in the base class because this is not used when derived classes call UpdateRegisterInfo.
- Also moved the namespace using declarations from headers to source files.

Thanks to Daniel and Samuel for their review feedback.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181538 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
beb7ac727eed7c762cdf2056a3b67b81b5c45b90 03-May-2013 Greg Clayton <gclayton@apple.com> <rdar://problem/13788579>

TestRegisters failing on buildbot on MacOSX. Some registers that were valid for linux/freebsd, were not valid on MacOSX. The tests now allow a register be skipped if it doesn't exist on the host.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180961 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
c3ba2bf99025cc3bdec5821ce44bb37b2de66d87 01-May-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Refactored convenience register tests to provide some coverage on Linux that is not marked xfail.

- Also minor improvements to the comments and the expected results.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180876 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
66bd7d7ed3f05ea14fe0630726835ddeb2d07be7 25-Apr-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Adds 64-bit POSIX support for AVX
- Adds unique enums for ymm registers to the ABI and the POSIX register context.
- Reworks the register context data structures to support a union of FXSAVE and XSAVE
--- Allows the same code base to deal with the FPU independent of the availability of AVX.
- Determine if AVX is supported by attempting to read XSAVE using ptrace.
--- Support an extended register set for avx registers if available.
- Provide a mechanism to assemble/parse register halves into a single ymm buffer for use with RegisterValue.
--- Reworked Read/WriteRegister routines to read/write/parse ymm registers.

Adds tests for ymm register write with read-back, and expressions involving ymm registers.
- Tests vary depending on the availability of an avx register set.

Thanks to Daniel and Matt for their reviews.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
538d3054100ed53ffc78f382296e35505f4aa946 23-Apr-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Added 64-bit POSIX support to write floating-point vector registers.
- Includes tests that write, read and verify vector register content.

Reviewed by: Daniel Malea


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180143 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
3a5c74d169ae862dfe4ca1d04717d952bfaa1d18 23-Apr-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Added 64-bit POSIX support to write general-purpose floating-point registers.
- Includes tests that write, verify and restore floating-point register content using SBFrame.

Reviewed by: Daniel Malea


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180111 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
0c5fa86b75ea266d1ad85d68d613da6f41e47b45 23-Apr-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Splits register_commands into a passing test on Linux (to improve test coverage),
and a failing test for register expressions.

Also factors out common setup code in preparation to add a few new tests.
Reviewed by: Daniel Malea


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180109 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
0852cbb9660c92a448468a8ec7c39fb7245eca57 28-Mar-2013 Ashok Thirumurthi <ashok.thirumurthi@intel.com> Introduces extended register sets whose availability can vary with the target processor.
- Includes a stub for AVX support in the x86-64 register context and a failing test for register sets that are unavailable.

Thanks to Greg Clayton for his review feedback.




git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@178252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
5c5f01bceb15145647726b369e947c617d4697e9 15-Feb-2013 Daniel Malea <daniel.malea@intel.com> Fix misuse of python subprocess module (caused "leaking" processes and garbling the terminal)
- fixed cleanup of Popen objects by pushing spawn logic into test Base and out of test cases
- connect subprocess stdin to PIPE (rather than the parent's STDIN) to fix silent terminal issue

Tested on Linux and Mac OS X



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@175301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
790c8690f120d55a28890bee6436d2d82e0647e0 20-Dec-2012 Andrew Kaylor <andrew.kaylor@intel.com> Mark register tests as expectedFailureLinux because of bugzilla reports 14600 and 14661.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
3a4e7856369e950679a6f2154a85cd183afb3475 19-Dec-2012 Daniel Malea <daniel.malea@intel.com> Test suite cleanup for Linux: mark test cases expected to fail due to open bugzillas
- bugzillas covered: 14323, 14600, 14541, 14437, 14540, 14541



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170564 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
b2c1a4102e3bc13ac89d605fbe524d60daf5e5de 24-Oct-2012 Greg Clayton <gclayton@apple.com> Patch from Ashok Thirumurthi that enabled FPU registers for POSIX x86_64.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166604 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
431d839a33e9a274e705f7a268a1c9de2ffc2da2 22-Sep-2012 Jim Ingham <jingham@apple.com> Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly
on the output of "break set". Please don't do this sort of thing!!!!!


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164433 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
2ed5c75ae763897f215305b749ce37b1b8496bb2 08-Jun-2012 Johnny Chen <johnny.chen@apple.com> Add a test case for r158222.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@158232 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
35f5dc76a37c7dca397566c34e4945f10ad163c1 29-May-2012 Johnny Chen <johnny.chen@apple.com> rdar://problem/11541676
Do not show the derived registers like "eax", ... for the vanilla "register read" command.
Also add a test scenario for that.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
fc34abb897227f88f098854167d9f96822b8daf8 23-May-2012 Johnny Chen <johnny.chen@apple.com> Add more convenience registers to x86_64 and a simple test scenario:

self.expect("expr -- $ax == (($ah << 8) | $al)",
substrs = ['true'])


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157302 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
6b6031dad5c9452ea95bba3f92caf522bbab01f3 22-May-2012 Johnny Chen <johnny.chen@apple.com> Fix a typo.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157278 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
96bdd736136c0de0912de32a4bdd688ba589982f 22-May-2012 Johnny Chen <johnny.chen@apple.com> Add a test case to check that eax's content equals the lower half of rax.
Plus fix the test class name as well as wrong directory path.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@157277 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py
1bc1caddf53e812ba87411f76fc15b7971930c22 07-Mar-2012 Johnny Chen <johnny.chen@apple.com> rdar://problem/10611315
expression command doesn't handle xmm or stmm registers...

o Update ClangASTContext::GetBuiltinTypeForEncodingAndBitSize() to now handle eEncodingVector.

o Modify RegisterValue::SetFromMemoryData() to fix the subtle error due to unitialized variables.

o Add a test file for "expr $xmm0".


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152190 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/register/TestRegisters.py