aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@fb.com>2022-09-19 19:43:10 -0700
committerGreg Clayton <gclayton@fb.com>2022-09-22 11:35:20 -0700
commitccb47b41e4936d1d44dfbaf5aac028280c216932 (patch)
tree1ebb91594d98bb86a4b7bd9e120611b44821a012 /clang/lib/Lex/ModuleMap.cpp
parent33bc9c3bf2e09f15ea7be7bc090492fad8226b34 (diff)
downloadllvm-ccb47b41e4936d1d44dfbaf5aac028280c216932.zip
llvm-ccb47b41e4936d1d44dfbaf5aac028280c216932.tar.gz
llvm-ccb47b41e4936d1d44dfbaf5aac028280c216932.tar.bz2
Track .dwo/.dwp loading errors and notify user when viewing variables.
When debugging using Fission (-gsplit-dwarf), we can sometimes have issues loading .dwo files if they are missing or if the path was relative and we were unable to locate the file. We can also skip loading due to DWO ID mismatch or if a .dwp file doesn't contain a matching .dwo file. Also .dwo files could be updated due to a recompile and if the user debugs an executable that was linked against the old .dwo file, it could fail to load the information. This patch adds a m_dwo_error to DWARFUnit that can be get/set and will cause "frame variable" to show errors when there are .dwo/.dwp issues informing the user about the error. Differential Revision: https://reviews.llvm.org/D134252
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions