stackrestore

Hi,

is there a convenient way to get all allocations popped from the stack by llvm.stackrestore? Is this even decidable at compile time?

Thanks
Marc

Nope, you can (theoretically) have arbitrary control flow between the save and restore. In practice, VLAs are very structured, so this only happens if the code has allocas mixed in with VLAs.

-Chris