Because we are generating uninitialized value for no integer type and use isUninitialized() to judge if it is valid after https://reviews.llvm.org/rG93f081c896536112e1ca8133991d23cb1134793a, we should check the value before use getValue to get it.
Fixes https://github.com/llvm/llvm-project/issues/59984.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I don't understand how this fixes the issue. How are you able to dereference an uninitialized optional?