[PATCH] D153898: [DebugInfo] Enable debug info emission for extern variables in C++

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 28 14:32:09 PDT 2023


MaskRay added a comment.

> This patch is required so that we can still use kconfig in such BPF programs compiled from C++.

Assuming that you mean https://www.kernel.org/doc/html/next/kbuild/kconfig-language.html#kconfig-language , how is Kconfig relevant here?

Clang BPF supports `-mcpu=v[123]`. v1 is for a very old kernel. https://pchaigno.github.io/bpf/2021/10/20/ebpf-instruction-sets.html 
I think there are some users so we cannot remove the support. Is it happy with the new behavior?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153898



More information about the cfe-commits mailing list