llvm-project/lldb/source/Symbol
Enrico Granata 5d84a69731 This is a fairly bulky patch, but a lot of it involves rearranging existing code
What it does:

- it introduces a concept of EncodingToType to the ObjCLanguageRuntime
  The ObjC runtime has a "type encoding" feature that describes types as strings
  The EncodingToType is a decoder for that format, making types out of type encoding strings
This feature already existed in some shape as we were using it to create method signatures out of the runtime, but this checkin extends the parser to support the full syntax, and moves things so that more parts of LLDB have access to this decoder

- it splits the ClassDescriptorV2 object to its own file, it was starting to grow too large

- it adds to the ClassDescriptor mechanism a notion of ivar storage; the ObjC runtime vends ivar information as well as method information
While ivar information is not ready for prime type (i.e. we don't want to add it to the runtime generated types for expression evaluator usage), there are potentially useful scenarios in which realizing ivar types could be useful. For now, the ClassDescriptor is going to hold ivar information directly. Existing code already allows describing ivars, this patch hooks those moving parts up so that one can actually ask a ClassDescriptor about ivars for the class it represents

and as a couple minor niceties:
- it makes it possible to retrieve the LLDB ClangASTContext that is associated to a clang::ASTContext
- it extends the ValueObject-to-ClassDescriptor API in the language runtime to deal correctly with base-class hierarchies

llvm-svn: 216026
2014-08-19 21:46:37 +00:00
..
Block.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
CMakeLists.txt Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
ClangASTContext.cpp This is a fairly bulky patch, but a lot of it involves rearranging existing code 2014-08-19 21:46:37 +00:00
ClangASTImporter.cpp Fixed a problem in the Clang AST importer where 2014-08-01 22:42:38 +00:00
ClangASTType.cpp Revert a part of r214335 that I didn't mean to commit 2014-07-30 21:10:03 +00:00
ClangExternalASTSourceCallbacks.cpp Fix typos. 2014-07-01 21:22:11 +00:00
ClangExternalASTSourceCommon.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
ClangNamespaceDecl.cpp Added a packet history object to the GDBRemoteCommunication class that is always remembering the last 512 packets that were sent/received. These packets get dumped if logging gets enabled, or when the new expr lldb::DumpProcessGDBRemotePacketHistory (void *process, const char *log_file_path) global function is called. 2012-04-09 22:46:21 +00:00
CompileUnit.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
DWARFCallFrameInfo.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
Declaration.cpp Allow the built in ValueObject summary providers for C strings 2011-07-10 19:21:23 +00:00
FuncUnwinders.cpp Instead of having an UnwindTable own a single assembly profiler, 2014-05-23 01:48:10 +00:00
Function.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
LineEntry.cpp DWARF says line number 0 is a valid line number - used to indicate a source line that should 2013-09-27 01:15:46 +00:00
LineTable.cpp Don't allow multiple line entries with the same address to exist sequentially. 2014-06-18 19:55:34 +00:00
Makefile
ObjectFile.cpp Start converting usages of off_t to other types. 2014-07-02 17:24:07 +00:00
Symbol.cpp Fixed the Symbol code to resolve the callable address 2014-05-23 02:30:48 +00:00
SymbolContext.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
SymbolFile.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
SymbolVendor.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
Symtab.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
Type.cpp Don't crash when a SBType is handed out through the API and later used after the module that owns the type is deleted. 2014-07-11 22:43:15 +00:00
TypeList.cpp cleanup unreferenced functions 2014-03-20 06:08:36 +00:00
UnwindPlan.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
UnwindTable.cpp Add a lock in the UnwindTable class so two Targets won't try 2014-06-18 23:32:53 +00:00
Variable.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
VariableList.cpp Restore the ability of SBFrame::FindValue() to look for file global variables 2014-02-19 19:35:13 +00:00
VerifyDecl.cpp Added VerifyDecl, a function that, when LLDB is 2011-10-26 01:06:27 +00:00