[PATCH] D17337: __builtin_object_size problem with pointer as argument
George Burgess IV via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 18:00:24 PST 2016
george.burgess.iv added a comment.
Ahh, I see. It looks like the issue was when `Users[i]` is null in
Instruction *I = cast_or_null<Instruction>(&*Users[i]);
if (!I) continue;
In that case, it seems that we could fix the issue by moving the null check above the cast. Can we try that instead? :)
Repository:
rL LLVM
http://reviews.llvm.org/D17337
More information about the llvm-commits
mailing list