Issue 207949
Summary [MicrosoftCXXABI] ASTContext::CopyConstructorForExceptionObject is not serialized into PCH
Labels new issue
Assignees
Reporter wenju-he
    The issue is exposed in the LIT test of https://github.com/llvm/llvm-project/pull/207917

in PCH test case, the copy-ctor selected for Default's exception object is cached in RecordToCopyCtor, which is not serialized into the PCH. After deserialization from the PCH, getCatchableType calls getCopyConstructorForExceptionObject, which returns null since the cache is empty, so the `??_ODefault@@QAEXAAU0@@Z` closure is not emitted.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to