refresh of the patches

This commit is contained in:
Sylvestre Ledru 2014-09-11 11:12:08 +00:00
parent b8f3c34944
commit e20a762f66
2 changed files with 0 additions and 26 deletions

View File

@ -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)
{

View File

@ -34,7 +34,6 @@ compiler-rt-path.diff
lldb-soname.diff
force-link-pass.o.diff
follow-parallel-var.diff
lldb-kfreebsd.diff
hurd-EIEIO-undef.diff
silent-MCJIIT-tests.diff
kfreebsd-lldb-mi.diff