[Midnightbsd-cvs] src [9695] clang 3.4
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Dec 16 13:53:11 EST 2017
Revision: 9695
http://svnweb.midnightbsd.org/src/?rev=9695
Author: laffer1
Date: 2017-12-16 13:53:11 -0500 (Sat, 16 Dec 2017)
Log Message:
-----------
clang 3.4
Modified Paths:
--------------
trunk/usr.bin/clang/Makefile
trunk/usr.bin/clang/bugpoint/Makefile
trunk/usr.bin/clang/bugpoint/bugpoint.1
trunk/usr.bin/clang/clang-tblgen/Makefile
trunk/usr.bin/clang/clang.prog.mk
trunk/usr.bin/clang/llc/Makefile
trunk/usr.bin/clang/llc/llc.1
trunk/usr.bin/clang/lli/Makefile
trunk/usr.bin/clang/lli/lli.1
trunk/usr.bin/clang/llvm-ar/Makefile
trunk/usr.bin/clang/llvm-ar/llvm-ar.1
trunk/usr.bin/clang/llvm-as/Makefile
trunk/usr.bin/clang/llvm-as/llvm-as.1
trunk/usr.bin/clang/llvm-bcanalyzer/Makefile
trunk/usr.bin/clang/llvm-bcanalyzer/llvm-bcanalyzer.1
trunk/usr.bin/clang/llvm-diff/Makefile
trunk/usr.bin/clang/llvm-diff/llvm-diff.1
trunk/usr.bin/clang/llvm-dis/Makefile
trunk/usr.bin/clang/llvm-dis/llvm-dis.1
trunk/usr.bin/clang/llvm-extract/Makefile
trunk/usr.bin/clang/llvm-extract/llvm-extract.1
trunk/usr.bin/clang/llvm-link/Makefile
trunk/usr.bin/clang/llvm-link/llvm-link.1
trunk/usr.bin/clang/llvm-mc/Makefile
trunk/usr.bin/clang/llvm-nm/Makefile
trunk/usr.bin/clang/llvm-nm/llvm-nm.1
trunk/usr.bin/clang/llvm-objdump/Makefile
trunk/usr.bin/clang/llvm-rtdyld/Makefile
trunk/usr.bin/clang/macho-dump/Makefile
trunk/usr.bin/clang/opt/Makefile
trunk/usr.bin/clang/opt/opt.1
Added Paths:
-----------
trunk/usr.bin/clang/lldb/
trunk/usr.bin/clang/lldb/Makefile
Removed Paths:
-------------
trunk/usr.bin/clang/llvm-prof/
trunk/usr.bin/clang/llvm-ranlib/
Property Changed:
----------------
trunk/usr.bin/clang/bugpoint/bugpoint.1
trunk/usr.bin/clang/llc/llc.1
trunk/usr.bin/clang/lli/lli.1
trunk/usr.bin/clang/llvm-ar/llvm-ar.1
trunk/usr.bin/clang/llvm-as/llvm-as.1
trunk/usr.bin/clang/llvm-bcanalyzer/llvm-bcanalyzer.1
trunk/usr.bin/clang/llvm-diff/llvm-diff.1
trunk/usr.bin/clang/llvm-dis/llvm-dis.1
trunk/usr.bin/clang/llvm-extract/llvm-extract.1
trunk/usr.bin/clang/llvm-link/llvm-link.1
trunk/usr.bin/clang/llvm-nm/llvm-nm.1
trunk/usr.bin/clang/opt/opt.1
Modified: trunk/usr.bin/clang/Makefile
===================================================================
--- trunk/usr.bin/clang/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,10 +1,12 @@
# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/Makefile 264303 2014-04-09 18:16:58Z dim $
.include <bsd.own.mk>
SUBDIR= clang clang-tblgen tblgen
-.if ${MK_CLANG_EXTRAS} != "no" && !defined(TOOLS_PREFIX)
+.if !defined(TOOLS_PREFIX)
+.if ${MK_CLANG_EXTRAS} != "no"
SUBDIR+=bugpoint \
llc \
lli \
@@ -18,11 +20,16 @@
llvm-mc \
llvm-nm \
llvm-objdump \
- llvm-prof \
- llvm-ranlib \
llvm-rtdyld \
macho-dump \
opt
.endif
+.if ${MK_LLDB} != "no"
+SUBDIR+=lldb
+.endif
+.endif # TOOLS_PREFIX
+
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
Modified: trunk/usr.bin/clang/bugpoint/Makefile
===================================================================
--- trunk/usr.bin/clang/bugpoint/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/bugpoint/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/bugpoint/Makefile 249423 2013-04-12 17:57:40Z dim $
.include <bsd.own.mk>
Modified: trunk/usr.bin/clang/bugpoint/bugpoint.1
===================================================================
--- trunk/usr.bin/clang/bugpoint/bugpoint.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/bugpoint/bugpoint.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
.\" $MidnightBSD$
-.TH "BUGPOINT" "1" "2013-04-11" "3.3" "LLVM"
+.\" $FreeBSD: stable/10/usr.bin/clang/bugpoint/bugpoint.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "BUGPOINT" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
bugpoint \- automatic test case reduction tool
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBbugpoint\fP [\fIoptions\fP] [\fIinput LLVM ll/bc files\fP] [\fILLVM passes\fP] \fB\-\-args\fP
@@ -120,7 +121,7 @@
.INDENT 0.0
.INDENT 3.5
Pass all arguments specified after \fB\-\-gcc\-tool\-args\fP to the invocation of
-\fBgcc\fP.
+\fBgcc\fP\&.
.UNINDENT
.UNINDENT
.sp
@@ -127,7 +128,7 @@
\fB\-\-opt\-args\fP \fIopt args\fP
.INDENT 0.0
.INDENT 3.5
-Pass all arguments specified after \fB\-\-opt\-args\fP to the invocation of \fBopt\fP.
+Pass all arguments specified after \fB\-\-opt\-args\fP to the invocation of \fBopt\fP\&.
.UNINDENT
.UNINDENT
.sp
@@ -154,7 +155,7 @@
.INDENT 0.0
.INDENT 3.5
Continually randomize the specified passes and run them on the test program
-until a bug is found or the user kills \fBbugpoint\fP.
+until a bug is found or the user kills \fBbugpoint\fP\&.
.UNINDENT
.UNINDENT
.sp
@@ -214,7 +215,7 @@
\fB\-\-profile\-info\-file\fP \fIfilename\fP
.INDENT 0.0
.INDENT 3.5
-Profile file loaded by \fB\-\-profile\-loader\fP.
+Profile file loaded by \fB\-\-profile\-loader\fP\&.
.UNINDENT
.UNINDENT
.sp
Property changes on: trunk/usr.bin/clang/bugpoint/bugpoint.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/clang-tblgen/Makefile
===================================================================
--- trunk/usr.bin/clang/clang-tblgen/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/clang-tblgen/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,6 +1,7 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/clang-tblgen/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/clang-tblgen/Makefile 276486 2014-12-31 23:25:37Z ngie $
-NO_MAN=
+MAN=
.include <bsd.own.mk>
PROG_CXX=clang-tblgen
@@ -14,7 +15,6 @@
ClangDiagnosticsEmitter.cpp \
ClangSACheckersEmitter.cpp \
NeonEmitter.cpp \
- OptParserEmitter.cpp \
TableGen.cpp
LIBDEPS=llvmtablegen \
Modified: trunk/usr.bin/clang/clang.prog.mk
===================================================================
--- trunk/usr.bin/clang/clang.prog.mk 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/clang.prog.mk 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/clang.prog.mk 263508 2014-03-21 17:53:59Z dim $
LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm
@@ -9,6 +10,9 @@
LDADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a
.endfor
+DPADD+= ${LIBNCURSES}
+LDADD+= -lncurses
+
BINDIR?= /usr/bin
.include <bsd.prog.mk>
Modified: trunk/usr.bin/clang/llc/Makefile
===================================================================
--- trunk/usr.bin/clang/llc/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llc/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llc/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llc/Makefile 263763 2014-03-26 07:31:57Z dim $
.include <bsd.own.mk>
@@ -23,9 +24,16 @@
llvmmipsinfo \
llvmmipsinstprinter \
llvmpowerpccodegen \
+ llvmpowerpcasmparser \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
+ llvmsparcdisassembler \
+ llvmsparccodegen \
+ llvmsparcasmparser \
+ llvmsparcdesc \
+ llvmsparcinfo \
+ llvmsparcinstprinter \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \
Modified: trunk/usr.bin/clang/llc/llc.1
===================================================================
--- trunk/usr.bin/clang/llc/llc.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llc/llc.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/llc/llc.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLC" "1" "2013-06-10" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/llc/llc.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLC" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
llc \- LLVM static compiler
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBllc\fP [\fIoptions\fP] [\fIfilename\fP]
@@ -41,13 +42,13 @@
through a native assembler and linker to generate a native executable.
.sp
The choice of architecture for the output assembly code is automatically
-determined from the input file, unless the \fI\%-march\fP option is used to
+determined from the input file, unless the \fI\%\-march\fP option is used to
override the default.
.SH OPTIONS
.sp
If \fBfilename\fP is "\fB\-\fP" or omitted, \fBllc\fP reads from standard input.
-Otherwise, it will from \fBfilename\fP. Inputs can be in either the LLVM assembly
-language format (\fB.ll\fP) or the LLVM bitcode format (\fB.bc\fP).
+Otherwise, it will from \fBfilename\fP\&. Inputs can be in either the LLVM assembly
+language format (\fB\&.ll\fP) or the LLVM bitcode format (\fB\&.bc\fP).
.sp
If the \fI\-o\fP option is omitted, then \fBllc\fP will send its output
to standard output if the input is from standard input. If the \fI\-o\fP
@@ -55,7 +56,7 @@
.sp
If no \fI\-o\fP option is specified and an input file other than "\fB\-\fP" is
specified, then \fBllc\fP creates the output filename by taking the input
-filename, removing any existing \fB.bc\fP extension, and adding a \fB.s\fP suffix.
+filename, removing any existing \fB\&.bc\fP extension, and adding a \fB\&.s\fP suffix.
.sp
Other \fBllc\fP options are described below.
.SS End\-user Options
@@ -69,7 +70,7 @@
.B \-O=uint
Generate code at different optimization levels. These correspond to the
\fB\-O0\fP, \fB\-O1\fP, \fB\-O2\fP, and \fB\-O3\fP optimization levels used by
-\fBllvm\-gcc\fP and \fBclang\fP.
+\fBllvm\-gcc\fP and \fBclang\fP\&.
.UNINDENT
.INDENT 0.0
.TP
@@ -180,7 +181,7 @@
.B \-\-load=<dso_path>
Dynamically load \fBdso_path\fP (a path to a dynamically shared object) that
implements an LLVM target. This will permit the target name to be used with
-the \fI\%-march\fP option so that code can be generated for that target.
+the \fI\%\-march\fP option so that code can be generated for that target.
.UNINDENT
.SS Tuning/Configuration Options
.INDENT 0.0
@@ -191,34 +192,34 @@
.INDENT 0.0
.TP
.B \-\-regalloc=<allocator>
-Specify the register allocator to use. The default \fBallocator\fP is \fIlocal\fP.
+Specify the register allocator to use.
Valid register allocators are:
.sp
-\fIsimple\fP
+\fIbasic\fP
.INDENT 7.0
.INDENT 3.5
-Very simple "always spill" register allocator
+Basic register allocator.
.UNINDENT
.UNINDENT
.sp
-\fIlocal\fP
+\fIfast\fP
.INDENT 7.0
.INDENT 3.5
-Local register allocator
+Fast register allocator. It is the default for unoptimized code.
.UNINDENT
.UNINDENT
.sp
-\fIlinearscan\fP
+\fIgreedy\fP
.INDENT 7.0
.INDENT 3.5
-Linear scan global register allocator
+Greedy register allocator. It is the default for optimized code.
.UNINDENT
.UNINDENT
.sp
-\fIiterativescan\fP
+\fIpbqp\fP
.INDENT 7.0
.INDENT 3.5
-Iterative scan global register allocator
+Register allocator based on \(aqPartitioned Boolean Quadratic Programming\(aq.
.UNINDENT
.UNINDENT
.UNINDENT
@@ -227,7 +228,7 @@
.B \-\-spiller=<spiller>
Specify the spiller to use for register allocators that support it. Currently
this option is used only by the linear scan register allocator. The default
-\fBspiller\fP is \fIlocal\fP. Valid spillers are:
+\fBspiller\fP is \fIlocal\fP\&. Valid spillers are:
.sp
\fIsimple\fP
.INDENT 7.0
Property changes on: trunk/usr.bin/clang/llc/llc.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: trunk/usr.bin/clang/lldb/Makefile
===================================================================
--- trunk/usr.bin/clang/lldb/Makefile (rev 0)
+++ trunk/usr.bin/clang/lldb/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -0,0 +1,145 @@
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/lldb/Makefile 285952 2015-07-28 12:46:37Z emaste $
+
+.include <bsd.own.mk>
+
+PROG_CXX=lldb
+
+LLDB_SRCS=${.CURDIR}/../../../contrib/llvm/tools/lldb
+
+CFLAGS+= -I${LLDB_SRCS}/include
+CXXFLAGS+= -std=c++11
+
+SRCDIR= tools/lldb/tools/driver
+SRCS= Driver.cpp \
+ Platform.cpp
+
+# Man page directory
+.PATH: ${LLDB_SRCS}/docs
+
+DPADD= ${LIBEDIT} ${LIBNCURSESW} ${LIBEXECINFO} ${LIBPANEL}
+LDADD= -ledit -lncursesw -lexecinfo -lpanel
+
+LLDB_LIBS=\
+ lldb \
+ \
+ lldbAPI \
+ lldbBreakpoint \
+ lldbCommands \
+ lldbCore \
+ lldbDataFormatters \
+ lldbExpression \
+ lldbHostFreeBSD \
+ lldbHostCommon \
+ lldbInterpreter \
+ lldbSymbol \
+ lldbTarget \
+ lldbUtility \
+ \
+ lldbPluginABISysV_x86_64 \
+ lldbPluginCXXItaniumABI \
+ lldbPluginDisassemblerLLVM \
+ lldbPluginInstructionARM \
+ lldbPluginSymbolFileDWARF \
+ lldbPluginSymbolFileSymtab \
+ lldbPluginDynamicLoaderStatic \
+ lldbPluginDynamicLoaderPosixDYLD \
+ lldbPluginObjectContainerBSDArchive \
+ lldbPluginObjectFileELF \
+ lldbPluginSymbolVendorELF \
+ lldbPluginPlatformFreeBSD \
+ lldbPluginPlatformGDB \
+ lldbPluginProcessElfCore \
+ lldbPluginProcessFreeBSD \
+ lldbPluginProcessGDBRemote \
+ lldbPluginProcessUtility \
+ lldbPluginProcessPOSIX \
+ lldbPluginProcessFreeBSD \
+ lldbPluginUnwindAssemblyInstEmulation \
+ lldbPluginUnwindAssemblyX86
+
+LDADD+= -Wl,--start-group
+.for lib in ${LLDB_LIBS}
+DPADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a
+LDADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a
+.endfor
+LDADD+= -Wl,--end-group
+
+# Clang and LLVM libraries
+LIBDEPS=\
+ clangfrontend \
+ clangdriver \
+ clangserialization \
+ clangcodegen \
+ clangparse \
+ clangsema \
+ clanganalysis \
+ clangedit \
+ clangast \
+ clangbasic \
+ clanglex \
+ \
+ llvmoption \
+ llvmarmasmparser \
+ llvmarmcodegen \
+ llvminstrumentation \
+ llvmirreader \
+ llvmlinker \
+ llvmmipsasmparser \
+ llvmmipscodegen \
+ llvmmipsdisassembler \
+ llvmobjcarcopts \
+ llvmpowerpccodegen \
+ llvmx86asmparser \
+ llvmx86codegen \
+ llvmx86disassembler \
+ llvmmcjit \
+ llvmmcdisassembler \
+ llvmarmdisassembler \
+ llvmselectiondag \
+ llvmipo \
+ llvmbitwriter \
+ llvmbitreader \
+ llvmasmparser \
+ llvminterpreter \
+ llvmjit \
+ llvmarmdesc \
+ llvmasmprinter \
+ llvmmipsdesc \
+ llvmmipsinstprinter \
+ llvmpowerpcdesc \
+ llvmpowerpcinstprinter \
+ llvmpowerpcasmparser \
+ llvmruntimedyld \
+ llvmvectorize \
+ llvmx86desc \
+ llvmx86instprinter \
+ llvmexecutionengine \
+ llvmcodegen \
+ llvmscalaropts \
+ llvmsparcdisassembler \
+ llvmsparccodegen \
+ llvmsparcasmparser \
+ llvmsparcdesc \
+ llvmsparcinfo \
+ llvmsparcinstprinter \
+ llvmarminfo \
+ llvmarminstprinter \
+ llvmmcparser \
+ llvmmipsinfo \
+ llvmpowerpcinfo \
+ llvmx86info \
+ llvmx86utils \
+ llvmobject \
+ llvminstcombine \
+ llvmtransformutils \
+ llvmipa \
+ llvmanalysis \
+ llvmtarget \
+ llvmcore \
+ llvmmc \
+ llvmsupport
+
+.include "../clang.prog.mk"
+
+LDADD+= -lpthread
Property changes on: trunk/usr.bin/clang/lldb/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/usr.bin/clang/lli/Makefile
===================================================================
--- trunk/usr.bin/clang/lli/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/lli/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/lli/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/lli/Makefile 263508 2014-03-21 17:53:59Z dim $
.include <bsd.own.mk>
@@ -6,8 +7,9 @@
SRCDIR= tools/lli
SRCS= lli.cpp \
- RecordingMemoryManager.cpp \
- RemoteTarget.cpp
+ RemoteMemoryManager.cpp \
+ RemoteTarget.cpp \
+ RemoteTargetExternal.cpp
LIBDEPS=llvmx86disassembler \
llvmx86asmparser \
@@ -23,6 +25,7 @@
llvmasmprinter \
llvmmcparser \
llvminterpreter \
+ llvminstrumentation \
llvmmcjit \
llvmjit \
llvmcodegen \
Modified: trunk/usr.bin/clang/lli/lli.1
===================================================================
--- trunk/usr.bin/clang/lli/lli.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/lli/lli.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/lli/lli.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLI" "1" "2013-04-11" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/lli/lli.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLI" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
lli \- directly execute programs from LLVM bitcode
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBlli\fP [\fIoptions\fP] [\fIfilename\fP] [\fIprogram args\fP]
Property changes on: trunk/usr.bin/clang/lli/lli.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/llvm-ar/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-ar/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-ar/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-ar/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-ar/Makefile 263508 2014-03-21 17:53:59Z dim $
.include <bsd.own.mk>
@@ -7,7 +8,7 @@
SRCDIR= tools/llvm-ar
SRCS= llvm-ar.cpp
-LIBDEPS=llvmarchive \
+LIBDEPS=llvmobject \
llvmbitreader \
llvmcore \
llvmsupport
Modified: trunk/usr.bin/clang/llvm-ar/llvm-ar.1
===================================================================
--- trunk/usr.bin/clang/llvm-ar/llvm-ar.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-ar/llvm-ar.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/llvm-ar/llvm-ar.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLVM-AR" "1" "2013-04-11" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/llvm-ar/llvm-ar.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLVM-AR" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
llvm-ar \- LLVM archiver
.
@@ -29,14 +32,12 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBllvm\-ar\fP [\-]{dmpqrtx}[Rabfikou] [relpos] [count] <archive> [files...]
.SH DESCRIPTION
.sp
-The \fBllvm\-ar\fP command is similar to the common Unix utility, \fBar\fP. It
+The \fBllvm\-ar\fP command is similar to the common Unix utility, \fBar\fP\&. It
archives several files together into a single file. The intent for this is
to produce archive libraries by LLVM bitcode that can be linked into an
LLVM program. However, the archive can contain any kind of file. By default,
@@ -44,24 +45,10 @@
only the symbol table needs to be consulted, not each individual file member
of the archive.
.sp
-The \fBllvm\-ar\fP command can be used to \fIread\fP both SVR4 and BSD style archive
-files. However, it cannot be used to write them. While the \fBllvm\-ar\fP command
-produces files that are \fIalmost\fP identical to the format used by other \fBar\fP
-implementations, it has two significant departures in order to make the
-archive appropriate for LLVM. The first departure is that \fBllvm\-ar\fP only
-uses BSD4.4 style long path names (stored immediately after the header) and
-never contains a string table for long names. The second departure is that the
-symbol table is formated for efficient construction of an in\-memory data
-structure that permits rapid (red\-black tree) lookups. Consequently, archives
-produced with \fBllvm\-ar\fP usually won\(aqt be readable or editable with any
-\fBar\fP implementation or useful for linking. Using the \fBf\fP modifier to flatten
-file names will make the archive readable by other \fBar\fP implementations
-but not for linking because the symbol table format for LLVM is unique. If an
+The \fBllvm\-ar\fP command can be used to \fIread\fP SVR4, GNU and BSD style archive
+files. However, right now it can only write in the GNU format. If an
SVR4 or BSD style archive is used with the \fBr\fP (replace) or \fBq\fP (quick
-update) operations, the archive will be reconstructed in LLVM format. This
-means that the string table will be dropped (in deference to BSD 4.4 long names)
-and an LLVM symbol table will be added (by default). The system symbol table
-will be retained.
+update) operations, the archive will be reconstructed in GNU format.
.sp
Here\(aqs where \fBllvm\-ar\fP departs from previous \fBar\fP implementations:
.sp
@@ -68,11 +55,8 @@
\fISymbol Table\fP
.INDENT 0.0
.INDENT 3.5
-Since \fBllvm\-ar\fP is intended to archive bitcode files, the symbol table
-won\(aqt make much sense to anything but LLVM. Consequently, the symbol table\(aqs
-format has been simplified. It consists simply of a sequence of pairs
-of a file member index number as an LSB 4byte integer and a null\-terminated
-string.
+Since \fBllvm\-ar\fP supports bitcode files. The symbol table it creates
+is in GNU format and includes both native and bitcode files.
.UNINDENT
.UNINDENT
.sp
@@ -79,33 +63,10 @@
\fILong Paths\fP
.INDENT 0.0
.INDENT 3.5
-Some \fBar\fP implementations (SVR4) use a separate file member to record long
-path names (> 15 characters). \fBllvm\-ar\fP takes the BSD 4.4 and Mac OS X
-approach which is to simply store the full path name immediately preceding
-the data for the file. The path name is null terminated and may contain the
-slash (/) character.
+Currently \fBllvm\-ar\fP can read GNU and BSD long file names, but only writes
+archives with the GNU format.
.UNINDENT
.UNINDENT
-.sp
-\fIDirectory Recursion\fP
-.INDENT 0.0
-.INDENT 3.5
-Most \fBar\fP implementations do not recurse through directories but simply
-ignore directories if they are presented to the program in the \fIfiles\fP
-option. \fBllvm\-ar\fP, however, can recurse through directory structures and
-add all the files under a directory, if requested.
-.UNINDENT
-.UNINDENT
-.sp
-\fITOC Verbose Output\fP
-.INDENT 0.0
-.INDENT 3.5
-When \fBllvm\-ar\fP prints out the verbose table of contents (\fBtv\fP option), it
-precedes the usual output with a character indicating the basic kind of
-content in the file. A blank means the file is a regular file. A \(aqB\(aq means
-the file is an LLVM bitcode file. An \(aqS\(aq means the file is the symbol table.
-.UNINDENT
-.UNINDENT
.SH OPTIONS
.sp
The options to \fBllvm\-ar\fP are compatible with other \fBar\fP implementations.
@@ -117,7 +78,7 @@
.sp
The Operations and Modifiers are explained in the sections below. The minimal
set of options is at least one operator and the name of the archive. Typically
-archive files end with a \fB.a\fP suffix, but this is not required. Following
+archive files end with a \fB\&.a\fP suffix, but this is not required. Following
the \fIarchive\-name\fP comes a list of \fIfiles\fP that indicate the specific members
of the archive to operate on. If the \fIfiles\fP option is not specified, it
generally means either "none" or "all" members, depending on the operation.
@@ -144,22 +105,21 @@
.UNINDENT
.UNINDENT
.sp
-p[k]
+p
.INDENT 0.0
.INDENT 3.5
-Print files to the standard output. The \fIk\fP modifier applies to this
-operation. This operation simply prints the \fIfiles\fP indicated to the
-standard output. If no \fIfiles\fP are specified, the entire archive is printed.
-Printing bitcode files is ill\-advised as they might confuse your terminal
-settings. The \fIp\fP operation never modifies the archive.
+Print files to the standard output. This operation simply prints the
+\fIfiles\fP indicated to the standard output. If no \fIfiles\fP are
+specified, the entire archive is printed. Printing bitcode files is
+ill\-advised as they might confuse your terminal settings. The \fIp\fP
+operation never modifies the archive.
.UNINDENT
.UNINDENT
.sp
-q[Rf]
+q
.INDENT 0.0
.INDENT 3.5
-Quickly append files to the end of the archive. The \fIR\fP, and \fIf\fP
-modifiers apply to this operation. This operation quickly adds the
+Quickly append files to the end of the archive. This operation quickly adds the
\fIfiles\fP to the archive without checking for duplicates that should be
removed first. If no \fIfiles\fP are specified, the archive is not modified.
Because of the way that \fBllvm\-ar\fP constructs the archive file, its dubious
@@ -167,10 +127,10 @@
.UNINDENT
.UNINDENT
.sp
-r[Rabfu]
+r[abu]
.INDENT 0.0
.INDENT 3.5
-Replace or insert file members. The \fIR\fP, \fIa\fP, \fIb\fP, \fIf\fP, and \fIu\fP
+Replace or insert file members. The \fIa\fP, \fIb\fP, and \fIu\fP
modifiers apply to this operation. This operation will replace existing
\fIfiles\fP or insert them at the end of the archive if they do not exist. If no
\fIfiles\fP are specified, the archive is not modified.
@@ -223,18 +183,6 @@
.UNINDENT
.UNINDENT
.sp
-[f]
-.INDENT 0.0
-.INDENT 3.5
-Normally, \fBllvm\-ar\fP stores the full path name to a file as presented to it on
-the command line. With this option, truncated (15 characters max) names are
-used. This ensures name compatibility with older versions of \fBar\fP but may also
-thwart correct extraction of the files (duplicates may overwrite). If used with
-the \fIR\fP option, the directory recursion will be performed but the file names
-will all be flattened to simple file names.
-.UNINDENT
-.UNINDENT
-.sp
[i]
.INDENT 0.0
.INDENT 3.5
@@ -242,22 +190,6 @@
.UNINDENT
.UNINDENT
.sp
-[k]
-.INDENT 0.0
-.INDENT 3.5
-Normally, \fBllvm\-ar\fP will not print the contents of bitcode files when the
-\fIp\fP operation is used. This modifier defeats the default and allows the
-bitcode members to be printed.
-.UNINDENT
-.UNINDENT
-.sp
-[N]
-.INDENT 0.0
-.INDENT 3.5
-This option is ignored by \fBllvm\-ar\fP but provided for compatibility.
-.UNINDENT
-.UNINDENT
-.sp
[o]
.INDENT 0.0
.INDENT 3.5
@@ -266,24 +198,6 @@
.UNINDENT
.UNINDENT
.sp
-[P]
-.INDENT 0.0
-.INDENT 3.5
-use full path names when matching
-.UNINDENT
-.UNINDENT
-.sp
-[R]
-.INDENT 0.0
-.INDENT 3.5
-This modifier instructions the \fIr\fP option to recursively process directories.
-Without \fIR\fP, directories are ignored and only those \fIfiles\fP that refer to
-files will be added to the archive. When \fIR\fP is used, any directories specified
-with \fIfiles\fP will be scanned (recursively) to find files to be added to the
-archive. Any file whose name begins with a dot will not be added.
-.UNINDENT
-.UNINDENT
-.sp
[u]
.INDENT 0.0
.INDENT 3.5
@@ -310,8 +224,7 @@
This modifier requests that an archive index (or symbol table) be added to the
archive. This is the default mode of operation. The symbol table will contain
all the externally visible functions and global variables defined by all the
-bitcode files in the archive. Using this modifier is more efficient that using
-llvm\-ranlib|llvm\-ranlib which also creates the symbol table.
+bitcode files in the archive.
.UNINDENT
.UNINDENT
.sp
@@ -335,7 +248,7 @@
.SH STANDARDS
.sp
The \fBllvm\-ar\fP utility is intended to provide a superset of the IEEE Std 1003.2
-(POSIX.2) functionality for \fBar\fP. \fBllvm\-ar\fP can read both SVR4 and BSD4.4 (or
+(POSIX.2) functionality for \fBar\fP\&. \fBllvm\-ar\fP can read both SVR4 and BSD4.4 (or
Mac OS X) archives. If the \fBf\fP modifier is given to the \fBx\fP or \fBr\fP operations
then \fBllvm\-ar\fP will write SVR4 compatible archives. Without this modifier,
\fBllvm\-ar\fP will write BSD4.4 compatible archives that have long names
@@ -428,12 +341,6 @@
.UNINDENT
.UNINDENT
.sp
-The LLVM symbol table has the special name "#_LLVM_SYM_TAB_#". It is presumed
-that no regular archive member file will want this name. The LLVM symbol table
-is simply composed of a sequence of triplets: byte offset, length of symbol,
-and the symbol itself. Symbols are not null or newline terminated. Here are
-the details on each of these items:
-.sp
offset \- vbr encoded 32\-bit integer
.INDENT 0.0
.INDENT 3.5
@@ -461,7 +368,7 @@
.INDENT 0.0
.INDENT 3.5
The symbol item provides the text of the symbol that is associated with the
-\fIoffset\fP. The symbol is not terminated by any character. Its length is provided
+\fIoffset\fP\&. The symbol is not terminated by any character. Its length is provided
by the \fIlength\fP field. Note that is allowed (but unwise) to use non\-printing
characters (even 0x00) in the symbol. This allows for multiple encodings of
symbol names.
@@ -475,7 +382,7 @@
exit code of 3.
.SH SEE ALSO
.sp
-llvm\-ranlib|llvm\-ranlib, ar(1)
+ar(1)
.SH AUTHOR
Maintained by The LLVM Team (http://llvm.org/).
.SH COPYRIGHT
Property changes on: trunk/usr.bin/clang/llvm-ar/llvm-ar.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/llvm-as/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-as/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-as/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-as/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-as/Makefile 249423 2013-04-12 17:57:40Z dim $
.include <bsd.own.mk>
Modified: trunk/usr.bin/clang/llvm-as/llvm-as.1
===================================================================
--- trunk/usr.bin/clang/llvm-as/llvm-as.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-as/llvm-as.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/llvm-as/llvm-as.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLVM-AS" "1" "2013-04-11" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/llvm-as/llvm-as.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLVM-AS" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
llvm-as \- LLVM assembler
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBllvm\-as\fP [\fIoptions\fP] [\fIfilename\fP]
@@ -50,11 +51,11 @@
.IP \(bu 2
If the input is standard input, then the output is standard output.
.IP \(bu 2
-If the input is a file that ends with \fB.ll\fP, then the output file is of the
-same name, except that the suffix is changed to \fB.bc\fP.
+If the input is a file that ends with \fB\&.ll\fP, then the output file is of the
+same name, except that the suffix is changed to \fB\&.bc\fP\&.
.IP \(bu 2
-If the input is a file that does not end with the \fB.ll\fP suffix, then the
-output file has the same name as the input file, except that the \fB.bc\fP
+If the input is a file that does not end with the \fB\&.ll\fP suffix, then the
+output file has the same name as the input file, except that the \fB\&.bc\fP
suffix is appended.
.UNINDENT
.SH OPTIONS
Property changes on: trunk/usr.bin/clang/llvm-as/llvm-as.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/llvm-bcanalyzer/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-bcanalyzer/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-bcanalyzer/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-bcanalyzer/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-bcanalyzer/Makefile 249423 2013-04-12 17:57:40Z dim $
.include <bsd.own.mk>
Modified: trunk/usr.bin/clang/llvm-bcanalyzer/llvm-bcanalyzer.1
===================================================================
--- trunk/usr.bin/clang/llvm-bcanalyzer/llvm-bcanalyzer.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-bcanalyzer/llvm-bcanalyzer.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/llvm-bcanalyzer/llvm-bcanalyzer.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLVM-BCANALYZER" "1" "2013-04-11" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/llvm-bcanalyzer/llvm-bcanalyzer.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLVM-BCANALYZER" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
llvm-bcanalyzer \- LLVM bitcode analyzer
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBllvm\-bcanalyzer\fP [\fIoptions\fP] [\fIfilename\fP]
Property changes on: trunk/usr.bin/clang/llvm-bcanalyzer/llvm-bcanalyzer.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/llvm-diff/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-diff/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-diff/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-diff/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-diff/Makefile 249423 2013-04-12 17:57:40Z dim $
.include <bsd.own.mk>
Modified: trunk/usr.bin/clang/llvm-diff/llvm-diff.1
===================================================================
--- trunk/usr.bin/clang/llvm-diff/llvm-diff.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-diff/llvm-diff.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/llvm-diff/llvm-diff.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLVM-DIFF" "1" "2013-04-11" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/llvm-diff/llvm-diff.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLVM-DIFF" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
llvm-diff \- LLVM structural 'diff'
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBllvm\-diff\fP [\fIoptions\fP] \fImodule 1\fP \fImodule 2\fP [\fIglobal name ...\fP]
Property changes on: trunk/usr.bin/clang/llvm-diff/llvm-diff.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/llvm-dis/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-dis/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-dis/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-dis/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-dis/Makefile 249423 2013-04-12 17:57:40Z dim $
.include <bsd.own.mk>
Modified: trunk/usr.bin/clang/llvm-dis/llvm-dis.1
===================================================================
--- trunk/usr.bin/clang/llvm-dis/llvm-dis.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-dis/llvm-dis.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/llvm-dis/llvm-dis.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLVM-DIS" "1" "2013-04-11" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/llvm-dis/llvm-dis.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLVM-DIS" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
llvm-dis \- LLVM disassembler
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBllvm\-dis\fP [\fIoptions\fP] [\fIfilename\fP]
@@ -45,7 +46,7 @@
If the input is being read from standard input, then \fBllvm\-dis\fP
will send its output to standard output by default. Otherwise, the
output will be written to a file named after the input file, with
-a \fB.ll\fP suffix added (any existing \fB.bc\fP suffix will first be
+a \fB\&.ll\fP suffix added (any existing \fB\&.bc\fP suffix will first be
removed). You can override the choice of output file using the
\fB\-o\fP option.
.SH OPTIONS
Property changes on: trunk/usr.bin/clang/llvm-dis/llvm-dis.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/llvm-extract/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-extract/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-extract/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-extract/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-extract/Makefile 249423 2013-04-12 17:57:40Z dim $
.include <bsd.own.mk>
Modified: trunk/usr.bin/clang/llvm-extract/llvm-extract.1
===================================================================
--- trunk/usr.bin/clang/llvm-extract/llvm-extract.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-extract/llvm-extract.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/llvm-extract/llvm-extract.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLVM-EXTRACT" "1" "2013-04-11" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/llvm-extract/llvm-extract.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLVM-EXTRACT" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
llvm-extract \- extract a function from an LLVM module
.
@@ -29,32 +32,31 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBllvm\-extract\fP [\fIoptions\fP] \fB\-\-func\fP \fIfunction\-name\fP [\fIfilename\fP]
.SH DESCRIPTION
.sp
-The \fBllvm\-extract\fP command takes the name of a function and extracts it from
-the specified LLVM bitcode file. It is primarily used as a debugging tool to
-reduce test cases from larger programs that are triggering a bug.
+The \fBllvm\-extract\fP command takes the name of a function and extracts
+it from the specified LLVM bitcode file. It is primarily used as a debugging
+tool to reduce test cases from larger programs that are triggering a bug.
.sp
In addition to extracting the bitcode of the specified function,
-\fBllvm\-extract\fP will also remove unreachable global variables, prototypes, and
-unused types.
+\fBllvm\-extract\fP will also remove unreachable global variables,
+prototypes, and unused types.
.sp
-The \fBllvm\-extract\fP command reads its input from standard input if filename is
-omitted or if filename is \-. The output is always written to standard output,
-unless the \fB\-o\fP option is specified (see below).
+The \fBllvm\-extract\fP command reads its input from standard input if
+filename is omitted or if filename is \fB\-\fP\&. The output is always written to
+standard output, unless the \fB\-o\fP option is specified (see below).
.SH OPTIONS
.sp
\fB\-f\fP
.INDENT 0.0
.INDENT 3.5
-Enable binary output on terminals. Normally, \fBllvm\-extract\fP will refuse to
-write raw bitcode output if the output stream is a terminal. With this option,
-\fBllvm\-extract\fP will write raw bitcode regardless of the output device.
+Enable binary output on terminals. Normally, \fBllvm\-extract\fP will
+refuse to write raw bitcode output if the output stream is a terminal. With
+this option, \fBllvm\-extract\fP will write raw bitcode regardless of the
+output device.
.UNINDENT
.UNINDENT
.sp
@@ -87,8 +89,8 @@
.INDENT 0.0
.INDENT 3.5
Extract the global variable(s) matching \fIglobal\-regular\-expr\fP from the LLVM
-bitcode. All global variables matching the regular expression will be extracted.
-May be specified multiple times.
+bitcode. All global variables matching the regular expression will be
+extracted. May be specified multiple times.
.UNINDENT
.UNINDENT
.sp
@@ -119,7 +121,7 @@
occurs, it will exit with a non\-zero value.
.SH SEE ALSO
.sp
-bugpoint|bugpoint
+bugpoint
.SH AUTHOR
Maintained by The LLVM Team (http://llvm.org/).
.SH COPYRIGHT
Property changes on: trunk/usr.bin/clang/llvm-extract/llvm-extract.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/llvm-link/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-link/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-link/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-link/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-link/Makefile 249423 2013-04-12 17:57:40Z dim $
.include <bsd.own.mk>
Modified: trunk/usr.bin/clang/llvm-link/llvm-link.1
===================================================================
--- trunk/usr.bin/clang/llvm-link/llvm-link.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-link/llvm-link.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/llvm-link/llvm-link.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLVM-LINK" "1" "2013-04-11" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/llvm-link/llvm-link.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLVM-LINK" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
llvm-link \- LLVM bitcode linker
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBllvm\-link\fP [\fIoptions\fP] \fIfilename ...\fP
Property changes on: trunk/usr.bin/clang/llvm-link/llvm-link.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/llvm-mc/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-mc/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-mc/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,6 +1,7 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-mc/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-mc/Makefile 276486 2014-12-31 23:25:37Z ngie $
-NO_MAN=
+MAN=
.include <bsd.own.mk>
PROG_CXX=llvm-mc
@@ -23,9 +24,16 @@
llvmmipsinfo \
llvmmipsinstprinter \
llvmpowerpccodegen \
+ llvmpowerpcasmparser \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
+ llvmsparcdisassembler \
+ llvmsparccodegen \
+ llvmsparcasmparser \
+ llvmsparcdesc \
+ llvmsparcinfo \
+ llvmsparcinstprinter \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \
Modified: trunk/usr.bin/clang/llvm-nm/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-nm/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-nm/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-nm/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-nm/Makefile 263508 2014-03-21 17:53:59Z dim $
.include <bsd.own.mk>
@@ -8,7 +9,6 @@
SRCS= llvm-nm.cpp
LIBDEPS=llvmobject \
- llvmarchive \
llvmbitreader \
llvmcore \
llvmsupport
Modified: trunk/usr.bin/clang/llvm-nm/llvm-nm.1
===================================================================
--- trunk/usr.bin/clang/llvm-nm/llvm-nm.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-nm/llvm-nm.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/llvm-nm/llvm-nm.1 252723 2013-07-04 20:17:04Z dim $
-.TH "LLVM-NM" "1" "2013-04-11" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/llvm-nm/llvm-nm.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "LLVM-NM" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
llvm-nm \- list LLVM bitcode and object file's symbol table
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBllvm\-nm\fP [\fIoptions\fP] [\fIfilenames...\fP]
@@ -38,8 +39,8 @@
.sp
The \fBllvm\-nm\fP utility lists the names of symbols from the LLVM bitcode
files, object files, or \fBar\fP archives containing them, named on the
-command line. Each symbol is listed along with some simple information about its
-provenance. If no file name is specified, or \fI\-\fP is used as a file name,
+command line. Each symbol is listed along with some simple information about
+its provenance. If no file name is specified, or \fI\-\fP is used as a file name,
\fBllvm\-nm\fP will process a file on its standard input stream.
.sp
\fBllvm\-nm\fP\(aqs default output format is the traditional BSD \fBnm\fP
@@ -109,18 +110,18 @@
Because LLVM bitcode files typically contain objects that are not considered to
have addresses until they are linked into an executable image or dynamically
compiled "just\-in\-time", \fBllvm\-nm\fP does not print an address for any
-symbol in a LLVM bitcode file, even symbols which are defined in the bitcode
+symbol in an LLVM bitcode file, even symbols which are defined in the bitcode
file.
.SH OPTIONS
.INDENT 0.0
.TP
.B \-B (default)
-Use BSD output format. Alias for \fI\-\-format=bsd\fP.
+Use BSD output format. Alias for \fI\-\-format=bsd\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-P
-Use POSIX.2 output format. Alias for \fI\-\-format=posix\fP.
+Use POSIX.2 output format. Alias for \fI\-\-format=posix\fP\&.
.UNINDENT
.INDENT 0.0
.TP
@@ -148,8 +149,8 @@
.INDENT 0.0
.TP
.B \-\-format=format, \-f format
-Select an output format; \fIformat\fP may be \fIsysv\fP, \fIposix\fP, or \fIbsd\fP. The default
-is \fIbsd\fP.
+Select an output format; \fIformat\fP may be \fIsysv\fP, \fIposix\fP, or \fIbsd\fP\&. The default
+is \fIbsd\fP\&.
.UNINDENT
.INDENT 0.0
.TP
@@ -204,7 +205,7 @@
\fBllvm\-nm\fP exits with an exit code of zero.
.SH SEE ALSO
.sp
-llvm\-dis|llvm\-dis, ar(1), nm(1)
+llvm\-dis, ar(1), nm(1)
.SH AUTHOR
Maintained by The LLVM Team (http://llvm.org/).
.SH COPYRIGHT
Property changes on: trunk/usr.bin/clang/llvm-nm/llvm-nm.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/clang/llvm-objdump/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-objdump/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-objdump/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,6 +1,7 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-objdump/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-objdump/Makefile 276486 2014-12-31 23:25:37Z ngie $
-NO_MAN=
+MAN=
.include <bsd.own.mk>
PROG_CXX=llvm-objdump
@@ -11,8 +12,7 @@
SRCS= llvm-objdump.cpp \
COFFDump.cpp \
ELFDump.cpp \
- MachODump.cpp \
- MCFunction.cpp
+ MachODump.cpp
LIBDEPS=llvmmcdisassembler \
llvmdebuginfo \
@@ -29,9 +29,16 @@
llvmmipsinfo \
llvmmipsinstprinter \
llvmpowerpccodegen \
+ llvmpowerpcasmparser \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
+ llvmsparcdisassembler \
+ llvmsparccodegen \
+ llvmsparcasmparser \
+ llvmsparcdesc \
+ llvmsparcinfo \
+ llvmsparcinstprinter \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \
Modified: trunk/usr.bin/clang/llvm-rtdyld/Makefile
===================================================================
--- trunk/usr.bin/clang/llvm-rtdyld/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/llvm-rtdyld/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,6 +1,7 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/llvm-rtdyld/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/llvm-rtdyld/Makefile 276486 2014-12-31 23:25:37Z ngie $
-NO_MAN=
+MAN=
.include <bsd.own.mk>
PROG_CXX=llvm-rtdyld
@@ -27,9 +28,16 @@
llvmmipsinfo \
llvmmipsinstprinter \
llvmpowerpccodegen \
+ llvmpowerpcasmparser \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
+ llvmsparcdisassembler \
+ llvmsparccodegen \
+ llvmsparcasmparser \
+ llvmsparcdesc \
+ llvmsparcinfo \
+ llvmsparcinstprinter \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \
Modified: trunk/usr.bin/clang/macho-dump/Makefile
===================================================================
--- trunk/usr.bin/clang/macho-dump/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/macho-dump/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,6 +1,7 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/macho-dump/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/macho-dump/Makefile 276486 2014-12-31 23:25:37Z ngie $
-NO_MAN=
+MAN=
.include <bsd.own.mk>
PROG_CXX=macho-dump
Modified: trunk/usr.bin/clang/opt/Makefile
===================================================================
--- trunk/usr.bin/clang/opt/Makefile 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/opt/Makefile 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,4 +1,5 @@
-# $FreeBSD: release/9.2.0/usr.bin/clang/opt/Makefile 252723 2013-07-04 20:17:04Z dim $
+# $MidnightBSD$
+# $FreeBSD: stable/10/usr.bin/clang/opt/Makefile 263763 2014-03-26 07:31:57Z dim $
.include <bsd.own.mk>
@@ -24,9 +25,16 @@
llvmmipsinfo \
llvmmipsinstprinter \
llvmpowerpccodegen \
+ llvmpowerpcasmparser \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
+ llvmsparcdisassembler \
+ llvmsparccodegen \
+ llvmsparcasmparser \
+ llvmsparcdesc \
+ llvmsparcinfo \
+ llvmsparcinstprinter \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \
Modified: trunk/usr.bin/clang/opt/opt.1
===================================================================
--- trunk/usr.bin/clang/opt/opt.1 2017-12-16 18:51:01 UTC (rev 9694)
+++ trunk/usr.bin/clang/opt/opt.1 2017-12-16 18:53:11 UTC (rev 9695)
@@ -1,5 +1,8 @@
-.\" $FreeBSD: release/9.2.0/usr.bin/clang/opt/opt.1 252723 2013-07-04 20:17:04Z dim $
-.TH "OPT" "1" "2013-06-10" "3.3" "LLVM"
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/clang/opt/opt.1 263508 2014-03-21 17:53:59Z dim $
+.\" Man page generated from reStructuredText.
+.
+.TH "OPT" "1" "2014-01-01" "3.4" "LLVM"
.SH NAME
opt \- LLVM optimizer
.
@@ -29,8 +32,6 @@
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
-.\" Man page generated from reStructuredText.
-.
.SH SYNOPSIS
.sp
\fBopt\fP [\fIoptions\fP] [\fIfilename\fP]
@@ -51,14 +52,14 @@
While \fI\-analyze\fP is \fInot\fP given, \fBopt\fP attempts to produce an
optimized output file. The optimizations available via \fBopt\fP depend
upon what libraries were linked into it as well as any additional libraries
-that have been loaded with the \fI\%-load\fP option. Use the \fI\%-help\fP
+that have been loaded with the \fI\%\-load\fP option. Use the \fI\%\-help\fP
option to determine what optimizations you can use.
.sp
If \fBfilename\fP is omitted from the command line or is "\fB\-\fP", \fBopt\fP
reads its input from standard input. Inputs can be in either the LLVM assembly
-language format (\fB.ll\fP) or the LLVM bitcode format (\fB.bc\fP).
+language format (\fB\&.ll\fP) or the LLVM bitcode format (\fB\&.bc\fP).
.sp
-If an output filename is not specified with the \fI\%-o\fP option,
+If an output filename is not specified with the \fI\%\-o\fP option,
\fBopt\fP writes its output to the standard output.
.SH OPTIONS
.INDENT 0.0
@@ -87,7 +88,7 @@
.TP
.B \-{passname}
\fBopt\fP provides the ability to run any of LLVM\(aqs optimization or
-analysis passes in any order. The \fI\%-help\fP option lists all the passes
+analysis passes in any order. The \fI\%\-help\fP option lists all the passes
available. The order in which the options occur on the command line are the
order in which they are executed (within pass constraints).
.UNINDENT
@@ -112,16 +113,16 @@
.INDENT 0.0
.TP
.B \-disable\-inlining
-This option is only meaningful when \fI\%-std-compile-opts\fP is given. It
+This option is only meaningful when \fI\%\-std\-compile\-opts\fP is given. It
simply removes the inlining pass from the standard list.
.UNINDENT
.INDENT 0.0
.TP
.B \-disable\-opt
-This option is only meaningful when \fI\%-std-compile-opts\fP is given. It
-disables most, but not all, of the \fI\%-std-compile-opts\fP. The ones that
+This option is only meaningful when \fI\%\-std\-compile\-opts\fP is given. It
+disables most, but not all, of the \fI\%\-std\-compile\-opts\fP\&. The ones that
remain are \fI\-verify\fP, \fI\-lower\-setjmp\fP, and
-\fI\-funcresolve\fP.
+\fI\-funcresolve\fP\&.
.UNINDENT
.INDENT 0.0
.TP
@@ -137,7 +138,7 @@
specified on the command line (including \fI\-verify\fP). This is useful
for cases where it is suspected that a pass is creating an invalid module but
it is not clear which pass is doing it. The combination of
-\fI\%-std-compile-opts\fP and \fI\%-verify-each\fP can quickly track down
+\fI\%\-std\-compile\-opts\fP and \fI\%\-verify\-each\fP can quickly track down
this kind of problem.
.UNINDENT
.INDENT 0.0
@@ -160,15 +161,15 @@
.TP
.B \-debug
If this is a debug build, this option will enable debug printouts from passes
-which use the \fBDEBUG()\fP macro. See the \fI\%LLVM Programmer's Manual\fP, section \fB#DEBUG\fP for more information.
+which use the \fBDEBUG()\fP macro. See the \fI\%LLVM Programmer\(aqs Manual\fP, section \fB#DEBUG\fP for more information.
.UNINDENT
.INDENT 0.0
.TP
.B \-load=<plugin>
-Load the dynamic object \fBplugin\fP. This object should register new
+Load the dynamic object \fBplugin\fP\&. This object should register new
optimization or analysis passes. Once loaded, the object will add new command
line options to enable various optimizations or analyses. To see the new
-complete list of optimizations, use the \fI\%-help\fP and \fI\%-load\fP
+complete list of optimizations, use the \fI\%\-help\fP and \fI\%\-load\fP
options together. For example:
.INDENT 7.0
.INDENT 3.5
Property changes on: trunk/usr.bin/clang/opt/opt.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list