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 @@ -2591,15 +2591,9 @@ void ASTMangler::appendModule(const ModuleDecl *module,
2591
2591
StringRef ModName = module ->getRealName ().str ();
2592
2592
2593
2593
// If RespectOriginallyDefinedIn is not set, ignore the ABI name only for
2594
- // _Concurrency and swift-syntax (which adds "Compiler" as a prefix when
2595
- // building swift-syntax as part of the compiler).
2596
- // TODO: Mangling for the debugger should respect originally defined in, but
2597
- // as of right now there is not enough information in the mangled name to
2598
- // reconstruct AST types from mangled names when using that attribute.
2594
+ // _Concurrency.
2599
2595
if ((RespectOriginallyDefinedIn ||
2600
- (module ->getName ().str () != SWIFT_CONCURRENCY_NAME &&
2601
- !module ->getABIName ().str ().starts_with (
2602
- SWIFT_MODULE_ABI_NAME_PREFIX))) &&
2596
+ module ->getName ().str () != SWIFT_CONCURRENCY_NAME) &&
2603
2597
module ->getABIName () != module ->getName ())
2604
2598
ModName = module ->getABIName ().str ();
2605
2599
You can’t perform that action at this time.
0 commit comments