Re: [PATCH bpf-next v2] bpf: Make bpf_helper_defs.h c++ friendly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 27, 2023 at 9:59 AM Stanislav Fomichev <sdf@xxxxxxxxxx> wrote:
>
> RE unsupported C++: we are not really subscribing to support it here, right?
> Just making it easier for the folks who want to experiment with it to
> try it out.

I think short term experiments should be out of tree.
The experiments that lead to a long term goal can certainly be in tree.
In that sense if your team is really going to invest into making
c++ a supported front-end for bpf than this is a good first step.
Such c++ flavor will have restrictions (like no virtual calls and
exceptions) and it's ok. The basic things like CO-RE has to work though.
In other words if there is a draft patch for llvm to enable
existing attrs for c++ then this patch would be fine.
This patch alone with no effort made on llvm side should stay out of tree.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux