[PATCH] D156446: [BPF] Don't crash on missing line info

Alexei Starovoitov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 16:38:42 PDT 2023


ast requested changes to this revision.
ast added inline comments.
This revision now requires changes to proceed.


================
Comment at: llvm/lib/Target/BPF/BTFDebug.cpp:1377
+      const DISubprogram *const S = F.getSubprogram();
+      if (!S) {
+        return;
----------------
parens


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156446/new/

https://reviews.llvm.org/D156446



More information about the llvm-commits mailing list