mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-17 18:06:22 +00:00
Also ship polly libs in libclang-common-10-dev. Fixes bug #44870 (upstream)
This commit is contained in:
parent
a5811db303
commit
2e5e0ec30a
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -1,6 +1,7 @@
|
||||
llvm-toolchain-10 (1:10.0.0-4) unstable; urgency=medium
|
||||
|
||||
* Also ship polly libs. Fixes bug #44870 (upstream)
|
||||
* Also ship polly libs in libclang-common-10-dev.
|
||||
Fixes bug #44870 (upstream)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 10 Apr 2020 10:27:41 +0200
|
||||
|
||||
|
2
debian/libclang-common-X.Y-dev.install.in
vendored
2
debian/libclang-common-X.Y-dev.install.in
vendored
@ -4,4 +4,4 @@ usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/lib
|
||||
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/*.txt
|
||||
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION@*/share/*.txt
|
||||
|
||||
|
||||
usr/lib/llvm-@LLVM_VERSION@/lib/libPolly*.a
|
||||
|
23
debian/qualify-clang.sh
vendored
23
debian/qualify-clang.sh
vendored
@ -1053,6 +1053,29 @@ LLVM_PROFILE_FILE="foo-%p.profraw" ./foo
|
||||
llvm-profdata-$VERSION merge -output=foo.profdata foo-*.profraw
|
||||
clang++-$VERSION -O2 -fprofile-instr-use=foo.profdata foo.cc -o foo
|
||||
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=44870
|
||||
cat <<EOF > foo.cpp
|
||||
#include <clang/CodeGen/BackendUtil.h>
|
||||
|
||||
using namespace clang;
|
||||
|
||||
int main() {
|
||||
DiagnosticsEngine* diags;
|
||||
HeaderSearchOptions* hsOpts;
|
||||
CodeGenOptions* cgOpts;
|
||||
TargetOptions* tOpts;
|
||||
LangOptions* lOpts;
|
||||
llvm::DataLayout* tDesc;
|
||||
llvm::Module* m;
|
||||
BackendAction* action;
|
||||
std::unique_ptr<raw_pwrite_stream> AsmOutStream;
|
||||
|
||||
EmitBackendOutput(*diags, *hsOpts, *cgOpts, *tOpts, *lOpts, *tDesc, m, *action, std::move(AsmOutStream));
|
||||
}
|
||||
EOF
|
||||
clang++-$VERSION foo.cpp -o test -lclangBasic -lclangCodeGen -lclangDriver -lclangFrontend -lclangFrontendTool -lclangCodeGen -lclangRewriteFrontend -lclangARCMigrate -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangCrossTU -lclangIndex -lclangFrontend -lclangDriver -lclangParse -lclangSerialization -lclangSema -lclangAnalysis -lclangEdit -lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangASTMatchers -lclangAST -lclangLex -lclangBasic -ldl /usr/lib/llvm-10/lib/libLLVM-10.so -lclangCodeGen -lclangDriver -lclangFrontend -lclangFrontendTool -lclangRewriteFrontend -lclangARCMigrate -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangCrossTU -lclangIndex -lclangParse -lclangSerialization -lclangSema -lclangAnalysis -lclangEdit -lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangASTMatchers -lclangAST -lclangLex -ldl -I /usr/lib/llvm-$VERSION/include/ -L/usr/lib/llvm-$VERSION/lib/ -lPolly -lPollyPPCG -lPollyISL
|
||||
|
||||
|
||||
if test ! -f /usr/bin/lldb-$VERSION; then
|
||||
echo "Install lldb-$VERSION";
|
||||
exit -1;
|
||||
|
Loading…
Reference in New Issue
Block a user