History log of /external/lldb/test/types/basic_type.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c21e523a1a7eb74d74d07990c5c12c16982ad1d9 11-Jan-2012 Johnny Chen <johnny.chen@apple.com> Add comment for build_and_run_with_source_atoms_expr() and remove redundant #include from basic_type.cpp.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147895 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/types/basic_type.cpp
8563081f48492def461f065b22d8fc502ea6807c 10-Jan-2012 Johnny Chen <johnny.chen@apple.com> Refactor the test/types directory to reduce some stupid reduant code.
Also add test cases to the test suite to exercise displaying of variables captured inside a block (Darwin-only).


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/types/basic_type.cpp
c9aabf097245642531d74410ff1371a97991af64 21-Jun-2011 Johnny Chen <johnny.chen@apple.com> Simplify the the generic AbstractBase.py test base for testing variable types.
We still have the the issue where running:

./dotest.py -v types

we have test failures where the inferior either runs to exited with status 0 or
the inferior stops but not because of breakpoint (for example):

runCmd: process status
output: Process 90060 stopped
* thread #1: tid = 0x2d03, 0x000000010000e2ca, stop reason = EXC_BAD_ACCESS (code=2, address=0x10000e2ca)
frame #0: 0x000000010000e2ca

There are two cases where the inferior stops for the breakpoint (good), but the expression parser
prints out the wrong information. The two failures are:

Failure-TestFloatTypesExpr.FloatTypesExprTestCase.test_double_type_with_dsym.log
Failure-TestFloatTypesExpr.FloatTypesExprTestCase.test_double_type_with_dwarf.log

I'll file a radar on the two expression parser misbehave, while continue investigating why the
inferior stops for the wrong reason or does not stop at all.

For now, you'll need to do:

./dotest.py -v -w types


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133488 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/types/basic_type.cpp
e6bd142d9fa7ed149bd37efd8a75637375f165b7 20-Jun-2011 Jim Ingham <jingham@apple.com> Use the dyld_mode, image_infos & image_infos_count passed into the shared library notification function
to update libraries rather than reading the whole all_imaage_infos structure every time we get notified.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133448 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/types/basic_type.cpp
091bb1de9d5cd0f974b91da621e638a22f5b03b5 24-Sep-2010 Johnny Chen <johnny.chen@apple.com> Added a generic_type_tester() to the TestBasicTypes class to be used for
testing various combinations of displaying variales of basic types.

The generic_type_tester() works by first capturing the golden output produced
by the printf stmts of ./a.out, creating a list of (var, value) pairs, and then
running the a.out to a stop point, and comparing the 'frame variable var' output
against the list of (var, value) pairs.

Modified int_type() and added long_type() to use generic_type_tester().

Also modified TestBase.expect() such that substring matching also return ok if
the substring starts at the 0-th position.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114708 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/types/basic_type.cpp
832ad6ec43d2839ccd1c1b26cf742a7204ad4183 23-Sep-2010 Johnny Chen <johnny.chen@apple.com> Fixed a typo in member name; should be m_b, not b_a.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114660 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/types/basic_type.cpp
93fda3d51b807911821f4a37cb38c1245b26053b 22-Sep-2010 Johnny Chen <johnny.chen@apple.com> Changed to facilitate 'breakpoint set -n Puts', then 'thread step-out' to workaround
rdar://problem/8464339 test/types directory: b basic_type.cpp:171 does not work, while gdb does work.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114557 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/types/basic_type.cpp
785275c80c685b58d29619a21a73ea937a075dcf 22-Sep-2010 Greg Clayton <gclayton@apple.com> Added the start of a test case that will test all basic types and all the
variety of ways they can be displayed in variable views.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114530 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/types/basic_type.cpp