You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After making some unrelated changes (#80792), “test/embedded/traps-fatalerror-ir.swift” fails in its fifth variant, where swiftc is invoked with “-Osize -assert-config Debug”
The CHECK-MESSAGE at line 38 now no longer matches, because the symbol it should match becomes $eSS8withUTF8yxxSRys5UInt8VGKXEKlFyt_Tg5088$es17_assertionFailure__4file4line5flagss5NeverOs12StaticStringV_SSAHSus6UInt32VtFySRys5C7VGXEfU_s0jK0VAGSuTf1ncn_n which doesn’t match ${{es17_assertionFailure__}}.
This is with the branch from the PR above, with the rest of the repos at swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a except swift-syntax, which was advanced to commit fb65fcb05c15498d8dbbc14123c5fb7e0136a0af.
swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a, with adjustments (see above)
Additional information
Also reported as rdar://149987432
The text was updated successfully, but these errors were encountered:
glessard
added
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
embedded
Embedded Swift
labels
Apr 25, 2025
glessard
added a commit
to glessard/swift
that referenced
this issue
Apr 25, 2025
Description
After making some unrelated changes (#80792), “test/embedded/traps-fatalerror-ir.swift” fails in its fifth variant, where swiftc is invoked with “-Osize -assert-config Debug”
The CHECK-MESSAGE at line 38 now no longer matches, because the symbol it should match becomes
$eSS8withUTF8yxxSRys5UInt8VGKXEKlFyt_Tg5088$es17_assertionFailure__4file4line5flagss5NeverOs12StaticStringV_SSAHSus6UInt32VtFySRys5C7VGXEfU_s0jK0VAGSuTf1ncn_n
which doesn’t match${{es17_assertionFailure__}}
.I include that version of the IR, the output of
This is with the branch from the PR above, with the rest of the repos at swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a except swift-syntax, which was advanced to commit fb65fcb05c15498d8dbbc14123c5fb7e0136a0af.
This is the run line that fails:
Reproduction
From a swift checkout:
The embedded test "test/embedded/traps-fatalerror-ir.swift" will fail thusly:
Attaching the IR emitted by my built toolchain in the configuration that fails.
traps-fatalerror-ir.emitted-ir.txt
Expected behavior
The test should succeed.
Environment
swift-DEVELOPMENT-SNAPSHOT-2025-04-12-a, with adjustments (see above)
Additional information
Also reported as rdar://149987432
The text was updated successfully, but these errors were encountered: