iovisor / bcc

BCC - Tools for BPF-based Linux IO analysis, networking, monitoring, and more
Apache License 2.0
20.36k stars 3.86k forks source link

Set minimum supported llvm version to 12 #4892

Closed yonghong-song closed 8 months ago

yonghong-song commented 8 months ago

Currently, memleak.py uses some atomic operations in order to have precise counting, e.g. __sync_fetch_and_sub(), etc. and these atomic operations are only supported with llvm >= 12. Previously, we set llvm minimum support version is 11. Let us boost it to 12 so more useful llvm features can be used by bpf programs.

chantra commented 8 months ago

LGTM