We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c89bd8f + bd71c84 commit 9ec9431Copy full SHA for 9ec9431
lib/IRGen/IRGenDebugInfo.cpp
@@ -884,7 +884,9 @@ class IRGenDebugInfoImpl : public IRGenDebugInfo {
884
Mangle::ASTMangler Mangler;
885
std::string Result = Mangler.mangleTypeForDebugger(Ty, Sig);
886
887
- if (!Opts.DisableRoundTripDebugTypes) {
+ // TODO(SR-15377): We currently cannot round trip some C++ types.
888
+ if (!Opts.DisableRoundTripDebugTypes &&
889
+ !Ty->getASTContext().LangOpts.EnableCXXInterop) {
890
// Make sure we can reconstruct mangled types for the debugger.
891
#ifndef NDEBUG
892
auto &Ctx = Ty->getASTContext();
0 commit comments