[llvm-profgen] CSProfileGenerator::generateLineNumBasedProfile - use cast<>...
[llvm-profgen] CSProfileGenerator::generateLineNumBasedProfile - use cast<> instead of dyn_cast<> to avoid dereference of nullptr The pointer is always dereferenced immediately below, so assert the cast is correct instead of returning nullptr
Loading
Please sign in to comment