llvm-git: update to master & workaround gcc bug
This commit is contained in:
parent
fc9ec81dbb
commit
545a55c05f
2 changed files with 30 additions and 4 deletions
26
srcpkgs/llvm-git/patches/enable-shared-build-fix.patch
Normal file
26
srcpkgs/llvm-git/patches/enable-shared-build-fix.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
diff --git a/include/llvm/IR/LegacyPassNameParser.h b/include/llvm/IR/LegacyPassNameParser.h
|
||||
index e2e4912..a07e3fd 100644
|
||||
--- include/llvm/IR/LegacyPassNameParser.h
|
||||
+++ include/llvm/IR/LegacyPassNameParser.h
|
||||
@@ -95,6 +95,8 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
+EXTERN_TEMPLATE_INSTANTIATION(class cl::parser<const PassInfo *>);
|
||||
+
|
||||
///===----------------------------------------------------------------------===//
|
||||
/// FilteredPassNameParser class - Make use of the pass registration
|
||||
/// mechanism to automatically add a command line argument to opt for
|
||||
diff --git a/lib/IR/Pass.cpp b/lib/IR/Pass.cpp
|
||||
index 91d86ae..00ce223 100644
|
||||
--- lib/IR/Pass.cpp
|
||||
+++ lib/IR/Pass.cpp
|
||||
@@ -234,6 +234,8 @@ PassNameParser::~PassNameParser() {
|
||||
// attempting to remove the registration listener is an error.
|
||||
}
|
||||
|
||||
+TEMPLATE_INSTANTIATION(class cl::parser<const PassInfo *>);
|
||||
+
|
||||
//===----------------------------------------------------------------------===//
|
||||
// AnalysisUsage Class Implementation
|
||||
//
|
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'llvm-git'
|
||||
pkgname=llvm-git
|
||||
version=20140906
|
||||
_llvmsha=4f240010fdea1fcbe7dac3c8e9ebad082e4036c2
|
||||
_clangsha=4deb99278de0ca315c7c177759fcfe7861046042
|
||||
_crtsha=2b2f4db4cd6a28a0259ba7298f8599c07fb4ec59
|
||||
version=20140930
|
||||
_llvmsha=95b3e168c5b96225b35f21f73db27996492ecace
|
||||
_clangsha=e712375150e3a754f5ab0f0381339a040deee57c
|
||||
_crtsha=d5c520db2bcb66700f2ef5f4e3d01ea0b7d9f8e9
|
||||
wrksrc="llvm-${version}.src"
|
||||
revision=1
|
||||
lib32disabled=yes
|
||||
|
|
Loading…
Reference in a new issue