* Upload in unstable

* try to build lldb-gdbserver under kfreebsd (kfreebsd-lldb-gdbserver.diff)
* Second try to fix build under HURD (hurd-EIEIO-undef.diff)
This commit is contained in:
Sylvestre Ledru 2014-08-08 17:26:51 +00:00
parent bb94659bf4
commit 857b7c545e
4 changed files with 29 additions and 12 deletions

5
debian/changelog vendored
View File

@ -1,8 +1,11 @@
llvm-toolchain-snapshot (1:3.6~svn214630-1~exp2) UNRELEASED; urgency=medium
llvm-toolchain-snapshot (1:3.6~svn215195-1) unstable; urgency=medium
* Upload in unstable
* Enable compressed debug sections (Closes: #757002)
* Force scan-build to use the same version of clang
* Old JIT has been removed. 0050-powerpcspe-fp.diff is useless
* try to build lldb-gdbserver under kfreebsd (kfreebsd-lldb-gdbserver.diff)
* Second try to fix build under HURD (hurd-EIEIO-undef.diff)
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 04 Aug 2014 13:36:15 +0200

View File

@ -1,14 +1,14 @@
Index: llvm-toolchain-3.4-3.4.2/utils/TableGen/InstrInfoEmitter.cpp
Index: llvm-toolchain-snapshot-3.6~svn215188/utils/TableGen/CodeEmitterGen.cpp
===================================================================
--- llvm-toolchain-3.4-3.4.2.orig/utils/TableGen/InstrInfoEmitter.cpp
+++ llvm-toolchain-3.4-3.4.2/utils/TableGen/InstrInfoEmitter.cpp
@@ -569,6 +569,9 @@ void InstrInfoEmitter::emitEnums(raw_ost
OS << "\n#ifdef GET_INSTRINFO_ENUM\n";
OS << "#undef GET_INSTRINFO_ENUM\n";
--- llvm-toolchain-snapshot-3.6~svn215188.orig/utils/TableGen/CodeEmitterGen.cpp
+++ llvm-toolchain-snapshot-3.6~svn215188/utils/TableGen/CodeEmitterGen.cpp
@@ -241,6 +241,9 @@ void CodeEmitterGen::run(raw_ostream &o)
const std::vector<const CodeGenInstruction*> &NumberedInstructions =
Target.getInstructionsByEnumValue();
+ OS << "// Undef for HURD\n";
+ OS << "#ifdef EIEIO\n#undef EIEIO\n#endif\n";
+ o << "// Undef for HURD\n";
+ o << "#ifdef EIEIO\n#undef EIEIO\n#endif\n";
+
OS << "namespace llvm {\n\n";
CodeGenTarget Target(Records);
// Emit function declaration
o << "uint64_t " << Target.getName();
if (MCEmitter)

View File

@ -0,0 +1,13 @@
Index: llvm-toolchain-3.5-3.5~+rc2/lldb/tools/Makefile
===================================================================
--- llvm-toolchain-3.5-3.5~+rc2.orig/lldb/tools/Makefile
+++ llvm-toolchain-3.5-3.5~+rc2/lldb/tools/Makefile
@@ -13,7 +13,7 @@ include $(LLDB_LEVEL)/../../Makefile.con
DIRS :=
# enable lldb-gdbserver for supported platforms
-ifneq (,$(strip $(filter $(HOST_OS), FreeBSD Linux)))
+ifneq (,$(strip $(filter $(HOST_OS), FreeBSD Linux GNU/kFreeBSD)))
DIRS += lldb-gdbserver
endif

View File

@ -40,3 +40,4 @@ follow-parallel-var.diff
lldb-kfreebsd.diff
hurd-EIEIO-undef.diff
silent-MCJIIT-tests.diff
kfreebsd-lldb-gdbserver.diff