head	1.15;
access;
symbols
	RELENG_9_1_0_RELEASE:1.8.2.3.2.2
	RELENG_9_1:1.8.2.3.0.2
	RELENG_9_1_BP:1.8.2.3
	RELENG_9_0_0_RELEASE:1.8.2.1.2.1
	RELENG_9_0:1.8.2.1.0.2
	RELENG_9_0_BP:1.8.2.1
	RELENG_9:1.8.0.2
	RELENG_9_BP:1.8;
locks; strict;
comment	@# @;


1.15
date	2013.06.13.00.38.34;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2013.05.14.00.38.55;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2013.04.13.00.44.51;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.11.17.01.49.19;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.05.03.20.41.21;	author dim;	state Exp;
branches;
next	1.10;

1.10
date	2012.04.16.21.23.25;	author dim;	state Exp;
branches;
next	1.9;

1.9
date	2012.02.05.23.56.22;	author dim;	state Exp;
branches;
next	1.8;

1.8
date	2011.07.17.19.51.40;	author dim;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2011.02.20.19.33.47;	author dim;	state Exp;
branches;
next	1.6;

1.6
date	2010.09.20.16.43.17;	author dim;	state Exp;
branches;
next	1.5;

1.5
date	2010.07.22.19.09.34;	author rpaulo;	state Exp;
branches;
next	1.4;

1.4
date	2010.07.20.17.16.57;	author ed;	state Exp;
branches;
next	1.3;

1.3
date	2010.06.15.17.28.16;	author ed;	state Exp;
branches;
next	1.2;

1.2
date	2010.06.15.17.08.03;	author ed;	state Exp;
branches;
next	1.1;

1.1
date	2010.06.09.19.32.20;	author rdivacky;	state Exp;
branches;
next	;

1.8.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.8.2.1.2.1;
next	1.8.2.2;

1.8.2.2
date	2012.02.19.23.35.56;	author dim;	state Exp;
branches;
next	1.8.2.3;

1.8.2.3
date	2012.05.18.21.49.11;	author dim;	state Exp;
branches
	1.8.2.3.2.1;
next	1.8.2.4;

1.8.2.4
date	2012.11.17.11.36.15;	author svnexp;	state Exp;
branches;
next	1.8.2.5;

1.8.2.5
date	2013.07.04.21.02.23;	author svnexp;	state Exp;
branches;
next	1.8.2.6;

1.8.2.6
date	2014.03.21.18.09.53;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.8.2.1.2.2;

1.8.2.1.2.2
date	2012.11.17.08.36.15;	author svnexp;	state Exp;
branches;
next	;

1.8.2.3.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.8.2.3.2.2;

1.8.2.3.2.2
date	2012.11.17.08.47.05;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251662
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/lib/clang/libllvmsupport/Makefile 251662 2013-06-12 18:48:53Z dim $

.include <bsd.own.mk>

LIB=	llvmsupport

SRCDIR=	lib/Support
SRCS=	APFloat.cpp \
	APInt.cpp \
	APSInt.cpp \
	Allocator.cpp \
	Atomic.cpp \
	BlockFrequency.cpp \
	BranchProbability.cpp \
	CommandLine.cpp \
	ConstantRange.cpp \
	ConvertUTF.c \
	ConvertUTFWrapper.cpp \
	CrashRecoveryContext.cpp \
	DAGDeltaAlgorithm.cpp \
	Debug.cpp \
	DeltaAlgorithm.cpp \
	Dwarf.cpp \
	DynamicLibrary.cpp \
	Errno.cpp \
	ErrorHandling.cpp \
	FileOutputBuffer.cpp \
	FoldingSet.cpp \
	FormattedStream.cpp \
	GraphWriter.cpp \
	Hashing.cpp \
	Host.cpp \
	IncludeFile.cpp \
	IntEqClasses.cpp \
	IntervalMap.cpp \
	IntrusiveRefCntPtr.cpp \
	IsInf.cpp \
	IsNAN.cpp \
	Locale.cpp \
	LockFileManager.cpp \
	ManagedStatic.cpp \
	Memory.cpp \
	MemoryBuffer.cpp \
	MemoryObject.cpp \
	Mutex.cpp \
	Path.cpp \
	PathV2.cpp \
	PluginLoader.cpp \
	PrettyStackTrace.cpp \
	Process.cpp \
	Program.cpp \
	RWMutex.cpp \
	Regex.cpp \
	SearchForAddressOfSpecialSymbol.cpp \
	Signals.cpp \
	SmallPtrSet.cpp \
	SmallVector.cpp \
	SourceMgr.cpp \
	Statistic.cpp \
	StreamableMemoryObject.cpp \
	StringExtras.cpp \
	StringMap.cpp \
	StringPool.cpp \
	StringRef.cpp \
	TargetRegistry.cpp \
	ThreadLocal.cpp \
	Threading.cpp \
	TimeValue.cpp \
	Timer.cpp \
	ToolOutputFile.cpp \
	Triple.cpp \
	Twine.cpp \
	Valgrind.cpp \
	Watchdog.cpp \
	YAMLParser.cpp \
	YAMLTraits.cpp \
	circular_raw_ostream.cpp \
	raw_os_ostream.cpp \
	raw_ostream.cpp \
	regcomp.c \
	regerror.c \
	regexec.c \
	regfree.c \
	regstrlcpy.c \
	system_error.cpp

.if ${MK_CLANG_EXTRAS} != "no"
SRCS+=	Compression.cpp \
	DataExtractor.cpp \
	DataStream.cpp \
	Disassembler.cpp \
	FileUtilities.cpp \
	SystemUtils.cpp
.endif

.include "../clang.lib.mk"

# Ugly hack to work around CLOCK_PROCESS_CPUTIME_ID not being properly defined
# between r239347 and r245428.
CXXFLAGS.Process.cpp=	-DCLOCK_PROCESS_CPUTIME_ID=15
CXXFLAGS+=		${CXXFLAGS.${.IMPSRC:T}}
@


1.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/250616
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/clang/libllvmsupport/Makefile 250616 2013-05-13 20:14:58Z dim $
d88 2
a89 1
SRCS+=	DataExtractor.cpp \
@


1.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249423
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/clang/libllvmsupport/Makefile 249423 2013-04-12 17:57:40Z dim $
d96 5
@


1.12
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/clang/libllvmsupport/Makefile 234982 2012-05-03 20:41:21Z dim $
d17 2
d27 1
d33 2
a35 1
	IntEqClasses.cpp \
d37 2
d74 3
a85 1
LLVM_REQUIRES_RTTI=
d88 1
a88 3
SRCS+=	BlockFrequency.cpp \
	BranchProbability.cpp \
	DataExtractor.cpp \
a91 1
	MemoryObject.cpp \
@


1.11
log
@SVN rev 234982 on 2012-05-03 20:41:21Z by dim

Upgrade our copy of llvm/clang to r155985, from upstream's release_31
branch.  This brings us very close to the 3.1 release, which is planned
for May 14th.

MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.10
log
@SVN rev 234353 on 2012-04-16 21:23:25Z by dim

Upgrade our copy of llvm/clang to trunk r154661, in preparation of the
upcoming 3.1 release (expected in a few weeks).  Preliminary release
notes can be found at: <http://llvm.org/docs/ReleaseNotes.html>

MFC after:	2 weeks
@
text
@d33 1
@


1.9
log
@SVN rev 231057 on 2012-02-05 23:56:22Z by dim

Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.

MFC after:	2 weeks
@
text
@d13 1
d28 1
d32 2
d37 1
d53 1
d82 1
@


1.8
log
@SVN rev 224145 on 2011-07-17 19:51:40Z by dim

Upgrade our copy of llvm/clang to r135360, from upstream's trunk.
@
text
@d3 2
d72 10
@


1.8.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.8.2.2
log
@SVN rev 231919 on 2012-02-19 23:35:56Z by dim

MFC r231057:

Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.
@
text
@a2 2
.include <bsd.own.mk>

a69 10
.if ${MK_CLANG_EXTRAS} != "no"
SRCS+=	BlockFrequency.cpp \
	BranchProbability.cpp \
	DataExtractor.cpp \
	Disassembler.cpp \
	FileUtilities.cpp \
	MemoryObject.cpp \
	SystemUtils.cpp
.endif

@


1.8.2.3
log
@SVN rev 235633 on 2012-05-18 21:49:11Z by dim

MFC r234353:

  Upgrade our copy of llvm/clang to trunk r154661, in preparation of the
  upcoming 3.1 release (expected in a few weeks).  Preliminary release
  notes can be found at: <http://llvm.org/docs/ReleaseNotes.html>

MFC r234982:

  Upgrade our copy of llvm/clang to r155985, from upstream's release_31
  branch.  This brings us very close to the 3.1 release, which is planned
  for May 14th.

MFC r235058:

  Make sure a few new internal clang headers get installed, I missed these
  in the last import.  They are sometimes needed when you want to use
  advanced instructions.

  Also, add clang's internal stdalign.h header to ObsoleteFiles.inc, since
  it is redundant: we already have a stdalign.h header in /usr/include.

  Pointy hat to:	dim
  PR:		kern/167574
  Submitted by:	jkim
  Reported by:	Oliver Hartmann <ohartman@@zedat.fu-berlin.de>
@
text
@a12 1
	BlockFrequency.cpp \
a26 1
	Hashing.cpp \
a29 3
	IntrusiveRefCntPtr.cpp \
	Locale.cpp \
	LockFileManager.cpp \
a32 1
	MemoryObject.cpp \
a47 1
	StreamableMemoryObject.cpp \
a75 1
	DataStream.cpp \
@


1.8.2.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/clang/libllvmsupport/Makefile 235633 2012-05-18 21:49:11Z dim $
@


1.8.2.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/252723
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/clang/libllvmsupport/Makefile 252723 2013-07-04 20:17:04Z dim $
a16 2
	ConvertUTF.c \
	ConvertUTFWrapper.cpp \
a24 1
	FileOutputBuffer.cpp \
d30 1
a30 1
	IncludeFile.cpp \
a31 1
	IntervalMap.cpp \
a32 2
	IsInf.cpp \
	IsNAN.cpp \
a67 3
	Watchdog.cpp \
	YAMLParser.cpp \
	YAMLTraits.cpp \
d77 1
d80 2
a81 1
SRCS+=	Compression.cpp \
d86 1
a90 5

# Ugly hack to work around CLOCK_PROCESS_CPUTIME_ID not being properly defined
# between r239347 and r245428.
CXXFLAGS.Process.cpp=	-DCLOCK_PROCESS_CPUTIME_ID=15
CXXFLAGS+=		${CXXFLAGS.${.IMPSRC:T}}
@


1.8.2.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/263509
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/clang/libllvmsupport/Makefile 263509 2014-03-21 17:56:32Z dim $
a20 1
	DataExtractor.cpp \
a40 1
	MD5.cpp \
d47 1
a64 1
	StringRefMemoryObject.cpp \
a72 1
	Unicode.cpp \
d89 1
@


1.8.2.3.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.8.2.3.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/lib/clang/libllvmsupport/Makefile 235633 2012-05-18 21:49:11Z dim $
@


1.8.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.8.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/lib/clang/libllvmsupport/Makefile 224145 2011-07-17 19:51:40Z dim $
@


1.7
log
@SVN rev 218893 on 2011-02-20 19:33:47Z by dim

Upgrade our copy of llvm/clang to r126079, from upstream's trunk.

This contains many improvements, primarily better C++ support, an
integrated assembler for x86 and support for -pg.
@
text
@d11 1
@


1.6
log
@SVN rev 212904 on 2010-09-20 16:43:17Z by dim

Upgrade our Clang in base to r114020, from upstream's release_28 branch.

Approved-by:	rpaulo (mentor)
@
text
@d10 1
d18 2
d24 3
d28 1
d30 3
d35 3
d39 2
d50 3
d54 1
d57 1
d65 2
a66 1
	regstrlcpy.c
@


1.5
log
@SVN rev 210388 on 2010-07-22 19:09:34Z by rpaulo

Build clang libraries by default with -fno-exceptions and with
-fno-rtti. The clang libaries that really use exceptions and virtual
functions can enable LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI
respectively. This saves space on the resulting binaries and follows
what's being done upstream.

Submitted by:	Dimitry Andric <dimitry at andric.com>
@
text
@d12 1
a17 1
	FileUtilities.cpp \
a20 2
	IsInf.cpp \
	IsNAN.cpp \
a22 1
	MemoryObject.cpp \
a25 1
	SlowOperationInformer.cpp \
a33 1
	SystemUtils.cpp \
@


1.4
log
@SVN rev 210299 on 2010-07-20 17:16:57Z by ed

Upgrade our Clang in base to r108428.

This commit merges the latest LLVM sources from the vendor space. It
also updates the build glue to match the new sources. Clang's version
number is changed to match LLVM's, which means /usr/include/clang/2.0
has been renamed to /usr/include/clang/2.8.

Obtained from:	projects/clangbsd
@
text
@d51 1
@


1.3
log
@SVN rev 209206 on 2010-06-15 17:28:16Z by ed

Remove even two more unneeded files from libllvmsupport.
@
text
@d6 45
a50 11
SRCS=	APFloat.cpp APInt.cpp APSInt.cpp Allocator.cpp CommandLine.cpp \
	ConstantRange.cpp Debug.cpp DeltaAlgorithm.cpp Dwarf.cpp \
	ErrorHandling.cpp FileUtilities.cpp FoldingSet.cpp \
	FormattedStream.cpp GraphWriter.cpp ManagedStatic.cpp \
	MemoryBuffer.cpp PluginLoader.cpp PrettyStackTrace.cpp \
	Regex.cpp SlowOperationInformer.cpp SmallPtrSet.cpp \
	SmallVector.cpp SourceMgr.cpp Statistic.cpp StringExtras.cpp \
	StringMap.cpp StringPool.cpp StringRef.cpp TargetRegistry.cpp \
	Timer.cpp Triple.cpp Twine.cpp circular_raw_ostream.cpp \
	raw_os_ostream.cpp raw_ostream.cpp regcomp.c regerror.c \
	regexec.c regfree.c regstrlcpy.c
@


1.2
log
@SVN rev 209205 on 2010-06-15 17:08:03Z by ed

Remove unneeded files from the build.

I used the following command to determine which source files were
unneeded:

| for i in `find lib/clang -name '*.o'`
| do
| 	MATCHES="`(nm -g --defined-only $i; nm -g --defined-only \
| 		usr.bin/clang/clang/clang) | sed -e 's/.* //' | \
| 		sort | uniq -d | wc -l`"
| 	[ $MATCHES -eq 0 ] && echo "$i: unneeded"
| done

This should slightly improve the build times.
@
text
@d10 7
a16 8
	MemoryBuffer.cpp MemoryObject.cpp PluginLoader.cpp \
	PrettyStackTrace.cpp Regex.cpp SlowOperationInformer.cpp \
	SmallPtrSet.cpp SmallVector.cpp SourceMgr.cpp Statistic.cpp \
	StringExtras.cpp StringMap.cpp StringPool.cpp StringRef.cpp \
	SystemUtils.cpp TargetRegistry.cpp Timer.cpp Triple.cpp \
	Twine.cpp circular_raw_ostream.cpp raw_os_ostream.cpp \
	raw_ostream.cpp regcomp.c regerror.c regexec.c regfree.c \
	regstrlcpy.c
@


1.1
log
@SVN rev 208963 on 2010-06-09 19:32:20Z by rdivacky

Import the build makefiles for clang/LLVM.

Approved by:	ed (mentor)
@
text
@d9 9
a17 9
	FormattedStream.cpp GraphWriter.cpp IsInf.cpp IsNAN.cpp \
	ManagedStatic.cpp MemoryBuffer.cpp MemoryObject.cpp \
	PluginLoader.cpp PrettyStackTrace.cpp Regex.cpp \
	SlowOperationInformer.cpp SmallPtrSet.cpp SmallVector.cpp \
	SourceMgr.cpp Statistic.cpp StringExtras.cpp StringMap.cpp \
	StringPool.cpp StringRef.cpp SystemUtils.cpp \
	TargetRegistry.cpp Timer.cpp Triple.cpp Twine.cpp \
	circular_raw_ostream.cpp raw_os_ostream.cpp raw_ostream.cpp \
	regcomp.c regerror.c regexec.c regfree.c regstrlcpy.c
@

