[all-commits] [llvm/llvm-project] a6a606: [clang][dataflow] Fix crash when analyzing a corou...

Eric Li via All-commits all-commits at lists.llvm.org
Wed Mar 20 09:45:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6a6066290679f23f2bd6b27afc7a06aab07590f
      https://github.com/llvm/llvm-project/commit/a6a6066290679f23f2bd6b27afc7a06aab07590f
  Author: Eric Li <li.zhe.hua at gmail.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/AdornedCFG.cpp
    M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Fix crash when analyzing a coroutine (#85957)

A coroutine function body (`CoroutineBodyStmt`) may have null children,
which causes `isa` to segfault.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list