Merge branch '9' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into 9

This commit is contained in:
Sylvestre Ledru 2019-11-12 16:54:10 +01:00
commit 12754e7bcf
6 changed files with 6 additions and 105 deletions

16
debian/changelog vendored
View File

@ -1,23 +1,19 @@
llvm-toolchain-9 (1:9.0.0-5) UNRELEASED; urgency=medium
llvm-toolchain-9 (1:9.0.0-4) UNRELEASED; urgency=medium
[ Samuel Thibault ]
* hurd-cxx-paths.diff: Re-introduce patch to find C++ headers.
* hurd-EIEIO-undef.diff: Drop patch, already fixed a different way upstream.
* hurd-pathmax.diff: Drop now-useless parts.
[ Sylvestre Ledru ]
* Add libz3-dev as dependencies on llvm-X.Y-dev (Closes: #943996)
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 02 Nov 2019 12:23:40 +0100
llvm-toolchain-9 (1:9.0.0-4) unstable; urgency=medium
* Update build-dep libpfm4-dev to linux-any.
Thanks to Samuel Thibault for the patch
[ Gianfranco Costamagna ]
* Add also Ubuntu focal to the gcc-8 arch list
[ Sylvestre Ledru ]
* Update build-dep libpfm4-dev to linux-any.
Thanks to Samuel Thibault for the patch
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 31 Oct 2019 23:45:03 +0100
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 05 Nov 2019 10:30:26 +0100
llvm-toolchain-9 (1:9.0.0-3) unstable; urgency=medium

View File

@ -1,14 +0,0 @@
Index: llvm-toolchain-snapshot_9~svn351647/utils/TableGen/CodeEmitterGen.cpp
===================================================================
--- llvm-toolchain-snapshot_9~svn351647.orig/utils/TableGen/CodeEmitterGen.cpp
+++ llvm-toolchain-snapshot_9~svn351647/utils/TableGen/CodeEmitterGen.cpp
@@ -238,6 +238,9 @@ void CodeEmitterGen::run(raw_ostream &o)
ArrayRef<const CodeGenInstruction*> NumberedInstructions =
Target.getInstructionsByEnumValue();
+ o << "// Undef for HURD\n";
+ o << "#ifdef EIEIO\n#undef EIEIO\n#endif\n";
+
// Emit function declaration
o << "uint64_t " << Target.getName();
o << "MCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,\n"

View File

@ -1,20 +1,3 @@
Index: llvm-toolchain-snapshot_9~svn352610/clang/lib/Basic/FileManager.cpp
===================================================================
--- llvm-toolchain-snapshot_9~svn352610.orig/clang/lib/Basic/FileManager.cpp
+++ llvm-toolchain-snapshot_9~svn352610/clang/lib/Basic/FileManager.cpp
@@ -458,6 +458,12 @@ void FileManager::invalidateCache(const
UniqueRealFiles.erase(Entry->getUniqueID());
}
+// For GNU Hurd
+#if defined(__GNU__) && !defined(PATH_MAX)
+# define PATH_MAX 4096
+#endif
+
+
void FileManager::GetUniqueIDMapping(
SmallVectorImpl<const FileEntry *> &UIDToFiles) const {
UIDToFiles.clear();
Index: llvm-toolchain-snapshot_9~svn352610/lldb/include/lldb/lldb-defines.h
===================================================================
--- llvm-toolchain-snapshot_9~svn352610.orig/lldb/include/lldb/lldb-defines.h
@ -31,22 +14,6 @@ Index: llvm-toolchain-snapshot_9~svn352610/lldb/include/lldb/lldb-defines.h
#if !defined(UINT32_MAX)
#define UINT32_MAX 4294967295U
#endif
Index: llvm-toolchain-snapshot_9~svn352610/tools/dsymutil/DwarfLinker.cpp
===================================================================
--- llvm-toolchain-snapshot_9~svn352610.orig/tools/dsymutil/DwarfLinker.cpp
+++ llvm-toolchain-snapshot_9~svn352610/tools/dsymutil/DwarfLinker.cpp
@@ -100,6 +100,11 @@
#include <utility>
#include <vector>
+// For GNU Hurd
+#if defined(__GNU__) && !defined(PATH_MAX)
+# define PATH_MAX 4096
+#endif
+
namespace llvm {
namespace dsymutil {
Index: llvm-toolchain-snapshot_9~svn352610/polly/lib/External/ppcg/cuda_common.c
===================================================================
--- llvm-toolchain-snapshot_9~svn352610.orig/polly/lib/External/ppcg/cuda_common.c

View File

@ -1,14 +0,0 @@
Index: llvm-toolchain-9_9.0.0/llvm/utils/TableGen/CodeEmitterGen.cpp
===================================================================
--- llvm-toolchain-9_9.0.0.orig/llvm/utils/TableGen/CodeEmitterGen.cpp
+++ llvm-toolchain-9_9.0.0/llvm/utils/TableGen/CodeEmitterGen.cpp
@@ -247,6 +247,9 @@ void CodeEmitterGen::run(raw_ostream &o)
ArrayRef<const CodeGenInstruction*> NumberedInstructions =
Target.getInstructionsByEnumValue();
+ o << "// Undef for HURD\n";
+ o << "#ifdef EIEIO\n#undef EIEIO\n#endif\n";
+
// Emit function declaration
o << "uint64_t " << Target.getName();
o << "MCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,\n"

View File

@ -1,20 +1,3 @@
Index: llvm-toolchain-9_9.0.0/clang/lib/Basic/FileManager.cpp
===================================================================
--- llvm-toolchain-9_9.0.0.orig/clang/lib/Basic/FileManager.cpp
+++ llvm-toolchain-9_9.0.0/clang/lib/Basic/FileManager.cpp
@@ -465,6 +465,12 @@ void FileManager::invalidateCache(const
UniqueRealFiles.erase(Entry->getUniqueID());
}
+// For GNU Hurd
+#if defined(__GNU__) && !defined(PATH_MAX)
+# define PATH_MAX 4096
+#endif
+
+
void FileManager::GetUniqueIDMapping(
SmallVectorImpl<const FileEntry *> &UIDToFiles) const {
UIDToFiles.clear();
Index: llvm-toolchain-9_9.0.0/lldb/include/lldb/lldb-defines.h
===================================================================
--- llvm-toolchain-9_9.0.0.orig/lldb/include/lldb/lldb-defines.h
@ -31,22 +14,6 @@ Index: llvm-toolchain-9_9.0.0/lldb/include/lldb/lldb-defines.h
#if !defined(UINT32_MAX)
#define UINT32_MAX 4294967295U
#endif
Index: llvm-toolchain-9_9.0.0/llvm/tools/dsymutil/DwarfLinker.cpp
===================================================================
--- llvm-toolchain-9_9.0.0.orig/llvm/tools/dsymutil/DwarfLinker.cpp
+++ llvm-toolchain-9_9.0.0/llvm/tools/dsymutil/DwarfLinker.cpp
@@ -100,6 +100,11 @@
#include <utility>
#include <vector>
+// For GNU Hurd
+#if defined(__GNU__) && !defined(PATH_MAX)
+# define PATH_MAX 4096
+#endif
+
namespace llvm {
namespace dsymutil {
Index: llvm-toolchain-9_9.0.0/polly/lib/External/ppcg/cuda_common.c
===================================================================
--- llvm-toolchain-9_9.0.0.orig/polly/lib/External/ppcg/cuda_common.c

View File

@ -98,7 +98,6 @@ remove-apple-clang-manpage.diff
# Hurd port
hurd/hurd-pathmax.diff
hurd/hurd-EIEIO-undef.diff
hurd/impl-path-hurd.diff
hurd/hurd-cxx-paths.diff