[all-commits] [llvm/llvm-project] 169318: Add a nullptr check.

adrian-prantl via All-commits all-commits at lists.llvm.org
Thu Feb 25 12:01:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 169318088406510ce6816e6b022502a532b86d4b
      https://github.com/llvm/llvm-project/commit/169318088406510ce6816e6b022502a532b86d4b
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/test/Transforms/Coroutines/coro-debug.ll

  Log Message:
  -----------
  Add a nullptr check.

This doesn't actually reproduce with a dbg.declare(i8* null, ...)
which produces a non-null null Value, but I have seen this show up in
crash logs. I'm suspecting that there may be another pass forcibly
setting the operand to a nullptr.




More information about the All-commits mailing list