- May 12, 2012
-
-
Jim Ingham authored
Also changed the defaults for SBThread::Step* to not delete extant plans. Also added some test cases to test more complex stepping scenarios. llvm-svn: 156667
-
- May 10, 2012
-
-
Jim Ingham authored
If the ObjC Step Through Trampoline plan causes a target crash, properly propagate the error back to the controlling plans so that they don't lose control. Also change "ThreadPlanStepThrough" to take the return StackID for its backstop breakpoint as an argument to the constructor rather than having it try to figure it out itself, since it might get it wrong whereas the caller always knows where it is coming from. rdar://problem/11402287 llvm-svn: 156529
-
- Apr 26, 2012
-
-
Enrico Granata authored
Automatically enabling the Cocoa formatter categories for command-line LLDB. Previously, the categories were filled in but disabled by default. Tweaking test cases appropriately to keep working and do the right thing llvm-svn: 155605
-
- Apr 25, 2012
-
-
Johnny Chen authored
llvm-svn: 155521
-
Sean Callanan authored
llvm-svn: 155516
-
Sean Callanan authored
ObjCPlusPlus as Objective-C classes. Really the compiler should say they have Objective-C runtime class, but we should be a little more resilient (we were refusing to find ivars in those classes before). Also added a test case. llvm-svn: 155515
-
Sean Callanan authored
test whether an object responds to a selector from outside the process. llvm-svn: 155504
-
Sean Callanan authored
case so that the Objective-C runtime doesn't complain about lack of one, causing the test case to fail. llvm-svn: 155503
-
Johnny Chen authored
llvm-svn: 155501
-
- Apr 13, 2012
-
-
Johnny Chen authored
llvm-svn: 154638
-
Johnny Chen authored
llvm-svn: 154636
-
Johnny Chen authored
Fix some test suite errors. TestForwardDecl.py errors were due to bad Makefile.rules, while TestHiddenIvars.py errors due to features only available in modern objc runtime. llvm-svn: 154635
-
- Apr 07, 2012
-
-
Sean Callanan authored
this file. llvm-svn: 154222
-
- Apr 06, 2012
-
-
Johnny Chen authored
Plus some minor cleanup of test method names. Third and final batch is coming. llvm-svn: 154197
-
- Mar 30, 2012
-
-
rdar://problem/11024417Enrico Granata authored
Disabling blocks support because of rdar://problem/11024417 - This is hopefully just a temporary countermeasure llvm-svn: 153758
-
- Mar 27, 2012
-
-
rdar://problem/11113279Greg Clayton authored
Fixed type lookups to "do the right thing". Prior to this fix, looking up a type using "foo::bar" would result in a type list that contains all types that had "bar" as a basename unless the symbol file was able to match fully qualified names (which our DWARF parser does not). This fix will allow type matches to be made based on the basename and then have the types that don't match filtered out. Types by name can be fully qualified, or partially qualified with the new "bool exact_match" parameter to the Module::FindTypes() method. This fixes some issue that we discovered with dynamic type resolution as well as improves the overall type lookups in LLDB. llvm-svn: 153482
-
- Mar 14, 2012
-
-
Johnny Chen authored
llvm-svn: 152732
-
- Mar 08, 2012
-
-
Sean Callanan authored
This takes two important changes: - Calling blocks is now supported. You need to cast their return values, but that works fine. - We now can correctly run JIT-compiled expressions that use floating-point numbers. Also, we have taken a fix that allows us to ignore access control in Objective-C as in C++. llvm-svn: 152286
-
- Mar 07, 2012
-
-
Enrico Granata authored
Fixing an issue where a ValueObject had changed its value but the 'value changed' flag was not being set. This was breaking one of our test cases llvm-svn: 152161
-
- Mar 06, 2012
-
-
Sean Callanan authored
but gated by an #ifdef until we roll LLVM/Clang to bring in the necessary parser support. llvm-svn: 152149
-
Jim Ingham authored
llvm-svn: 152101
-
- Mar 05, 2012
-
-
Johnny Chen authored
llvm-svn: 152049
-
- Mar 02, 2012
-
-
Enrico Granata authored
Adding a test case for a bug where types CFGregorianDate and CFRange were improperly uniqued by LLDB such that both where shown as having the same structure contents - The bug itself is fixed in TOT but we want to catch regressions ASAP llvm-svn: 151929
-
Sean Callanan authored
so that the expression parser can look up members of anonymous structs correctly. This meant creating all the proper IndirectFieldDecls in each Record after it has been completely populated with members. llvm-svn: 151868
-
- Mar 01, 2012
-
-
Sean Callanan authored
of Objective-C classes in header files are correctly resolved in the final type. llvm-svn: 151790
-
- Feb 23, 2012
-
-
Sean Callanan authored
llvm-svn: 151221
-
Sean Callanan authored
Objective-C classes. This allows LLDB to find ivars declared in class extensions in modules other than where the debugger is currently stopped (we already supported this when the debugger was stopped in the same module as the definition). This involved the following main changes: - The ObjCLanguageRuntime now knows how to hunt for the authoritative version of an Objective-C type. It looks for the symbol indicating a definition, and then gets the type from the module containing that symbol. - ValueObjects now report their type with a potential override, and the override is set if the type of the ValueObject is an Objective-C class or pointer type that is defined somewhere other than the original reported type. This means that "frame variable" will always use the complete type if one is available. - The ClangASTSource now looks for the complete type when looking for ivars. This means that "expr" will always use the complete type if one is available. - I added a testcase that verifies that both "frame variable" and "expr" work. llvm-svn: 151214
-
- Feb 14, 2012
-
-
Johnny Chen authored
llvm-svn: 150501
-
Johnny Chen authored
Add test cases exercising SBValue.GetObjectDescription() with the SBValue from SBTarget.FindGlobalVariables() as well as from SBFrame.GetVariables(). Both scenarios are expected to work. llvm-svn: 150450
-
- Feb 10, 2012
-
-
Enrico Granata authored
fixing a macro name mismatch that was making our test case succeed for the wrong reason; plus a minor code change to the CPP side of the test which eases debugging efforts llvm-svn: 150213
-
- Feb 09, 2012
-
-
Johnny Chen authored
llvm-svn: 150205
-
- Feb 06, 2012
-
-
Johnny Chen authored
llvm-svn: 149900
-
Johnny Chen authored
Plus mark the virtual inheritance test cases as expected failures. llvm-svn: 149891
-
- Feb 04, 2012
-
-
Sean Callanan authored
LLVM/Clang. This brings in several fixes, including: - Improvements in the Just-In-Time compiler's allocation of memory: the JIT now allocates memory in chunks of sections, improving its ability to generate relocations. I have revamped the RecordingMemoryManager to reflect these changes, as well as to get the memory allocation and data copying out fo the ClangExpressionParser code. Jim Grosbach wrote the updates to the JIT on the LLVM side. - A new ExternalASTSource interface to allow LLDB to report accurate structure layout information to Clang. Previously we could only report the sizes of fields, not their offsets. This meant that if data structures included field alignment directives, we could not communicate the necessary alignment to Clang and accesses to the data would fail. Now we can (and I have update the relevant test case). Thanks to Doug Gregor for implementing the Clang side of this fix. - The way Objective-C interfaces are completed by Clang has been made consistent with RecordDecls; with help from Doug Gregor and Greg Clayton I have ensured that this still works. - I have eliminated all local LLVM and Clang patches, committing the ones that are still relevant to LLVM and Clang as needed. I have tested the changes extensively locally, but please let me know if they cause any trouble for you. llvm-svn: 149775
-
Greg Clayton authored
instead of the __repr__. __repr__ is a function that should return an expression that can be used to recreate an python object and we were using it to just return a human readable string. Fixed a crasher when using the new implementation of SBValue::Cast(SBType). Thread hardened lldb::SBValue and lldb::SBWatchpoint and did other general improvements to the API. Fixed a crasher in lldb::SBValue::GetChildMemberWithName() where we didn't correctly handle not having a target. llvm-svn: 149743
-
Johnny Chen authored
llvm-svn: 149741
-
- Feb 03, 2012
-
-
Johnny Chen authored
llvm-svn: 149710
-
Johnny Chen authored
llvm-svn: 149707
-
- Jan 17, 2012
-
-
Jim Ingham authored
llvm-svn: 148280
-
- Jan 05, 2012
-
-
Sean Callanan authored
performing Objective-C instance variable lookup. Previously, it only completed the derived class that was the beginning of the search. Now, as it walks up the superclass chain looking for the ivar, it completes each superclass in turn. Also added a testcase covering this issue. llvm-svn: 147621
-