File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -5648,13 +5648,8 @@ static bool referencesAnonymousContext(Demangle::Node *node) {
5648
5648
}
5649
5649
5650
5650
void swift::verifyMangledNameRoundtrip (const Metadata *metadata) {
5651
- // Enable verification when a special environment variable is set.
5652
- // Some metatypes crash when going through the mangler or demangler. A
5653
- // lot of tests currently trigger those crashes, resulting in failing
5654
- // tests which are still usefully testing something else. This
5655
- // variable lets us easily turn on verification to find and fix these
5656
- // bugs. Remove this and leave it permanently on once everything works
5657
- // with it enabled.
5651
+ // Enable verification when a special environment variable is set. This helps
5652
+ // us stress test the mangler/demangler and type lookup machinery.
5658
5653
if (!swift::runtime::environment::SWIFT_ENABLE_MANGLED_NAME_VERIFICATION ())
5659
5654
return ;
5660
5655
You can’t perform that action at this time.
0 commit comments