aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorVassil Vassilev <v.g.vassilev@gmail.com>2022-12-05 07:18:23 +0000
committerVassil Vassilev <v.g.vassilev@gmail.com>2022-12-05 07:39:19 +0000
commitc95a0c91c0de66eb1066f23c69332522656f188e (patch)
tree409dade46c79cbd5b5d66281df2cc543088cc8f6 /llvm/lib/CodeGen/CodeGen.cpp
parent92c96f29fa79d3ab188a620e6afc4f9d6dfdafd3 (diff)
downloadllvm-c95a0c91c0de66eb1066f23c69332522656f188e.zip
llvm-c95a0c91c0de66eb1066f23c69332522656f188e.tar.gz
llvm-c95a0c91c0de66eb1066f23c69332522656f188e.tar.bz2
[lldb] Fix the way we set up the lldb modules infrastructure.
D127284 introduced a new language option which is not benign from modules perspective. Before this patch lldb would set up the compiler invocation and later enable incremental processing. Post-D127284 this does not work because the option causes a module hash mismatch for implicit modules. In addition, D127284 enables parsing statements on the global scope if incremental processing is on and thus `syntax_error_for_lldb_to_find` was rightfully not recognized as a declaration and is considered a statement which produces a slightly different diagnostic. Thanks to Michael Buch for the help in understanding this issue. This patch should appease the lldb bots. More discussion available at: https://reviews.llvm.org/D127284
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions