[all-commits] [llvm/llvm-project] 1f3391: IRBuilder: avoid crash when seeking to start of a ...

Augie Fackler via All-commits all-commits at lists.llvm.org
Fri Sep 15 09:52:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f33911f50294c07f672a49e311776693823d0bc
      https://github.com/llvm/llvm-project/commit/1f33911f50294c07f672a49e311776693823d0bc
  Author: Augie Fackler <augie at google.com>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M llvm/lib/IR/Instruction.cpp
    M llvm/unittests/IR/DebugInfoTest.cpp

  Log Message:
  -----------
  IRBuilder: avoid crash when seeking to start of a BasicBlock with only DebugInfo (#66266)

This fixes a crash in `rustc` that was triggered by
https://reviews.llvm.org/D159485 (aka
llvm/llvm-project at 1ce1732f82aec29ec27d6de58153d516bca1d633).

This was more or less pair-programmed with @krasimirgg - I can't claim
full credit.




More information about the All-commits mailing list