[all-commits] [llvm/llvm-project] 58c948: [CodeGen] Consider MangleCtx when move lazy emissi...
Jun Zhang via All-commits
all-commits at lists.llvm.org
Mon Jul 25 21:44:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 58c94808450d0ec73bed38d1661314c1a3d56e2f
https://github.com/llvm/llvm-project/commit/58c94808450d0ec73bed38d1661314c1a3d56e2f
Author: Jun Zhang <jun at junz.org>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M clang/lib/CodeGen/CGCXXABI.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/Interpreter/execute.cpp
Log Message:
-----------
[CodeGen] Consider MangleCtx when move lazy emission States
Also move MangleCtx when moving some lazy emission states in
CodeGenModule. Without this patch clang-repl hits an invalid address
access when passing `-Xcc -O2` flag.
Signed-off-by: Jun Zhang <jun at junz.org>
Differential Revision: https://reviews.llvm.org/D130420
More information about the All-commits
mailing list