[llvm-profgen] ProfiledBinary::load - use cast<> instead of dyn_cast<> to...
[llvm-profgen] ProfiledBinary::load - use cast<> instead of dyn_cast<> to avoid dereference of nullptr The pointer is always dereferenced immediately, so assert the cast is correct instead of returning nullptr
parent
9b72e0f9
Please register or sign in to comment