Commit 76129c23 authored by Sylvestre Ledru's avatar Sylvestre Ledru

* Fix warning python-script-but-no-python-dep on clang-format-X.Y

* manpages are generated during build time (simplifies maintenance)
* Fix duplicate underscore.js and jquery.js
* Move libjs-jquery & libjs-underscore dependencies to llvm-X.Y-doc
* Add lldb-X.Y manpage
parent 9ef695be
llvm-toolchain-3.3 (1:3.3-2) unstable; urgency=low
* Fix warning python-script-but-no-python-dep on clang-format-3.4
* pollycc is now generated (it was containing 3.2 instead of 3.3)
* Fix warning python-script-but-no-python-dep on clang-format-X.Y
* manpages are generated during build time (simplifies maintenance)
* Fix duplicate underscore.js and jquery.js
* Move libjs-jquery & libjs-underscore dependencies to llvm-X.Y-doc
* Add lldb-X.Y manpage
--
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 14 Jun 2013 11:45:26 +0200
llvm-toolchain-3.3 (1:3.3-1) unstable; urgency=low
......
build-llvm/tools/clang/docs/tools/clang-3.3.1
clang/tools/scan-build/scan-build.1
debian/man/clang-check.1
debian/man/clang-tblgen.1
debian/man/scan-view.1
......@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9.0), flex, bison, dejagnu, tcl8.5, expect,
libedit-dev, swig, python-sphinx, ocaml-nox, binutils-dev, libcloog-isl-dev,
libisl-dev (>= 0.11.1), binutils-gold (>= 2.23.52.20130522)
[amd64 armel armhf i386 powerpc powerpcspe ppc64 sparc sparc64 x32],
lcov, procps
lcov, procps, help2man
Build-Conflicts: oprofile, ocaml
Standards-Version: 3.9.4
Homepage: http://www.llvm.org/
......@@ -271,7 +271,7 @@ Description: Low-Level Virtual Machine (LLVM), debugging symbols library
Package: llvm-3.3
Architecture: any
Suggests: llvm-3.3-doc
Depends: llvm-3.3-runtime (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, libjs-jquery
Depends: llvm-3.3-runtime (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Recommends: llvm-3.3-dev
Conflicts: llvm (<< 2.7-1)
Replaces: llvm (<< 2.7-1)
......@@ -364,7 +364,7 @@ Description: Low-Level Virtual Machine (LLVM), bindings for OCaml
Package: llvm-3.3-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
Depends: ${misc:Depends}, libjs-jquery, libjs-underscore
Description: Low-Level Virtual Machine (LLVM), documentation
The Low-Level Virtual Machine (LLVM) is a collection of libraries and
tools that make it easy to build compilers, optimizers, Just-In-Time
......
debian/man/lldb-3.3.1
docs/_build/man/*
\ No newline at end of file
docs/_build/man/*
debian/man/llvm-dwarfdump-3.3.1
debian/man/llvm-mc-3.3.1
debian/man/llvm-mcmarkup-3.3.1
debian/man/llvm-objdump-3.3.1
debian/man/llvm-rtdyld-3.3.1
debian/man/llvm-size-3.3.1
debian/man/llvm-tblgen-3.3.1
debian/man/macho-dump-3.3.1
This diff is collapsed.
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2.
.TH LLVM "1" "June 2013" "LLVM (http://llvm.org/):" "User Commands"
.SH NAME
LLVM \- manual page for LLVM (http://llvm.org/):
.SH DESCRIPTION
USAGE: cpp11\-migrate [options] <source0> [... <sourceN>]
.SS "OPTIONS:"
.HP
\fB\-add\-override\fR \- Make use of override specifier where possible
.HP
\fB\-asm\-verbose\fR \- Add comments to directives.
.HP
\fB\-bounds\-checking\-single\-trap\fR \- Use one trap block per function
.HP
\fB\-cppfname=\fR<function name> \- Specify the name of the generated function
.HP
\fB\-cppfor=\fR<string> \- Specify the name of the thing to generate
.HP
\fB\-cppgen\fR \- Choose what kind of output to generate
.TP
=program
\- Generate a complete program
.TP
=module
\- Generate a module definition
.TP
=contents
\- Generate contents of a module
.TP
=function
\- Generate a function definition
.TP
=functions
\- Generate all function definitions
.TP
=inline
\- Generate an inline function
.TP
=variable
\- Generate a variable definition
.TP
=type
\- Generate a type definition
.HP
\fB\-disable\-spill\-fusing\fR \- Disable fusing of spill code into instructions
.IP
Choose driver interface:
.HP
\fB\-drvnvcl\fR \- Nvidia OpenCL driver
.HP
\fB\-drvcuda\fR \- Nvidia CUDA driver
.HP
\fB\-drvtest\fR \- Plain Test
.HP
\fB\-enable\-correct\-eh\-support\fR \- Make the \fB\-lowerinvoke\fR pass insert expensive, but correct, EH code
.HP
\fB\-enable\-load\-pre\fR \-
.HP
\fB\-enable\-objc\-arc\-opts\fR \- enable/disable all ARC Optimizations
.HP
\fB\-enable\-tbaa\fR \-
.HP
\fB\-fatal\-assembler\-warnings\fR \- Consider warnings as error
.HP
\fB\-fdata\-sections\fR \- Emit data into separate sections
.HP
\fB\-ffunction\-sections\fR \- Emit functions into separate sections
.HP
\fB\-final\-syntax\-check\fR \- Check for correct syntax after applying transformations
.HP
\fB\-help\fR \- Display available options (\fB\-help\-hidden\fR for more)
.HP
\fB\-internalize\-public\-api\-file=\fR<filename> \- A file containing list of symbol names to preserve
.HP
\fB\-internalize\-public\-api\-list=\fR<list> \- A list of symbol names to preserve
.HP
\fB\-join\-liveintervals\fR \- Coalesce copies (default=true)
.HP
\fB\-limit\-float\-precision=\fR<uint> \- Generate low\-precision inline sequences for some float libcalls
.HP
\fB\-loop\-convert\fR \- Make use of range\-based for loops where possible
.HP
\fB\-mc\-x86\-disable\-arith\-relaxation\fR \- Disable relaxation of arithmetic instruction for X86
.HP
\fB\-mips16\-hard\-float\fR \- MIPS: mips16 hard float enable.
.HP
\fB\-msp430\-hwmult\-mode\fR \- Hardware multiplier use mode
.TP
=no
\- Do not use hardware multiplier
.TP
=interrupts
\- Assume hardware multiplier can be used inside interrupts
.TP
=use
\- Assume hardware multiplier cannot be used inside interrupts
.HP
\fB\-nvptx\-emit\-line\-numbers\fR \- NVPTX Specific: Emit Line numbers even without \fB\-G\fR
.HP
\fB\-nvptx\-emit\-src\fR \- NVPTX Specific: Emit source line in ptx file
.TP
\fB\-nvptx\-fma\-level=\fR<int> \- NVPTX Specific: FMA contraction (0: don't do it 1: do it
2: do it aggressively
.HP
\fB\-nvptx\-mad\-enable\fR \- NVPTX Specific: Enable generating FMAD instructions
.HP
\fB\-nvptx\-prec\-divf32=\fR<int> \- NVPTX Specifies: 0 use div.approx, 1 use div.full, 2 use IEEE Compliant F32 div.rnd if avaiable.
.HP
\fB\-nvptx\-sched4reg\fR \- NVPTX Specific: schedule for register pressue
.HP
\fB\-nvvm\-reflect\-enable\fR \- NVVM reflection, enabled by default
.HP
\fB\-nvvm\-reflect\-list=\fR<name=<int>> \- A list of string=num assignments
.HP
\fB\-p=\fR<string> \- Build path
.HP
\fB\-pre\-RA\-sched\fR \- Instruction schedulers available (before register allocation):
.TP
=vliw\-td
\- VLIW scheduler
.TP
=list\-ilp
\- Bottom\-up register pressure aware list scheduling which tries to balance ILP and register pressure
.TP
=list\-hybrid
\- Bottom\-up register pressure aware list scheduling which tries to balance latency and register pressure
.TP
=source
\- Similar to list\-burr but schedules in source order when possible
.TP
=list\-burr
\- Bottom\-up register reduction list scheduling
.TP
=linearize
\- Linearize DAG, no scheduling
.TP
=fast
\- Fast suboptimal list scheduling
.TP
=default
\- Best scheduler for the target
.HP
\fB\-print\-after\-all\fR \- Print IR after each pass
.HP
\fB\-print\-before\-all\fR \- Print IR before each pass
.HP
\fB\-print\-machineinstrs=\fR<pass\-name> \- Print machine instrs
.HP
\fB\-profile\-estimator\-loop\-weight=\fR<loop\-weight> \- Number of loop executions used for profile\-estimator
.HP
\fB\-profile\-file=\fR<filename> \- Profile file loaded by \fB\-profile\-metadata\-loader\fR
.HP
\fB\-profile\-info\-file=\fR<filename> \- Profile file loaded by \fB\-profile\-loader\fR
.HP
\fB\-profile\-verifier\-noassert\fR \- Disable assertions
.HP
\fB\-regalloc\fR \- Register allocator to use
.TP
=default
\- pick register allocator based on \fB\-O\fR option
.TP
=basic
\- basic register allocator
.TP
=fast
\- fast register allocator
.TP
=greedy
\- greedy register allocator
.TP
=pbqp
\- PBQP register allocator
.HP
\fB\-risk\fR \- Select a maximum risk level:
.TP
=safe
\- Only safe transformations
.TP
=reasonable
\- Enable transformations that might change semantics (default)
.TP
=risky
\- Enable transformations that are likely to change semantics
.HP
\fB\-shrink\-wrap\fR \- Shrink wrap callee\-saved register spills/restores
.HP
\fB\-spiller\fR \- Spiller to use: (default: standard)
.TP
=trivial
\- trivial spiller
.TP
=inline
\- inline spiller
.HP
\fB\-stats\fR \- Enable statistics output from program (available with Asserts)
.HP
\fB\-struct\-path\-tbaa\fR \-
.HP
\fB\-summary\fR \- Print transform summary
.HP
\fB\-time\-passes\fR \- Time each pass, printing elapsed time for each on exit
.HP
\fB\-use\-auto\fR \- Use of 'auto' type specifier
.HP
\fB\-use\-nullptr\fR \- Make use of nullptr keyword where possible
.HP
\fB\-user\-null\-macros=\fR<string> \- Comma\-separated list of user\-defined macro names that behave like NULL
.HP
\fB\-vectorize\-loops\fR \- Run the Loop vectorization passes
.HP
\fB\-vectorize\-slp\fR \- Run the SLP vectorization passes
.HP
\fB\-vectorize\-slp\-aggressive\fR \- Run the BB vectorization passes
.HP
\fB\-verify\-dom\-info\fR \- Verify dominator info (time consuming)
.HP
\fB\-verify\-loop\-info\fR \- Verify loop info (time consuming)
.HP
\fB\-verify\-regalloc\fR \- Verify during register allocation
.HP
\fB\-verify\-region\-info\fR \- Verify region info (time consuming)
.HP
\fB\-verify\-scev\fR \- Verify ScalarEvolution's backedge taken counts (slow)
.HP
\fB\-version\fR \- Display the version of this program
.HP
\fB\-x86\-asm\-syntax\fR \- Choose style of code to emit from X86 backend:
.TP
=att
\- Emit AT&T\-style assembly
.TP
=intel
\- Emit Intel\-style assembly
.HP
\fB\-x86\-early\-ifcvt\fR \- Enable early if\-conversion on X86
.HP
\fB\-x86\-use\-vzeroupper\fR \- Minimize AVX to SSE transition penalty
.IP
LLVM version 3.3
.IP
Optimized build.
Built May 7 2013 (21:07:59).
Default target: x86_64\-pc\-linux\-gnu
Host CPU: corei7\-avx
.SH "SEE ALSO"
The full documentation for
.B LLVM
is maintained as a Texinfo manual. If the
.B info
and
.B LLVM
programs are properly installed at your site, the command
.IP
.B info LLVM
.PP
should give you access to the complete manual.
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "SCAN\-BUILD" "1" "December 2010" "" ""
.
.SH "NAME"
\fBscan\-build\fR
.
.P
scan\-build(1) \-\- An utility for running the clang(1) analyzer from the command line
.
.SH "SYNOPSIS"
\fBscan\-build\fR \fIoptions\fR \fIbuild command\fR [build options]
.
.SH "DESCRIPTION"
\fBscan\-build\fR is a command line utility that enables a user to run the clang static analyzer over their codebase as part of performing a regular build (from the command line)\.
.
.SH "OPTIONS"
.
.TP
\fB\-analyze\-headers\fR
Also analyze functions in #included files\.
.
.TP
\fB\-o\fR
Target directory for HTML report files\. Subdirectories will be created as needed to represent separate "runs" of the analyzer\. If this option is not specified, a directory is created in /tmp (TMPDIR on Mac OS X) to store the reports\.
.
.TP
\fB\-h\fR, \fB\-\-help\fR
Display the help message\.
.
.TP
\fB\-k\fR
Add a "keep on going" option to the specified build command\.
.
.TP
\fB\-\-keep\-going\fR
This option currently supports make and xcodebuild\. This is a convenience option; one can specify this behavior directly using build options\.
.
.TP
\fB\-\-html\-title\fR [title]
Specify the title used on generated HTML pages\.
.
.TP
\fB\-\-html\-title=\fR[title]
If not specified, a default title will be used\.
.
.TP
\fB\-plist\fR
By default the output of scan\-build is a set of HTML files\. This option outputs the results as a set of \.plist files\.
.
.TP
\fB\-\-status\-bugs\fR
By default, the exit status of scan\-build is the same as the executed build command\. Specifying this option causes the exit status of scan\-build to be 1 if it found potential bugs and 0 otherwise\.
.
.TP
\fB\-\-use\-cc\fR [compiler path]
By default, scan\-build uses \'gcc\' to compile and link
.
.TP
\fB\-\-use\-cc=\fR[compiler path]
your C and Objective\-C code\. Use this option to specify an alternate compiler\.
.
.TP
\fB\-\-use\-c++\fR [compiler path]
By default, scan\-build uses \'g++\' to compile and link
.
.TP
\fB\-\-use\-c++=\fR[compiler path]
your C++ and Objective\-C++ code\. Use this option to specify an alternate compiler\.
.
.TP
\fB\-v\fR
Verbose output from scan\-build and the analyzer\. A second and third \'\-v\' increases verbosity\.
.
.TP
\fB\-V\fR
View analysis results in a web browser when the build
.
.TP
\fB\-\-view\fR
completes\.
.
.SH "ADVANCED OPTIONS:"
.
.TP
\fB\-constraints\fR [model]
Specify the contraint engine used by the analyzer\. By default the \'range\' model is used\. Specifying \'basic\' uses a simpler, less powerful constraint model used by checker\-0\.160 and earlier\.
.
.TP
\fB\-store\fR [model]
Specify the store model used by the analyzer\. By default, the \'region\' store model is used\. \'region\' specifies a field sensitive store model\. Users can also specify \'basic\', which is far less precise but can more quickly analyze code\. \'basic\' was the default store model for checker\-0\.221 and earlier\.
.
.TP
\fB\-no\-failure\-reports\fR
Do not create a \'failures\' subdirectory that includes analyzer crash reports and preprocessed source files\.
.
.SH "EXAMPLES"
Basic usage of scan\-build is designed to be simple: just place the word "scan\-build" in front of your build command:
.
.P
$ scan\-build make
.
.P
$ scan\-build xcodebuild
.
.P
In the first case scan\-build analyzes the code of a project built with make and in the second case scan\-build analyzes a project built using xcodebuild\.
.
.P
It is also possible to use scan\-build to analyze specific files:
.
.P
$ scan\-build gcc \-c t1\.c t2\.c
.
.P
This example causes the files t1\.c and t2\.c to be analyzed\.
.
.SH "AUTHORS"
Maintained by the Clang / LLVM Team \fIhttp://clang\.llvm\.org\fR\.
.
.P
This manual page was written by Ermenegildo Fiorito \fIfiorito\.g@gmail\.com\fR for the Debian Project\.
.
.SH "SEE ALSO"
clang(1) scan\-view(1) \fIhttp://clang\-analyzer\.llvm\.org\fR
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "SCAN\-VIEW" "1" "December 2010" "" ""
.
.SH "NAME"
\fBscan\-view\fR
.
.P
scan\-view(1) \-\- The clang(1) static analyzer results viewer\.
.
.SH "SYNOPSIS"
\fBscan\-view\fR \fIoptions\fR \fIresults directory\fR
.
.SH "DESCRIPTION"
\fBscan\-view\fR a companion comannd line utility to scan\-build(1), scan\-view is used to view analysis results generated by scan\-build(1)\. There is an option that one can pass to scan\-build to cause scan\-view to run as soon as it the analysis of a build completes
.
.SH "OPTIONS"
.
.TP
\fB\-h\fR, \fB\-\-help\fR
show the help message and exit\.
.
.TP
\fB\-\-host=\fRHOST
Host interface to listen on\. (default=127\.0\.0\.1)
.
.TP
\fB\-\-port=\fRPORT
Port to listen on\. (default=8181)
.
.TP
\fB\-\-debug\fR
Print additional debugging information\.
.
.TP
\fB\-\-auto\-reload\fR
Automatically update module for each request\.
.
.TP
\fB\-\-no\-browser\fR
Don\'t open a webbrowser on startup\.
.
.TP
\fB\-\-allow\-all\-hosts\fR
Allow connections from any host (access restricted to "127\.0\.0\.1" by default)
.
.SH "AUTHORS"
Maintained by the Clang / LLVM Team \fIhttp://clang\.llvm\.org\fR\.
.
.P
This manual page was written by Ermenegildo Fiorito \fIfiorito\.g@gmail\.com\fR for the Debian Project\.
.
.SH "SEE ALSO"
clang(1) scan\-build(1) \fIhttp://clang\-analyzer\.llvm\.org\fR
......@@ -139,13 +139,31 @@ override_dh_auto_configure: debian/lldb-$(LLVM_VERSION).install debian/lldb-$(LL
override_dh_auto_build:
$(MAKE) $(NJOBS) -C $(TARGET_BUILD) VERBOSE=1 CLANG_VENDOR=$(VENDOR) CXXFLAGS="$(CXXFLAGS_EXTRA) -std=c++0x" LDFLAGS="$(LDFLAGS_EXTRA)" REQUIRES_RTTI=1
build_doc:
cd $(CURDIR)/docs && make -f Makefile.sphinx && make -f Makefile.sphinx man
# $(MAKE) $(NJOBS) -C build-compiler-rt VERBOSE=1
# Only available in clang 3.3
cd $(CURDIR)/tools/clang/docs && make -f Makefile.sphinx
# Remove the copy of jquery. See bug #701087
for d in $(CURDIR)/clang/docs/_build/html/_static/ $(CURDIR)/docs/_build/html/_static/; do \
cd $$d && rm -f jquery.js && ln -s /usr/share/javascript/jquery/jquery.js; \
cd $$d && rm -f underscore.js && ln -s /usr/share/javascript/underscore/underscore.js; \
done
help2man debian/lldb-$(LLVM_VERSION)/usr/bin/lldb-$(LLVM_VERSION) > debian/man/lldb-$(LLVM_VERSION).1
help2man debian/clang-format-$(LLVM_VERSION)/usr/bin/clang-format-$(LLVM_VERSION) > debian/man/clang-format-$(LLVM_VERSION).1
help2man debian/cpp11-migrate-$(LLVM_VERSION)/usr/bin/cpp11-migrate-$(LLVM_VERSION) > debian/man/cpp11-migrate-$(LLVM_VERSION).1
help2man debian/clang-format-diff-$(LLVM_VERSION)/usr/bin/clang-format-diff-$(LLVM_VERSION) > debian/man/clang-format-diff-$(LLVM_VERSION).1
for f in clang clang-tblgen clang-check scan-view; do \
help2man --version-string=$(LLVM_VERSION) debian/clang-$(LLVM_VERSION)/usr/bin/$$f > debian/man/$$f.1; \
done
for f in llvm-dwarfdump llvm-mc llvm-mcmarkup llvm-objdump llvm-rtdyld llvm-size llvm-tblgen macho-dump; do \
help2man --version-string=$(LLVM_VERSION) debian/llvm-$(LLVM_VERSION)/usr/bin/$$f-$(LLVM_VERSION) > debian/man/$$f-$(LLVM_VERSION).1; \
done
override_dh_auto_install:
$(MAKE) -C $(TARGET_BUILD) VERBOSE=1 install DESTDIR=$(CURDIR)/debian/tmp/
$(MAKE) -C $(TARGET_BUILD) VERBOSE=1 install DESTDIR=$(CURDIR)/debian/tmp/
chrpath -d $(TARGET_BUILD)/Release/bin/clang
chrpath -d `find $(CURDIR)/debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/bin/ -type f -executable`
......@@ -185,24 +203,27 @@ override_dh_auto_install:
if test -f $(CURDIR)/utils/vim/llvm.vim; then \
mv $(CURDIR)/utils/vim/llvm.vim $(CURDIR)/utils/vim/llvm-$(LLVM_VERSION).vim; \
fi
if test -f $(CURDIR)/utils/vim/tablegen.vim; then \
mv $(CURDIR)/utils/vim/tablegen.vim $(CURDIR)/utils/vim/tablegen-$(LLVM_VERSION).vim; \
fi
mv $(CURDIR)/clang/tools/clang-format/clang-format-diff.py $(CURDIR)/clang/tools/clang-format/clang-format-diff-$(LLVM_VERSION)
mv $(CURDIR)/clang/tools/clang-format/clang-format.py clang/tools/clang-format/clang-format-$(LLVM_VERSION).py
if test -f $(CURDIR)/clang/tools/clang-format/clang-format-diff.py; then \
mv $(CURDIR)/clang/tools/clang-format/clang-format-diff.py $(CURDIR)/clang/tools/clang-format/clang-format-diff-$(LLVM_VERSION); \
fi
if test -f $(CURDIR)/clang/tools/clang-format/clang-format.py; then \
mv $(CURDIR)/clang/tools/clang-format/clang-format.py clang/tools/clang-format/clang-format-$(LLVM_VERSION).py; \
fi
# Remove some license files
rm $(CURDIR)/debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/include/llvm/Support/LICENSE.TXT
rm -f $(CURDIR)/debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/include/llvm/Support/LICENSE.TXT \
$(CURDIR)/debian/llvm-$(LLVM_VERSION)-dev/usr/lib/llvm-$(LLVM_VERSION)/build/autoconf/LICENSE.TXT
# Managed in lldb-X.Y.links.in
rm -f $(CURDIR)/$(TARGET_BUILD)/Release/lib/python*/site-packages/lldb/_lldb.so
# Remove the copy of jquery. See bug #701087
cd $(CURDIR)/docs/_build/html/_static/ && rm -f jquery.js && ln -s /usr/share/javascript/jquery/jquery.js
override_dh_installman:
override_dh_installman: build_doc
dh_installman
# Make sure that lli manpage is only in llvm-3.2-runtime (See #697117)
rm -f $(CURDIR)/debian/llvm-$(LLVM_VERSION)/usr/share/man/man1/lli*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment