mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 04:13:02 +00:00
refresh of the patches
This commit is contained in:
parent
b8f3c34944
commit
e20a762f66
25
debian/patches/lldb-kfreebsd.diff
vendored
25
debian/patches/lldb-kfreebsd.diff
vendored
@ -1,25 +0,0 @@
|
|||||||
%diff --git llvm-toolchain-snapshot_3.5~svn201241.orig/lldllvm-toolchain-snapshot_3.5~svn201241/lldb/source/Host/freebsd/Host.cpp llvm-toolchain-snapshot_3.5~svn201241/lldb/source/Host/freebsd/Host.cpp
|
|
||||||
index 4f6af67..47cbb25 100644
|
|
||||||
Index: llvm-toolchain-snapshot_3.6~svn217023/lldb/source/Host/freebsd/Host.cpp
|
|
||||||
===================================================================
|
|
||||||
--- llvm-toolchain-snapshot_3.6~svn217023.orig/lldb/source/Host/freebsd/Host.cpp
|
|
||||||
+++ llvm-toolchain-snapshot_3.6~svn217023/lldb/source/Host/freebsd/Host.cpp
|
|
||||||
@@ -84,6 +84,18 @@ Host::ThreadCreated (const char *thread_
|
|
||||||
Host::SetShortThreadName (LLDB_INVALID_PROCESS_ID, LLDB_INVALID_THREAD_ID, thread_name, 16);
|
|
||||||
}
|
|
||||||
|
|
||||||
+// Debian kFreeBSD uses the FreeBSD kernel with a GNU libc
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
+static inline void *
|
|
||||||
+reallocf(void *ptr, size_t size)
|
|
||||||
+{
|
|
||||||
+ void *rv = realloc(ptr, size);
|
|
||||||
+ if (rv == NULL)
|
|
||||||
+ free(ptr);
|
|
||||||
+ return rv;
|
|
||||||
+}
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
std::string
|
|
||||||
Host::GetThreadName (lldb::pid_t pid, lldb::tid_t tid)
|
|
||||||
{
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -34,7 +34,6 @@ compiler-rt-path.diff
|
|||||||
lldb-soname.diff
|
lldb-soname.diff
|
||||||
force-link-pass.o.diff
|
force-link-pass.o.diff
|
||||||
follow-parallel-var.diff
|
follow-parallel-var.diff
|
||||||
lldb-kfreebsd.diff
|
|
||||||
hurd-EIEIO-undef.diff
|
hurd-EIEIO-undef.diff
|
||||||
silent-MCJIIT-tests.diff
|
silent-MCJIIT-tests.diff
|
||||||
kfreebsd-lldb-mi.diff
|
kfreebsd-lldb-mi.diff
|
||||||
|
Loading…
Reference in New Issue
Block a user