- May 06, 2013
-
-
Daniel Malea authored
llvm-svn: 181239
-
- May 04, 2013
-
-
Greg Clayton authored
llvm-svn: 181069
-
- May 03, 2013
-
-
Andrew Kaylor authored
llvm-svn: 180977
-
Greg Clayton authored
Mark TestConstVariables as expected to fail due to radar 13314878 on darwin. The tests are already skipped on linux. llvm-svn: 180965
-
rdar://problem/13788579Greg Clayton authored
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. llvm-svn: 180961
-
- May 02, 2013
-
-
Daniel Malea authored
- moved build logic from Makefile and TestPublicAPIHeaders.py into lldbtest to allow reuse - added decorator @skipIfi386 llvm-svn: 180955
-
Ashok Thirumurthi authored
llvm-svn: 180952
-
rdar://problem/13338477Enrico Granata authored
clang sugarcoats expressions of the sort *(int (*)[3])foo where foo is an int* saying that their type class is Paren This checkin updates our lookup tables to properly desugar Paren into the actual type of interest llvm-svn: 180938
-
- May 01, 2013
-
-
Ashok Thirumurthi authored
- Also minor improvements to the comments and the expected results. llvm-svn: 180876
-
Sean Callanan authored
Linux; marking as such. llvm-svn: 180832
-
Andrew Kaylor authored
llvm-svn: 180828
-
Sean Callanan authored
functions can be called by basename. <rdar://problem/13709855> llvm-svn: 180814
-
- Apr 27, 2013
-
-
Sean Callanan authored
access to 'z' where 'z' was not in scope. llvm-svn: 180662
-
- Apr 26, 2013
-
-
Daniel Malea authored
llvm-svn: 180636
-
Matt Kopec authored
Mark tests as expected fail for Linux due to not being able to call/print c++ demangled functions in the global namespace (bugzilla 15854). llvm-svn: 180623
-
Andrew Kaylor authored
llvm-svn: 180613
-
- Apr 25, 2013
-
-
Ashok Thirumurthi authored
- 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. llvm-svn: 180572
-
- Apr 24, 2013
-
-
Sean Callanan authored
sent to "super". <rdar://problem/13042260> llvm-svn: 180217
-
Sean Callanan authored
<rdar://problem/12977827> llvm-svn: 180215
-
Sean Callanan authored
out of the runtime. This allows calling static methods on classes whose symbols have been stripped out of the binary. <rdar://problem/12042992> llvm-svn: 180210
-
Sean Callanan authored
not find multiple functions with the same name but different types. Now we keep track of what types we've already reported for a function and only elide functions if we've already reported a conflicting one. Also added a test case. <rdar://problem/11367837> llvm-svn: 180167
-
Daniel Malea authored
llvm-svn: 180158
-
- Apr 23, 2013
-
-
Andrew Kaylor authored
llvm-svn: 180149
-
Ashok Thirumurthi authored
- Includes tests that write, read and verify vector register content. Reviewed by: Daniel Malea llvm-svn: 180143
-
Enrico Granata authored
The new ReadStringFromMemory() API does not work correctly with NSStrings that have an explicit length and no NULL terminator This checkin reverts NSString to the old behavior when appropriate, and cleans up the syntax to call the UTF Reader&Dumper function Incidentally, add a "-d" command-line flag to redo.py with the same semantics as "-d" in dotest.py llvm-svn: 180141
-
Enrico Granata authored
Splitting the appkit data formatters test in smaller test cases - this should enable us to get a more detailed perspective on which individual data formatters are broken llvm-svn: 180128
-
Daniel Malea authored
- LLDB C++ API requires C++11 - provide required -std=c++11 flag if none is specified llvm-svn: 180126
-
Daniel Malea authored
Patch by Yacine Belkadi! When __GLIBC__ is defined, optind gets initialized to 0. So for the first parsed option, parse_start is 0, too. If this option has no argument (Like "--continue" of "process attach"), then the position stored is 0, instead of 1. This prevents the completion later on in Options::HandleOptionCompletion() because the opt_pos doesn't match the cursor_index. Fix that by getting the option's position from the value of optind, as it's done for the other types of options. Re-enable test_process_attach_dash_dash_con() on Linux. No regressions detected on Mac OS X (in TestCompletion.py) llvm-svn: 180114
-
Ashok Thirumurthi authored
- Includes tests that write, verify and restore floating-point register content using SBFrame. Reviewed by: Daniel Malea llvm-svn: 180111
-
Ashok Thirumurthi authored
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 llvm-svn: 180109
-
- Apr 19, 2013
-
-
Ashok Thirumurthi authored
- New tests can fail on OS/X and Linux, and illustrate that the compiler used to generate the DWARF can result in lldb providing clang with an external AST source that doesn't describe all required struct fields. - Also includes test coverage for expressions with structs that do work on Linux- Also includes a test for dereferencing a null pointer to a struct, which works on OS/X rather than complaining, and complains on Linux with an upstream error that is really a side issue. Thanks to Samuel, Andy and Daniel for their input. llvm-svn: 179884
-
Daniel Malea authored
- now print both test name and suite llvm-svn: 179870
-
Enrico Granata authored
Adding a test case for the changes made to ValueObjects to use iteration instead of recursion for navigating to their root - beware: a regression here will most probably cause a crash instead of a failure llvm-svn: 179863
-
Ashok Thirumurthi authored
This prevents unbounded reads (i.e. reads of GetMaximumSizeOfStringSummary() bytes) from causing test failures (i.e. due to ptrace EIO or EFAULT on Linux). Note that ReadCStringFromMemory is marked as deprecated because the loop that calls ReadMemory does not continue until the string has been completely read. The expected behavior is to read until until max_bytes or a null terminator. Note: As discussed on lldb-dev, further testing will be performed with ReadStringFromMemory before further changes are made for users of ReadCStringFromMemory. Thanks to Enrico, Matt and Andy for their review feedback. llvm-svn: 179857
-
- Apr 18, 2013
-
-
Ashok Thirumurthi authored
Added unit tests for register read (should pass) and the expression interpreter (xfail) after the inferior has crashed. - Thanks to Samuel Jacob for the related reproducer. Reviewed by: Daniel Malea. llvm-svn: 179788
-
- Apr 13, 2013
-
-
Sean Callanan authored
lets a ValueObject's contents be set from raw data. This has certain limitations (notably, registers can only be set to data that is as large as the register) but will be useful for the new Materializer. I also exposed this interface through SBValue. I have added a testcase that exercises various special cases of SBValue::SetData(). llvm-svn: 179437
-
- Apr 12, 2013
-
-
Enrico Granata authored
When -T is specified, the test suite will call svn info and dump the output on screen (this used to be the default behavior) When -T is not specified, this step won't be performed (the new default) llvm-svn: 179342
-
Enrico Granata authored
When specifying a relative path for the --framework option to dotest.py, Python would end up being confused and unable to locate the embedded_interpreter module, causing every testcase that uses the Script Interpreter (e.g. functionalities/data-formatter/data-formatter-stl/libstdcpp) to fail without even trying This checkin fixes that problem by absolutizing the path before pushing it to the sys.path llvm-svn: 179341
-
rdar://problem/13558484Enrico Granata authored
This makes the dynamic values test case work for both libc++ and libstdcpp llvm-svn: 179333
-
- Apr 06, 2013
-
-
Greg Clayton authored
Now we can: 1 - see the return value for functions that return types that use the "ext_vector_size" 2 - dump values that use the vector attributes ("expr $ymm0") 3 - modified the DWARF parser to correctly parse GNU vector types from the DWARF by turning them into clang::Type::ExtVector types instead of just standard arrays llvm-svn: 178924
-