Fix BackendConsumer::EmitOptimizationMessage() to check if the
DiagnosticInfoOptimizationBase object has a valid location before
calling getLocation() to avoid dereferencing a null pointer inside
getLocation() when no debug info is present.
Details
Details
- Reviewers
dnovillo TylerNowicki mcrosier dexonsmith
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Diego,
Thanks for looking at this. I've uploaded a new version that hopefully incorporates your feedback.
Geoff Berry
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project