anakryiko added a comment.

This will severly break BPF users, as we have a heavy reliance on `const 
volatile` variables being allocated to `.rodata`, which are passed to BPF 
verifier in Linux kernel as read-only values. This is critical for BPF Complie 
Once - Run Everywhere approach of writing portable BPF applications. We've been 
relying on this behavior for years now and changes this will break many 
existing BPF applications.


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

https://reviews.llvm.org/D131012

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to