void-packages/srcpkgs/llvm/files/patches/compiler-rt/compiler-rt-002-musl-no-dlvsym.patch
Andrea Brancaleoni e8e81d004e llvm: update to 3.7.0.
- add patch debug messages
- update patches
- remove lld
- replace __ptrace_request with int on musl
- fix bug 22661
- include license
2015-09-10 23:21:44 +02:00

26 lines
867 B
Diff

From 7f278344034eab699a90fab3d313048d1de44012 Mon Sep 17 00:00:00 2001
From: Andrea Brancaleoni <miwaxe@gmail.com>
Date: Tue, 8 Sep 2015 22:45:11 +0200
Subject: [PATCH 2/2] musl no dlvsym
---
lib/interception/interception_linux.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/interception/interception_linux.cc b/lib/interception/interception_linux.cc
index 6e908ac..7fcf2a6 100644
--- a/lib/interception/interception_linux.cc
+++ b/lib/interception/interception_linux.cc
@@ -24,7 +24,7 @@ bool GetRealFunctionAddress(const char *func_name, uptr *func_addr,
return real == wrapper;
}
-#if !defined(__ANDROID__) // android does not have dlvsym
+#if 0 // !defined(__ANDROID__) // android does not have dlvsym
void *GetFuncAddrVer(const char *func_name, const char *ver) {
return dlvsym(RTLD_NEXT, func_name, ver);
}
--
2.5.1