llvm-project/lldb/source/Symbol/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
894 B
CMake
Raw Normal View History

set(LLVM_OPTIONAL_SOURCES LocateSymbolFileMacOSX.cpp)
if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
set(PLATFORM_SOURCES LocateSymbolFileMacOSX.cpp)
endif()
add_lldb_library(lldbSymbol
ArmUnwindInfo.cpp
Block.cpp
CompactUnwindInfo.cpp
CompileUnit.cpp
CompilerDecl.cpp
Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. Create a new "lldb_private::CompilerDeclContext" class that will replace all direct uses of "clang::DeclContext" when used in compiler agnostic code, yet still allow for conversion to clang::DeclContext subclasses by clang specific code. This completes the abstraction of type parsing by removing all "clang::" references from the SymbolFileDWARF. The new "lldb_private::CompilerDeclContext" class abstracts decl contexts found in compiler type systems so they can be used in internal API calls. The TypeSystem is required to support CompilerDeclContexts with new pure virtual functions that start with "DeclContext" in the member function names. Converted all code that used lldb_private::ClangNamespaceDecl over to use the new CompilerDeclContext class and removed the ClangNamespaceDecl.cpp and ClangNamespaceDecl.h files. Removed direct use of clang APIs from SBType and now use the abstract type systems to correctly explore types. Bulk renames for things that used to return a ClangASTType which is now CompilerType: "Type::GetClangFullType()" to "Type::GetFullCompilerType()" "Type::GetClangLayoutType()" to "Type::GetLayoutCompilerType()" "Type::GetClangForwardType()" to "Type::GetForwardCompilerType()" "Value::GetClangType()" to "Value::GetCompilerType()" "Value::SetClangType (const CompilerType &)" to "Value::SetCompilerType (const CompilerType &)" "ValueObject::GetClangType ()" to "ValueObject::GetCompilerType()" many more renames that are similar. llvm-svn: 245905
2015-08-25 07:46:31 +08:00
CompilerDeclContext.cpp
CompilerType.cpp
DWARFCallFrameInfo.cpp
DebugMacros.cpp
DeclVendor.cpp
FuncUnwinders.cpp
Function.cpp
LineEntry.cpp
LineTable.cpp
LocateSymbolFile.cpp
ObjectFile.cpp
PostfixExpression.cpp
Symbol.cpp
SymbolContext.cpp
SymbolFile.cpp
SymbolVendor.cpp
Symtab.cpp
Type.cpp
TypeList.cpp
TypeMap.cpp
TypeSystem.cpp
UnwindPlan.cpp
UnwindTable.cpp
Variable.cpp
VariableList.cpp
${PLATFORM_SOURCES}
LINK_LIBS
lldbCore
lldbExpression
lldbHost
lldbTarget
lldbUtility
lldbPluginObjCLanguage
LINK_COMPONENTS
Support
)