llvm-project/lldb/test/functionalities/data-formatter/data-formatter-objc
Sean Callanan 09ab4b777c Added support to the Objective-C language runtime
to find Objective-C class types by looking in the
symbol tables for the individual object files.

I did this as follows:

- I added code to SymbolFileSymtab that vends
  Clang types for symbols matching the pattern
  "_OBJC_CLASS_$_NSMyClassName," making them
  appear as Objective-C classes.  This only occurs
  in modules that do not have debug information,
  since otherwise SymbolFileDWARF would be in
  charge of looking up types.

- I made a new SymbolVendor subclass for the
  Apple Objective-C runtime that is in charge of
  making global lookups of Objective-C types.  It
  currently just sends out type lookup requests to
  the appropriate SymbolFiles, but in the future we
  will probably extend it to query the runtime more
  completely.

I also modified a testcase whose behavior is changed
by the fact that we now actually return an Objective-C
type for __NSCFString.

llvm-svn: 145526
2011-11-30 22:11:59 +00:00
..
CFString.py CFString.py now shows contents in a more NSString-like way (e.g. you get @"Hello" instead of "Hello") 2011-08-09 23:50:01 +00:00
Makefile test cases for the new features just committed 2011-07-02 00:27:11 +00:00
TestDataFormatterObjC.py Added support to the Objective-C language runtime 2011-11-30 22:11:59 +00:00
main.m Fixed a bug where a variable could not be formatted in a summary if its datatype already had a custom format 2011-08-02 17:27:39 +00:00