diff options
author | Adam Czachorowski <adamcz@google.com> | 2020-08-07 17:08:38 +0200 |
---|---|---|
committer | Adam Czachorowski <adamcz@google.com> | 2020-08-10 17:49:23 +0200 |
commit | e2d61ae5733316a14783b36c84b8e7681b0e3d59 (patch) | |
tree | b92bdc92bc3bec523101e6b9c964932ebddcae17 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | f9500cc487573c55ea37b4ee6e9162d115753a48 (diff) | |
download | llvm-e2d61ae5733316a14783b36c84b8e7681b0e3d59.zip llvm-e2d61ae5733316a14783b36c84b8e7681b0e3d59.tar.gz llvm-e2d61ae5733316a14783b36c84b8e7681b0e3d59.tar.bz2 |
Correctly set CompilingPCH in PrecompilePreambleAction.
This fixes a crash bug in clangd when used with modules. ASTWriter would
end up writing references to submodules into the PCH file, but upon
reading the submodules would not exists and
HeaderFileInfoTrait::ReadData would crash.
Differential Revision: https://reviews.llvm.org/D85532
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions