Slightly reduce diffs against upstream lldb, and comment out PDB support.

This commit is contained in:
Dimitry Andric 2016-08-25 21:13:16 +00:00
parent a579b914e4
commit df96a70f74
6 changed files with 11 additions and 8 deletions

View File

@ -37,7 +37,7 @@
#include "lldb/lldb-enumerations.h"
class DWARFASTParserClang;
class PDBASTParser;
//class PDBASTParser;
namespace lldb_private {
@ -533,8 +533,8 @@ public:
//------------------------------------------------------------------
DWARFASTParser *
GetDWARFParser() override;
PDBASTParser *
GetPDBParser();
// PDBASTParser *
// GetPDBParser();
//------------------------------------------------------------------
// ClangASTContext callbacks for external source lookups.
@ -1207,7 +1207,7 @@ protected:
std::unique_ptr<clang::SelectorTable> m_selector_table_ap;
std::unique_ptr<clang::Builtin::Context> m_builtins_ap;
std::unique_ptr<DWARFASTParserClang> m_dwarf_ast_parser_ap;
std::unique_ptr<PDBASTParser> m_pdb_ast_parser_ap;
// std::unique_ptr<PDBASTParser> m_pdb_ast_parser_ap;
std::unique_ptr<ClangASTSource> m_scratch_ast_source_ap;
std::unique_ptr<clang::MangleContext> m_mangle_ctx_ap;
CompleteTagDeclCallback m_callback_tag_decl;

View File

@ -20,7 +20,7 @@
// Other libraries and framework includes
#include "lldb/Target/Process.h"
#include "lldb/Target/ThreadList.h"
#include "Plugins/Process/POSIX/ProcessMessage.h"
#include "ProcessMessage.h"
#include "ProcessFreeBSD.h"
class ProcessMonitor;

View File

@ -11,7 +11,7 @@
#include "lldb/Core/RegisterValue.h"
#include "lldb/Target/Thread.h"
#include "Plugins/Process/Utility/RegisterContextPOSIX_arm.h"
#include "RegisterContextPOSIX_arm.h"
#include "ProcessFreeBSD.h"
#include "RegisterContextPOSIXProcessMonitor_arm.h"
#include "ProcessMonitor.h"

View File

@ -11,7 +11,7 @@
#include "lldb/Core/RegisterValue.h"
#include "lldb/Target/Thread.h"
#include "Plugins/Process/Utility/RegisterContextPOSIX_powerpc.h"
#include "RegisterContextPOSIX_powerpc.h"
#include "ProcessFreeBSD.h"
#include "RegisterContextPOSIXProcessMonitor_powerpc.h"
#include "ProcessMonitor.h"

View File

@ -70,6 +70,7 @@
#include "Plugins/Process/Utility/GDBRemoteSignals.h"
#include "Plugins/Process/Utility/InferiorCallPOSIX.h"
#include "Plugins/Process/Utility/StopInfoMachException.h"
//#include "Plugins/Platform/MacOSX/PlatformRemoteiOS.h"
#include "Utility/StringExtractorGDBRemote.h"
#include "GDBRemoteRegisterContext.h"
#include "ProcessGDBRemote.h"

View File

@ -92,7 +92,7 @@
#include "lldb/Utility/LLDBAssert.h"
#include "Plugins/SymbolFile/DWARF/DWARFASTParserClang.h"
#include "Plugins/SymbolFile/PDB/PDBASTParser.h"
//#include "Plugins/SymbolFile/PDB/PDBASTParser.h"
#include <stdio.h>
@ -9639,6 +9639,7 @@ ClangASTContext::GetDWARFParser()
return m_dwarf_ast_parser_ap.get();
}
#if 0
PDBASTParser *
ClangASTContext::GetPDBParser()
{
@ -9646,6 +9647,7 @@ ClangASTContext::GetPDBParser()
m_pdb_ast_parser_ap.reset(new PDBASTParser(*this));
return m_pdb_ast_parser_ap.get();
}
#endif
bool
ClangASTContext::LayoutRecordType(void *baton,