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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment