- Sep 22, 2012
-
-
Jim Ingham authored
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!!!!! llvm-svn: 164433
-
Jim Ingham authored
<rdar://problem/11333623> llvm-svn: 164432
-
- Sep 21, 2012
-
-
Enrico Granata authored
This feature allows us to group test cases into logical groups (categories), and to only run a subset of test cases based on these categories. Each test-case can have a new method getCategories(self): which returns a list of strings that are the categories to which the test case belongs. If a test-case does not provide its own categories, we will look for categories in the class that contains the test case. If that fails too, the default implementation looks for a .category file, which contains a comma separated list of strings. The test suite will recurse look for .categories up until the top level directory (which we guarantee will have an empty .category file). The driver dotest.py has a new --category <foo> option, which can be repeated, and specifies which categories of tests you want to run. (example: ./dotest.py --category objc --category expression) All tests that do not belong to any specified category will be skipped. Other filtering options still exist and should not interfere with category filtering. A few tests have been categorized. Feel free to categorize others, and to suggest new categories that we could want to use. All categories need to be validly defined in dotest.py, or the test suite will refuse to run when you use them as arguments to --category. In the end, failures will be reported on a per-category basis, as well as in the usual format. This is the very first stage of this feature. Feel free to chime in with ideas for improvements! llvm-svn: 164403
-
Greg Clayton authored
llvm-svn: 164378
-
Sean Callanan authored
where the descriptor took a pointer to an object and expected the Initialize function to dereference that pointer and extract the isa value. This caused one of our tests to fail. llvm-svn: 164353
-
rdar://problem/9959501Greg Clayton authored
KDP -- now with rudimentary process control (continue only) and read + write registers (which means we can see stack frames) for x86_64, i386 and ARM. llvm-svn: 164352
-
Enrico Granata authored
Fixing a logic error where we would incorrectly show the newly crafted function not found error for a Python function in some cases where the function actually existed and had an empty docstring llvm-svn: 164334
-
Sean Callanan authored
not correctly store the contents of Objective-C classes. This was due to a combination of factors: 1) Types were only being completed if we were looking inside them for specific ivars (using FindExternalVisibleDeclsByName). We now look the complete type up at every FindExternalLexicalDecls. 2) Even if the types were completed properly, ValueObjectConstResult overrode the type of every ValueObject using the complete type for its class from the debug information. Superclasses of complete classes are not guaranteed to be complete. Although "frame variable" uses the debug information, the expression parser does now piece together complete types at every level (as described in Bullet 1), so I provided a way for the expression parser to prevent overriding. 3) Type sizes were being miscomputed by ClangASTContext. It ignored the ISA pointer and only counted fields. We now correctly count the ISA in the size of an object. <rdar://problem/12315386> llvm-svn: 164333
-
Greg Clayton authored
llvm-svn: 164331
-
Greg Clayton authored
llvm-svn: 164328
-
Greg Clayton authored
llvm-svn: 164327
-
- Sep 20, 2012
-
-
Greg Clayton authored
Compile shared libraries with dSYM files when requested on darwin. Prior to this, we never had dSYM files for shared libraries unless it was a dylib only Makefile. llvm-svn: 164322
-
rdar://problem/12315386Greg Clayton authored
Test suite to catch fragile base class ivar issues. llvm-svn: 164321
-
Sean Callanan authored
We can now read the relevant data structures for the method list, and use a callback mechanism to report their details to the AppleObjCTypeVendor, which constructs appropriate Clang types. llvm-svn: 164310
-
Jason Molenda authored
llvm-svn: 164291
-
Jason Molenda authored
get FormatManager.cpp to build on no-python platforms again. llvm-svn: 164284
-
Greg Clayton authored
A patch that allows for mach-o architectures to be specified as "<number>-<number>" where the first number is the cpu type and the second is the cpu subtype. Also added code to allow use of mach-o architectures that aren't in our tables so that symbolication and static file introspection (crashlogs) can work with them. llvm-svn: 164258
-
Greg Clayton authored
Don't get everything when resolving the symbol context of the ObjC Class symbol, just the module + symbol. llvm-svn: 164257
-
Sean Callanan authored
an out-of-date compiler in certain cases. llvm-svn: 164255
-
- Sep 19, 2012
-
-
Filipe Cabecinhas authored
llvm-svn: 164227
-
Sean Callanan authored
data structures more rapidly. Also added fields for the other data structures in a class. I also fixed a problem where I accidentally used hasExternalLexicalStorage() instead of hasExternalVisibleStorage() to mark an incomplete object. llvm-svn: 164197
-
Greg Clayton authored
llvm-svn: 164192
-
rdar://problem/11752499Greg Clayton authored
Improve error messages when memory read/write fails. llvm-svn: 164188
-
rdar://problem/12125274Greg Clayton authored
Intentionally leak the module list to avoid unnecessary freeing of modules + object files + symbol files when the program is exiting. llvm-svn: 164184
-
Jason Molenda authored
detect strtoul parse failure instead of return value of 0. <rdar://problem/12198994> llvm-svn: 164183
-
- Sep 18, 2012
-
-
rdar://problem/12188843Enrico Granata authored
<rdar://problem/12188843> Fixing a problem where a Python command created in the same module where the target function is defined causes the help string not to come out llvm-svn: 164172
-
Sean Callanan authored
populate Clang ObjCInterfaceDecls with their ivars, methods, and properties. The default implementation does nothing. I have also made sure that AppleObjCRuntimeV2 creates ObjCInterfaceDecls that actually get queried appropriately. llvm-svn: 164164
-
rdar://problem/11398693Enrico Granata authored
<rdar://problem/11398693> Making sure we do not attempt to run code on zombie objects when attempting to format them llvm-svn: 164156
-
rdar://problem/12219840Greg Clayton authored
Don't leak mach ports when calling "mach_thread_self()". llvm-svn: 164152
-
Enrico Granata authored
llvm-svn: 164151
-
-
Greg Clayton authored
Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. Some platforms don't support this modification. llvm-svn: 164148
-
rdar://problem/11988289Enrico Granata authored
<rdar://problem/11988289> Making C++ synthetic children provider for NSDictionary and related classes llvm-svn: 164144
-
Enrico Granata authored
Making ClangExpression hold on to a WP to the Process instead of a SP. This fix should enable us to have per-process maps of ClangExpressions without fear of keeping the process alive forever llvm-svn: 164082
-
Jim Ingham authored
llvm-svn: 164081
-
- Sep 17, 2012
-
-
Enrico Granata authored
llvm-svn: 164050
-
Sean Callanan authored
stomped on. llvm-svn: 164049
-
Enrico Granata authored
llvm-svn: 164048
-
- Sep 15, 2012
-
-
Jason Molenda authored
building on no-Python systems again. llvm-svn: 163961
-
Sean Callanan authored
the dynamic and static runtime class tables to construct our isa table. This is putting the runtime in contact with unrealized classes, which we need to deal with in order to get accurate information. That's the next piece of work. <rdar://problem/10986023> llvm-svn: 163957
-