[-gmodules] Let LLDB log a warning if the Clang module hash mismatches.
authorAdrian Prantl <aprantl@apple.com>
Thu, 14 Nov 2019 21:57:49 +0000 (13:57 -0800)
committerAdrian Prantl <aprantl@apple.com>
Fri, 15 Nov 2019 19:52:13 +0000 (11:52 -0800)
commit1cbe0038944a39ba79078997f9c65ba8abf6fbdd
tree56f59d50075a7e99c26c27829c5c36a2e134cf4c
parent7d71dd928d1dcc838dc4dbe5cf294f557609f271
[-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/include/lldb/Utility/Log.h
lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/TestClangModulesHashMismatch.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/main.m [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/lang/objc/modules-hash-mismatch/other.m [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/make/Makefile.rules
lldb/source/Host/common/Host.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h