This is an issue reported inside the NewPMDriver module. Static analyzer reported that Null pointer 'P' may be dereferenced at line 371 and two more sites. Proposed change guards this use.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/tools/opt/NewPMDriver.cpp | ||
---|---|---|
374–376 | we should instead return false anywhere we're printing an error message |
llvm/tools/opt/NewPMDriver.cpp | ||
---|---|---|
374–376 | Thanks for the review. I have addressed it. |
llvm/tools/opt/NewPMDriver.cpp | ||
---|---|---|
374–376 | sorry, could you also update the two places above that print an error message? |
Comment Actions
Based on reviewer's comments, two more code-sites had this issue and have been fixed. Thanks
Comment Actions
Ah. This is my first commit in a while. Sorry for missing these steps.
Name: Arvind Sudarsanam
Email address: arvind.sudarsanam@intel.com
we should instead return false anywhere we're printing an error message