Skip to content

Commit 39cd812

Browse files
committed
[Exclusivity] Reenable AccessEnforcementSelection assert.
1 parent a0653e8 commit 39cd812

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/SILOptimizer/Mandatory/AccessEnforcementSelection.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,7 @@ struct AccessEnforcementSelection : SILFunctionTransform {
382382
// dependent BeginAccess).
383383
//
384384
// Running before diagnostic constant propagation requires handling 'undef'.
385-
//
386-
// FIXME: This assert will eventually be important, but for now it's safe to
387-
// disable until this problem is resolved:
388-
// <rdar://problem/31797132> [Exclusivity] lldb asserts in
389-
// AccessEnforcementSelector
390-
// assert(isa<AllocStackInst>(address) || isa<SILUndef>(address));
385+
assert(isa<AllocStackInst>(address) || isa<SILUndef>(address));
391386
setStaticEnforcement(access);
392387
}
393388

0 commit comments

Comments
 (0)