[all-commits] [llvm/llvm-project] 9c07aa: [TableGen] Fix null pointer dereferences in TreePa...

Alexey Vishnyakov via All-commits all-commits at lists.llvm.org
Tue May 9 18:06:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c07aa75b961fa19875fddd1dcd0deaa57f82e9d
      https://github.com/llvm/llvm-project/commit/9c07aa75b961fa19875fddd1dcd0deaa57f82e9d
  Author: Alexey Vishnyakov <vishnya at ispras.ru>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M llvm/utils/TableGen/CodeGenDAGPatterns.cpp

  Log Message:
  -----------
  [TableGen] Fix null pointer dereferences in TreePattern::ParseTreePattern()

Bugs were found by Svace static analysis tool. Null pointers are
dereferenced right after error checking that does not return from
function.

Reviewed By: arsenm

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




More information about the All-commits mailing list