[PATCH] D156446: [BPF] Emit better error on missing line info

Eduard Zingerman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 09:36:16 PDT 2023


eddyz87 added a comment.

In D156446#4554385 <https://reviews.llvm.org/D156446#4554385>, @tamird wrote:

> Sounds good! I'll do that. Can you share the C source code of the program as well please?



  // clang -g --target=bpf -S -emit-llvm test2.c -o -
  unsigned long foo(void) {
    return 42;
  }

Modified to remove !dbg from function and `ret` instructions.


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