Leonard Grey 21b36423c5
[LLDB][NativePDB] Introduce PdbAstBuilderClang (#175840)
This changes `PdbAstBuilder` to a language-neutral abstract interface
and moves all of its functionality to the `PdbAstBuilderClang` derived
class.

All Clang-specific methods with external callers are now public methods
on `PdbAstBuilderClang`. `TypeSystemClang` and `UdtRecordCompleter` use
`PdbAstBuilderClang` directly.

Did my best to clean up includes and unused methods.

RFC for context:

https://discourse.llvm.org/t/rfc-lldb-make-pdbastbuilder-language-agnostic/89117
2026-01-14 18:28:09 -05:00

28 lines
532 B
CMake

add_lldb_library(lldbPluginSymbolFileNativePDB
CodeViewRegisterMapping.cpp
CompileUnitIndex.cpp
DWARFLocationExpression.cpp
PdbAstBuilderClang.cpp
PdbFPOProgramToDWARFExpression.cpp
PdbIndex.cpp
PdbSymUid.cpp
PdbUtil.cpp
SymbolFileNativePDB.cpp
UdtRecordCompleter.cpp
LINK_COMPONENTS
DebugInfoCodeView
DebugInfoPDB
Support
TargetParser
LINK_LIBS
lldbCore
lldbSymbol
lldbUtility
lldbPluginTypeSystemClang
lldbPluginObjectFilePDB
CLANG_LIBS
clangAST
clangLex
)