[all-commits] [llvm/llvm-project] e77e14: Workaround an assertion failure during module build
Steven Wu via All-commits
all-commits at lists.llvm.org
Tue Dec 13 10:42:45 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e77e14ecf17bba5f9e2ef43d8c3dbc9c86685287
https://github.com/llvm/llvm-project/commit/e77e14ecf17bba5f9e2ef43d8c3dbc9c86685287
Author: Steven Wu <stevenwu at apple.com>
Date: 2022-12-13 (Tue, 13 Dec 2022)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
M llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
M llvm/include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h
Log Message:
-----------
Workaround an assertion failure during module build
After the change in https://reviews.llvm.org/D131858, clang cannot
bootstrap itself with modules due to assertion failure:
(lvaluePath->getType() == elemTy && "Unexpected type reference!")
Workaround the assertion by converting some of the includes into forward
declares.
Reviewed By: arphaman
Differential Revision: https://reviews.llvm.org/D139956
More information about the All-commits
mailing list