File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -2575,15 +2575,9 @@ void ASTMangler::appendModule(const ModuleDecl *module,
2575
2575
StringRef ModName = module ->getRealName ().str ();
2576
2576
2577
2577
// If RespectOriginallyDefinedIn is not set, ignore the ABI name only for
2578
- // _Concurrency and swift-syntax (which adds "Compiler" as a prefix when
2579
- // building swift-syntax as part of the compiler).
2580
- // TODO: Mangling for the debugger should respect originally defined in, but
2581
- // as of right now there is not enough information in the mangled name to
2582
- // reconstruct AST types from mangled names when using that attribute.
2578
+ // _Concurrency.
2583
2579
if ((RespectOriginallyDefinedIn ||
2584
- (module ->getName ().str () != SWIFT_CONCURRENCY_NAME &&
2585
- !module ->getABIName ().str ().starts_with (
2586
- SWIFT_MODULE_ABI_NAME_PREFIX))) &&
2580
+ module ->getName ().str () != SWIFT_CONCURRENCY_NAME) &&
2587
2581
module ->getABIName () != module ->getName ())
2588
2582
ModName = module ->getABIName ().str ();
2589
2583
You can’t perform that action at this time.
0 commit comments