From 29bfd5bdade4b28b73fc9627f979dfd1622cc5e4 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Sun, 26 Apr 2020 18:17:36 -0700 Subject: [PATCH] dev-lang/rust: drop unused patch it's was comitted as part of another, larger patch Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev --- ...vm10-LLVMTimeTraceProfilerInitialize.patch | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 dev-lang/rust/files/1.43.0-llvm10-LLVMTimeTraceProfilerInitialize.patch diff --git a/dev-lang/rust/files/1.43.0-llvm10-LLVMTimeTraceProfilerInitialize.patch b/dev-lang/rust/files/1.43.0-llvm10-LLVMTimeTraceProfilerInitialize.patch deleted file mode 100644 index 552edddd4571..000000000000 --- a/dev-lang/rust/files/1.43.0-llvm10-LLVMTimeTraceProfilerInitialize.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 724b7ee92f3e83af2a451b726ad990fe7db54528 Mon Sep 17 00:00:00 2001 -From: Nikita Popov -Date: Tue, 4 Feb 2020 20:35:50 +0100 -Subject: [PATCH] Fix timeTraceProfilerInitialize for LLVM 10 - ---- - src/rustllvm/PassWrapper.cpp | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/rustllvm/PassWrapper.cpp b/src/rustllvm/PassWrapper.cpp -index 65071c3ed86e0..ebf4d4017a813 100644 ---- a/src/rustllvm/PassWrapper.cpp -+++ b/src/rustllvm/PassWrapper.cpp -@@ -67,7 +67,11 @@ extern "C" void LLVMInitializePasses() { - } - - extern "C" void LLVMTimeTraceProfilerInitialize() { --#if LLVM_VERSION_GE(9, 0) -+#if LLVM_VERSION_GE(10, 0) -+ timeTraceProfilerInitialize( -+ /* TimeTraceGranularity */ 0, -+ /* ProcName */ "rustc"); -+#elif LLVM_VERSION_GE(9, 0) - timeTraceProfilerInitialize(); - #endif - } -- 2.26.2