From 1cbe0038944a39ba79078997f9c65ba8abf6fbdd Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 14 Nov 2019 13:57:49 -0800 Subject: [-gmodules] Let LLDB log a warning if the Clang module hash mismatches. This feature is mostly there to aid debugging of Clang module issues, since the only useful actual the end-user can to is to recompile their program. Differential Revision: https://reviews.llvm.org/D70272 --- lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h') diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h index 1b8633ad1f1..a86350844ef 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h @@ -300,6 +300,9 @@ public: virtual llvm::Optional GetDwoNum() { return llvm::None; } + /// If this is a DWARF object with a single CU, return its DW_AT_dwo_id. + llvm::Optional GetDWOId(); + static bool DIEInDeclContext(const lldb_private::CompilerDeclContext *parent_decl_ctx, const DWARFDIE &die); -- cgit v1.2.3