[Mlir-commits] [mlir] [mlir] Fix possible null dereference during error logging in EmitC (PR #157456)
Daniel Kuts
llvmlistbot at llvm.org
Tue Sep 9 01:51:38 PDT 2025
apach301 wrote:
> Could you please add a test?
That was a static analyzer report, so I don't know how to run this code or have any input data. But the problem is that code is syntactically inconsistent: there is a check that ensures `lvalueType` is non-null and is of correct type. And if that check is failed - it tries to dereference `lvalueType`.
https://github.com/llvm/llvm-project/pull/157456
More information about the Mlir-commits
mailing list