[all-commits] [llvm/llvm-project] 176a08: [opt] Fix static code analysis concerns

asudarsa via All-commits all-commits at lists.llvm.org
Thu Jan 19 11:35:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 176a0827de42f123436c8ab850ef009f9339b7b6
      https://github.com/llvm/llvm-project/commit/176a0827de42f123436c8ab850ef009f9339b7b6
  Author: Arvind Sudarsanam <arvind.sudarsanam at intel.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M llvm/tools/opt/NewPMDriver.cpp

  Log Message:
  -----------
  [opt] Fix static code analysis concerns

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.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D142047




More information about the All-commits mailing list