mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 19:17:46 +00:00
Hopefully, fix lldb under Kfreebsd-* (thanks to Ed Maste if it works)
This commit is contained in:
parent
06910431c1
commit
7ad0c89c86
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ llvm-toolchain-3.4 (1:3.4~+rc2-3) UNRELEASED; urgency=low
|
||||
|
||||
* Fix the bad declaration on the lldb desactivation
|
||||
* Also disable lldb under powerpc
|
||||
* Hopefully, fix lldb under Kfreebsd-* (thanks to Ed Maste if it works)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 04 Dec 2013 23:53:49 +0100
|
||||
|
||||
|
27
debian/patches/30-kfreebsd.diff
vendored
27
debian/patches/30-kfreebsd.diff
vendored
@ -1,7 +1,7 @@
|
||||
Index: llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.h
|
||||
Index: llvm-toolchain-3.4-3.4~+rc2/clang/lib/Driver/ToolChains.h
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_3.4~svn193982.orig/clang/lib/Driver/ToolChains.h 2013-11-04 09:08:57.592586614 +0100
|
||||
+++ llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.h 2013-11-04 09:08:57.588586613 +0100
|
||||
--- llvm-toolchain-3.4-3.4~+rc2.orig/clang/lib/Driver/ToolChains.h 2013-11-17 23:36:07.000000000 +0100
|
||||
+++ llvm-toolchain-3.4-3.4~+rc2/clang/lib/Driver/ToolChains.h 2013-12-05 09:07:45.000000000 +0100
|
||||
@@ -164,6 +164,8 @@
|
||||
virtual bool isPICDefault() const;
|
||||
virtual bool isPIEDefault() const;
|
||||
@ -11,11 +11,11 @@ Index: llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.h
|
||||
|
||||
protected:
|
||||
virtual Tool *getTool(Action::ActionClass AC) const;
|
||||
Index: llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.cpp
|
||||
Index: llvm-toolchain-3.4-3.4~+rc2/clang/lib/Driver/ToolChains.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_3.4~svn193982.orig/clang/lib/Driver/ToolChains.cpp 2013-11-04 09:08:57.592586614 +0100
|
||||
+++ llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.cpp 2013-11-04 09:08:57.592586614 +0100
|
||||
@@ -960,6 +960,13 @@
|
||||
--- llvm-toolchain-3.4-3.4~+rc2.orig/clang/lib/Driver/ToolChains.cpp 2013-12-02 11:00:07.000000000 +0100
|
||||
+++ llvm-toolchain-3.4-3.4~+rc2/clang/lib/Driver/ToolChains.cpp 2013-12-05 09:08:49.000000000 +0100
|
||||
@@ -973,6 +973,13 @@
|
||||
return GoodVersion;
|
||||
}
|
||||
|
||||
@ -29,3 +29,16 @@ Index: llvm-toolchain-snapshot_3.4~svn193982/clang/lib/Driver/ToolChains.cpp
|
||||
/// \brief Less-than for GCCVersion, implementing a Strict Weak Ordering.
|
||||
bool Generic_GCC::GCCVersion::isOlderThan(int RHSMajor, int RHSMinor,
|
||||
int RHSPatch,
|
||||
Index: llvm-toolchain-3.4-3.4~+rc2/lldb/source/Host/common/Host.cpp
|
||||
===================================================================
|
||||
--- llvm-toolchain-3.4-3.4~+rc2.orig/lldb/source/Host/common/Host.cpp 2013-12-05 09:08:49.000000000 +0100
|
||||
+++ llvm-toolchain-3.4-3.4~+rc2/lldb/source/Host/common/Host.cpp 2013-12-05 09:09:17.294953434 +0100
|
||||
@@ -1546,7 +1546,7 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
-#if defined(__linux__) or defined(__FreeBSD__)
|
||||
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__GLIBC__)
|
||||
// The functions below implement process launching via posix_spawn() for Linux
|
||||
// and FreeBSD.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user