File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1444,7 +1444,18 @@ class AllocStackInst final
1444
1444
}
1445
1445
}
1446
1446
1447
+ // / Set to true that this alloc_stack contains a value whose lifetime can not
1448
+ // / be ascertained from uses.
1449
+ // /
1450
+ // / As an example if an alloc_stack is known to be only conditionally
1451
+ // / initialized.
1447
1452
void setDynamicLifetime () { dynamicLifetime = true ; }
1453
+
1454
+ // / Returns true if the alloc_stack's initialization can not be ascertained
1455
+ // / from uses directly (so should be treated conservatively).
1456
+ // /
1457
+ // / An example of an alloc_stack with dynamic lifetime is an alloc_stack that
1458
+ // / is conditionally initialized.
1448
1459
bool hasDynamicLifetime () const { return dynamicLifetime; }
1449
1460
1450
1461
// / Return the debug variable information attached to this instruction.
You can’t perform that action at this time.
0 commit comments