dblaikie added a comment. In D100567#2696095 <https://reviews.llvm.org/D100567#2696095>, @yonghong-song wrote:
> Sorry, I know what is the segfault now after some debugging. It is because > `auto *Fn = dyn_cast<llvm::Function>(LV.getPointer(*this));` is a NULL > pointer after there is a definition before this. Hmm, not sure I follow - is `LV.getPointer(*this)` returning null, or is the dyn_cast returning null because the thing isn't an llvm::Function? If it's not a function, what is it? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D100567/new/ https://reviews.llvm.org/D100567 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits