- Sep 27, 2010
-
-
Caroline Tice authored
generated Python function, and passed the stoppoint context frame and bp_loc as parameters. llvm-svn: 114894
-
Greg Clayton authored
Remove the GetUserData()/SetUserData() from the DWARFDebugInfoEntry class. We now track everything with dense maps. llvm-svn: 114876
-
Johnny Chen authored
llvm-svn: 114875
-
Johnny Chen authored
test cases. llvm-svn: 114872
-
Johnny Chen authored
Added a special "clean" target to the types/Makefile to clean up all the *.o/.d files. The generic_type_tester() method is modified to take a set of atoms, instead of type string as a required parameter, for example: o unsigned int => set(['unsigned', 'int']) o unsigned long long => set(['unsigned', 'long long']) o long long => set(['long long']) llvm-svn: 114871
-
Caroline Tice authored
an auto-generated Python function, and pass the stoppoint context frame and breakpoint location as parameters to the function (named 'frame' and 'bp_loc'), to be used inside the breakpoint command Python code, if desired. llvm-svn: 114849
-
Johnny Chen authored
Also added "settings set -r prompt" to reset the prompt afterwards. llvm-svn: 114846
-
Caroline Tice authored
llvm-svn: 114840
-
Caroline Tice authored
Create more useful instance names for target, process and thread instances. Change default 'set' behavior so that all instance settings for the specified variable will be updated, unless the "-n" ("--no_override") command options is specified. llvm-svn: 114808
-
- Sep 25, 2010
-
-
Greg Clayton authored
113 for debugserver-113. llvm-svn: 114777
-
Greg Clayton authored
llvm-svn: 114775
-
Greg Clayton authored
Added a virtual destructor to ClangUtilityFunction with a body to it cleans itself up. Moved our SharingPtr into the lldb_private namespace to keep it easy to make an exports file that exports only what is needed ("lldb::*"). llvm-svn: 114771
-
Johnny Chen authored
llvm-svn: 114770
-
Johnny Chen authored
Extended generic_type_tester() method to take an additional keyword argument quoteDisplay (default to False) to facilitate comparison with frame variable display output of character types. llvm-svn: 114769
-
- Sep 24, 2010
-
-
Johnny Chen authored
a base of 0 so that the radix of the string is determined based on the contents of string. llvm-svn: 114764
-
Johnny Chen authored
of various combinations of data structures with unsigned int or unsigned long builtin types. llvm-svn: 114756
-
Johnny Chen authored
llvm-svn: 114739
-
Greg Clayton authored
interface in ClangASTContext. Also added two bool returning functions that indicated if an opaque clang qual type is a CXX class type, and if it is an ObjC class type. Objective C classes now will get their methods added lazily as they are encountered. The reason for this is currently, unlike C++, the DW_TAG_structure_type and owns the ivars, doesn't not also contain the member functions. This means when we parse the objective C class interface we either need to find all functions whose names start with "+[CLASS_NAME" or "-[CLASS_NAME" and add them all to the class, or when we parse each objective C function, we slowly add it to the class interface definition. Since objective C's class doesn't change internal bits according to whether it has certain types of member functions (like C++ does if it has virtual functions, or if it has user ctors/dtors), I currently chose to lazily populate the class when each functions is parsed. Another issue we run into with ObjC method declarations is the "self" and "_cmd" implicit args are not marked as artificial in the DWARF (DW_AT_artifical), so we currently have to look for the parameters by name if we are trying to omit artificial function args if the language of the compile unit is ObjC or ObjC++. llvm-svn: 114722
-
Johnny Chen authored
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. llvm-svn: 114708
-
- Sep 23, 2010
-
-
Jim Ingham authored
llvm-svn: 114674
-
Johnny Chen authored
llvm-svn: 114660
-
Johnny Chen authored
llvm-svn: 114652
-
Johnny Chen authored
llvm-svn: 114649
-
Sean Callanan authored
- Sema is now exported (and there was much rejoicing.) - Storage classes are now centrally defined. Also fixed some bugs that the new LLVM picked up. llvm-svn: 114622
-
Jim Ingham authored
llvm-svn: 114620
-
Greg Clayton authored
llvm-svn: 114616
-
Caroline Tice authored
into python-extensions.swig, which gets included into lldb.swig, and adds them back into the classes when swig generates it's C++ file. This keeps the Python stuff out of the general API classes. Also fixed a small bug in the copy constructor for SBSymbolContext. llvm-svn: 114602
-
Johnny Chen authored
actually test-and-compare anything yet. The lldbtest.TestBase has an added method setTearDownCleanup(dictionary=None) to facilitate running the cleanup right after each data type test is run. The test case can pass a dictionary object when registering the test case cleanup. There is currently only int_type test in the repository. llvm-svn: 114600
-
- Sep 22, 2010
-
-
Johnny Chen authored
rdar://problem/8464339 test/types directory: b basic_type.cpp:171 does not work, while gdb does work. llvm-svn: 114557
-
Caroline Tice authored
Add SBValueList.h & SBStream.h to build-swig-Python.sh; add SBValueList.h to lldb.swig llvm-svn: 114549
-
Jason Molenda authored
whether a given register number is treated as volatile or not for a given architecture/platform. approx 450 lines of boilerplate, 50 lines of actual code. :) llvm-svn: 114537
-
Greg Clayton authored
variety of ways they can be displayed in variable views. llvm-svn: 114530
-
Greg Clayton authored
Added some comments explaining why we currently have to manually set CXXRecordDecl variables. This is because SEMA is actually calling the accessors that should be built into the CXXRecordDecl class. We have an internal bug tracking this change and will remove the affected work around code when a solution is available. llvm-svn: 114516
-
Sean Callanan authored
expression parser's behalf so that now we see the full TranslationUnitDecl instead of just the FunctionDecl. llvm-svn: 114514
-
Johnny Chen authored
llvm-svn: 114513
-
Greg Clayton authored
or not. llvm-svn: 114512
-
Greg Clayton authored
llvm-svn: 114511
-
Johnny Chen authored
llvm-svn: 114505
-
Johnny Chen authored
themselves. Right now, it tests a breakpoint both before and after it has been resolved. Updated lldbtest.TestBase.expect() with an additional keyword argument 'exe' ( default to True), which if set to False, will treat the mandatory first argument as just the string to be matched/or not-matched against the golden input. llvm-svn: 114501
-
Caroline Tice authored
Update help text for breakpoint command one-liners. Fix minor bug in 'commands alias'; alias commands can now handle command options and arguments in the same alias. Also fixes problem that disallowed "process launch --" as an alias. Fix typo in comment in Python script interpreter. llvm-svn: 114499
-