Skip to content
Unverified Commit 58c94808 authored by Jun Zhang's avatar Jun Zhang
Browse files

[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: default avatarJun Zhang <jun@junz.org>

Differential Revision: https://reviews.llvm.org/D130420
parent cd953e4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment