[all-commits] [llvm/llvm-project] 055893: [BPF] Don't crash on missing line info

Tamir Duberstein via All-commits all-commits at lists.llvm.org
Thu Aug 3 06:18:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 055893beacb34441467eb997a270a620c57c138f
      https://github.com/llvm/llvm-project/commit/055893beacb34441467eb997a270a620c57c138f
  Author: Tamir Duberstein <tamird at gmail.com>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M llvm/lib/Target/BPF/BTFDebug.cpp
    A llvm/test/CodeGen/BPF/BTF/incomplete-debuginfo.ll

  Log Message:
  -----------
  [BPF] Don't crash on missing line info

When compiling Rust code we may end up with calls to functions provided
by other code units. Presently this code crashes on a null pointer
dereference - this patch avoids that crash and adds a test.

Reviewed By: ast

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




More information about the All-commits mailing list