diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-02-08 17:52:01 +0100 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2023-02-08 10:34:03 -0800 |
commit | df9d6c8ee2036f04607f68ba6a50c0c134b5671a (patch) | |
tree | 491cfd34279bc3c01d02574915f426a9d6b90b8e /dev-util/bpftrace | |
parent | x11-drivers/nvidia-drivers: add 525.89.02 (diff) | |
download | gentoo-df9d6c8ee2036f04607f68ba6a50c0c134b5671a.tar.gz gentoo-df9d6c8ee2036f04607f68ba6a50c0c134b5671a.tar.bz2 gentoo-df9d6c8ee2036f04607f68ba6a50c0c134b5671a.zip |
dev-util/bpftrace: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/29486
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-util/bpftrace')
-rw-r--r-- | dev-util/bpftrace/files/bpftrace-0.15.0-llvm-15-pointers.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-util/bpftrace/files/bpftrace-0.15.0-llvm-15-pointers.patch b/dev-util/bpftrace/files/bpftrace-0.15.0-llvm-15-pointers.patch deleted file mode 100644 index 51ea034b9a88..000000000000 --- a/dev-util/bpftrace/files/bpftrace-0.15.0-llvm-15-pointers.patch +++ /dev/null @@ -1,30 +0,0 @@ - -From: https://github.com/iovisor/bpftrace/pull/2367 -Bug: https://bugs.gentoo.org/872842 - -From 07fa48a94ef6d6bb1f335de345de18fe9776ca57 Mon Sep 17 00:00:00 2001 -From: kenneth topp <toppk@bllue.org> -Date: Mon, 26 Sep 2022 00:33:29 -0400 -Subject: [PATCH] Workaround OpaquePointers for LLVM 15 - -This workaround allows bpftrace to be compiled against -LLVM-15. This will have to be address properly before LLVM-16 -More details from LLVM here: https://llvm.org/docs/OpaquePointers.html ---- - src/ast/irbuilderbpf.cpp | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/ast/irbuilderbpf.cpp b/src/ast/irbuilderbpf.cpp -index d49883f786..00f0f172ff 100644 ---- a/src/ast/irbuilderbpf.cpp -+++ b/src/ast/irbuilderbpf.cpp -@@ -123,6 +123,9 @@ IRBuilderBPF::IRBuilderBPF(LLVMContext &context, - module_(module), - bpftrace_(bpftrace) - { -+#if LLVM_VERSION_MAJOR == 15 -+ context.setOpaquePointers(false); -+#endif - // Declare external LLVM function - FunctionType *pseudo_func_type = FunctionType::get( - getInt64Ty(), |