arcana-lab / noelle

NOELLE Offers Empowering LLVM Extensions
MIT License
75 stars 35 forks source link

DGBase properly solves optional deref bug #3

Closed vgene closed 4 years ago

vgene commented 4 years ago

The original code has a bug - deref a dangling pointer - that will lead to undefined behavior.

Minimal example: https://godbolt.org/z/KcxKe3