[all-commits] [llvm/llvm-project] 6e655e: [AsmWritter] Fixed "null check after dereferencing...

Dávid Bolvanský via All-commits all-commits at lists.llvm.org
Thu Nov 7 10:30:40 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e655e58bc748d631fac90d969e77ceb04b884db
      https://github.com/llvm/llvm-project/commit/6e655e58bc748d631fac90d969e77ceb04b884db
  Author: Dávid Bolvanský <david.bolvansky at gmail.com>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M llvm/lib/IR/AsmWriter.cpp

  Log Message:
  -----------
  [AsmWritter] Fixed "null check after dereferencing" warning

Summary: The 'BB->getParent()' pointer was utilized before it was verified against nullptr. Check lines: 3567, 3581.

Reviewers: jyknight, RKSimon

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list