head	1.17;
access;
symbols
	perseant-exfatfs-base-20250801:1.17
	perseant-exfatfs-base-20240630:1.17
	perseant-exfatfs:1.17.0.6
	perseant-exfatfs-base:1.17
	netbsd-8-3-RELEASE:1.14
	netbsd-9-4-RELEASE:1.16
	netbsd-9-3-RELEASE:1.16
	cjep_sun2x:1.17.0.4
	cjep_sun2x-base:1.17
	cjep_staticlib_x-base1:1.17
	netbsd-9-2-RELEASE:1.16
	cjep_staticlib_x:1.17.0.2
	cjep_staticlib_x-base:1.17
	netbsd-9-1-RELEASE:1.16
	phil-wifi-20200421:1.17
	phil-wifi-20200411:1.17
	phil-wifi-20200406:1.17
	netbsd-8-2-RELEASE:1.14
	netbsd-9-0-RELEASE:1.16
	netbsd-9-0-RC2:1.16
	netbsd-9-0-RC1:1.16
	netbsd-9:1.16.0.2
	netbsd-9-base:1.16
	phil-wifi-20190609:1.16
	netbsd-8-1-RELEASE:1.14
	netbsd-8-1-RC1:1.14
	pgoyette-compat-merge-20190127:1.15.2.1
	pgoyette-compat-20190127:1.16
	pgoyette-compat-20190118:1.16
	pgoyette-compat-1226:1.16
	pgoyette-compat-1126:1.16
	pgoyette-compat-1020:1.16
	pgoyette-compat-0930:1.16
	pgoyette-compat-0906:1.16
	netbsd-7-2-RELEASE:1.11.2.1
	pgoyette-compat-0728:1.16
	netbsd-8-0-RELEASE:1.14
	phil-wifi:1.15.0.4
	phil-wifi-base:1.15
	pgoyette-compat-0625:1.15
	netbsd-8-0-RC2:1.14
	pgoyette-compat-0521:1.15
	pgoyette-compat-0502:1.15
	pgoyette-compat-0422:1.15
	netbsd-8-0-RC1:1.14
	pgoyette-compat-0415:1.15
	pgoyette-compat-0407:1.15
	pgoyette-compat-0330:1.15
	pgoyette-compat-0322:1.15
	pgoyette-compat-0315:1.15
	netbsd-7-1-2-RELEASE:1.11.2.1
	pgoyette-compat:1.15.0.2
	pgoyette-compat-base:1.15
	netbsd-7-1-1-RELEASE:1.11.2.1
	matt-nb8-mediatek:1.14.0.10
	matt-nb8-mediatek-base:1.14
	perseant-stdc-iso10646:1.14.0.8
	perseant-stdc-iso10646-base:1.14
	netbsd-8:1.14.0.6
	netbsd-8-base:1.14
	prg-localcount2-base3:1.14
	prg-localcount2-base2:1.14
	prg-localcount2-base1:1.14
	prg-localcount2:1.14.0.4
	prg-localcount2-base:1.14
	pgoyette-localcount-20170426:1.14
	bouyer-socketcan-base1:1.14
	pgoyette-localcount-20170320:1.14
	netbsd-7-1:1.11.2.1.0.6
	netbsd-7-1-RELEASE:1.11.2.1
	netbsd-7-1-RC2:1.11.2.1
	netbsd-7-nhusb-base-20170116:1.11.2.1
	bouyer-socketcan:1.14.0.2
	bouyer-socketcan-base:1.14
	pgoyette-localcount-20170107:1.13
	netbsd-7-1-RC1:1.11.2.1
	pgoyette-localcount-20161104:1.13
	netbsd-7-0-2-RELEASE:1.11.2.1
	localcount-20160914:1.13
	netbsd-7-nhusb:1.11.2.1.0.4
	netbsd-7-nhusb-base:1.11.2.1
	pgoyette-localcount-20160806:1.13
	pgoyette-localcount-20160726:1.13
	pgoyette-localcount:1.13.0.2
	pgoyette-localcount-base:1.13
	netbsd-7-0-1-RELEASE:1.11.2.1
	netbsd-7-0:1.11.2.1.0.2
	netbsd-7-0-RELEASE:1.11.2.1
	netbsd-7-0-RC3:1.11.2.1
	netbsd-7-0-RC2:1.11.2.1
	netbsd-7-0-RC1:1.11.2.1
	netbsd-6-0-6-RELEASE:1.4
	netbsd-6-1-5-RELEASE:1.4
	netbsd-7:1.11.0.2
	netbsd-7-base:1.11
	yamt-pagecache-base9:1.9
	yamt-pagecache-tag8:1.3.2.1
	netbsd-6-1-4-RELEASE:1.4
	netbsd-6-0-5-RELEASE:1.4
	tls-earlyentropy:1.9.0.2
	tls-earlyentropy-base:1.10
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9
	riastradh-drm2-base3:1.9
	netbsd-6-1-3-RELEASE:1.4
	netbsd-6-0-4-RELEASE:1.4
	netbsd-6-1-2-RELEASE:1.4
	netbsd-6-0-3-RELEASE:1.4
	netbsd-6-1-1-RELEASE:1.4
	riastradh-drm2-base2:1.6
	riastradh-drm2-base1:1.6
	riastradh-drm2:1.6.0.2
	riastradh-drm2-base:1.6
	netbsd-6-1:1.4.0.14
	netbsd-6-0-2-RELEASE:1.4
	netbsd-6-1-RELEASE:1.4
	khorben-n900:1.5.0.2
	netbsd-6-1-RC4:1.4
	netbsd-6-1-RC3:1.4
	agc-symver:1.4.0.12
	agc-symver-base:1.4
	netbsd-6-1-RC2:1.4
	netbsd-6-1-RC1:1.4
	yamt-pagecache-base8:1.4
	netbsd-6-0-1-RELEASE:1.4
	yamt-pagecache-base7:1.4
	matt-nb6-plus-nbase:1.4
	yamt-pagecache-base6:1.4
	netbsd-6-0:1.4.0.8
	netbsd-6-0-RELEASE:1.4
	netbsd-6-0-RC2:1.4
	tls-maxphys:1.4.0.6
	tls-maxphys-base:1.11
	matt-nb6-plus:1.4.0.4
	matt-nb6-plus-base:1.4
	netbsd-6-0-RC1:1.4
	yamt-pagecache-base5:1.4
	yamt-pagecache-base4:1.4
	netbsd-6:1.4.0.2
	netbsd-6-base:1.4
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.2
	yamt-pagecache-base:1.3
	cherry-xenmp:1.2.0.2
	cherry-xenmp-base:1.2
	bouyer-quota2:1.1.0.2
	bouyer-quota2-base:1.1
	bouyer-quota2-nbase:1.1;
locks; strict;
comment	@# @;


1.17
date	2019.11.13.22.03.51;	author joerg;	state dead;
branches;
next	1.16;
commitid	VVWg38Zx9vNeTJKB;

1.16
date	2018.07.17.18.55.30;	author joerg;	state Exp;
branches;
next	1.15;
commitid	ZigGmMKrele9pwKA;

1.15
date	2017.08.01.20.07.42;	author joerg;	state Exp;
branches
	1.15.2.1
	1.15.4.1;
next	1.14;
commitid	Eal5CLsDsgNz3y1A;

1.14
date	2017.01.11.12.02.32;	author joerg;	state Exp;
branches;
next	1.13;
commitid	J5yUvIHsYWlHRxBz;

1.13
date	2016.02.27.21.47.35;	author joerg;	state Exp;
branches
	1.13.2.1;
next	1.12;
commitid	CPKx2lHByYm8mBWy;

1.12
date	2015.01.29.20.41.36;	author joerg;	state Exp;
branches;
next	1.11;
commitid	ADAyDANcT8UzDX7y;

1.11
date	2014.08.10.17.34.22;	author joerg;	state Exp;
branches
	1.11.2.1;
next	1.10;
commitid	LSY4UBCvKZWl9QLx;

1.10
date	2014.05.30.18.28.15;	author joerg;	state Exp;
branches;
next	1.9;
commitid	HUKCFjIKgK7YKACx;

1.9
date	2014.01.15.22.21.35;	author joerg;	state Exp;
branches
	1.9.2.1;
next	1.8;
commitid	HdzLIuZThDhTnglx;

1.8
date	2014.01.05.16.38.07;	author joerg;	state Exp;
branches;
next	1.7;
commitid	HKy6us9gT88YMWjx;

1.7
date	2013.11.11.23.51.36;	author joerg;	state Exp;
branches;
next	1.6;
commitid	2NnxHXVchSAKYUcx;

1.6
date	2013.07.07.21.36.44;	author joerg;	state Exp;
branches;
next	1.5;
commitid	ZV9rCKFTZlFqjAWw;

1.5
date	2013.03.24.13.02.17;	author joerg;	state Exp;
branches;
next	1.4;

1.4
date	2011.12.11.14.58.50;	author joerg;	state Exp;
branches
	1.4.6.1;
next	1.3;

1.3
date	2011.10.11.13.54.00;	author joerg;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2011.05.12.14.56.24;	author joerg;	state Exp;
branches;
next	1.1;

1.1
date	2011.02.06.01.14.06;	author joerg;	state Exp;
branches
	1.1.2.1;
next	;

1.15.2.1
date	2018.07.28.04.37.13;	author pgoyette;	state Exp;
branches;
next	;
commitid	1UP1xAIUxv1ZgRLA;

1.15.4.1
date	2019.06.10.21.50.56;	author christos;	state Exp;
branches;
next	1.15.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.15.4.2
date	2020.04.13.07.55.38;	author martin;	state dead;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.13.2.1
date	2017.03.20.06.56.02;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.11.2.1
date	2015.06.04.20.05.45;	author snj;	state Exp;
branches;
next	;
commitid	yRnjq9fueSo6n9oy;

1.9.2.1
date	2014.08.10.07.09.10;	author tls;	state Exp;
branches;
next	;
commitid	t01A1TLTYxkpGMLx;

1.4.6.1
date	2013.06.23.06.28.25;	author tls;	state Exp;
branches;
next	1.4.6.2;
commitid	OnlO1cBgtQRcIHUw;

1.4.6.2
date	2014.08.19.23.51.26;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.3.2.1
date	2012.04.17.00.03.34;	author yamt;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2014.05.22.16.14.45;	author yamt;	state Exp;
branches;
next	;
commitid	KHtKDF1WbVBthyBx;

1.1.2.1
date	2011.02.06.01.14.06;	author bouyer;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2011.03.06.15.07.52;	author bouyer;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Remove old LLVM build system.
@
text
@#	$NetBSD: Makefile,v 1.16 2018/07/17 18:55:30 joerg Exp $

LIB=	clangCodeGen

.include <bsd.init.mk>

.PATH: ${CLANG_SRCDIR}/lib/CodeGen

SRCS+=	BackendUtil.cpp \
	CGAtomic.cpp \
	CGBlocks.cpp \
	CGBuiltin.cpp \
	CGCUDANV.cpp \
	CGCUDARuntime.cpp \
	CGCXX.cpp \
	CGCXXABI.cpp \
	CGCall.cpp \
	CGClass.cpp \
	CGCleanup.cpp \
	CGCoroutine.cpp \
	CGDebugInfo.cpp \
	CGDecl.cpp \
	CGDeclCXX.cpp \
	CGException.cpp \
	CGExpr.cpp \
	CGExprAgg.cpp \
	CGExprComplex.cpp \
	CGExprConstant.cpp \
	CGExprCXX.cpp \
	CGExprScalar.cpp \
	CGGPUBuiltin.cpp \
	CGLoopInfo.cpp \
	CGNonTrivialStruct.cpp \
	CGObjC.cpp \
	CGObjCGNU.cpp \
	CGObjCMac.cpp \
	CGObjCRuntime.cpp \
	CGOpenCLRuntime.cpp \
	CGOpenMPRuntime.cpp \
	CGOpenMPRuntimeNVPTX.cpp \
	CGRecordLayoutBuilder.cpp \
	CGStmt.cpp \
	CGStmtOpenMP.cpp \
	CGVTables.cpp \
	CGVTT.cpp \
	CodeGenABITypes.cpp \
	CodeGenAction.cpp \
	CodeGenFunction.cpp \
	CodeGenModule.cpp \
	CodeGenPGO.cpp \
	CodeGenTBAA.cpp \
	CodeGenTypes.cpp \
	ConstantInitBuilder.cpp \
	CoverageMappingGen.cpp \
	ItaniumCXXABI.cpp \
	MacroPPCallbacks.cpp \
	MicrosoftCXXABI.cpp \
	ModuleBuilder.cpp \
	ObjectFilePCHContainerOperations.cpp \
	SanitizerMetadata.cpp \
	SwiftCallingConv.cpp \
	TargetInfo.cpp \
	VarBypassDetector.cpp

.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif
@


1.16
log
@Update LLVM/Clang build system to r337282.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2017/08/01 20:07:42 joerg Exp $
@


1.15
log
@Update LLVM build glue for 5.0RC1.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2017/01/11 12:02:32 joerg Exp $
d33 1
@


1.15.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2018/07/17 18:55:30 joerg Exp $
a32 1
	CGNonTrivialStruct.cpp \
@


1.15.4.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15.4.1 2019/06/10 21:50:56 christos Exp $
@


1.15.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2018/07/17 18:55:30 joerg Exp $
a32 1
	CGNonTrivialStruct.cpp \
@


1.14
log
@Update LLVM build glue for pre-4.0.0 r291444.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2016/02/27 21:47:35 joerg Exp $
a12 1
	CGCUDABuiltin.cpp \
d31 1
d52 1
d55 1
@


1.13
log
@Update build system for LLVM 3.8.0rc3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2015/01/29 20:41:36 joerg Exp $
d13 1
d16 2
d21 1
a21 2
	CGCXX.cpp \
	CGCXXABI.cpp \
d39 1
d58 3
a60 1
	TargetInfo.cpp
@


1.13.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2017/01/11 12:02:32 joerg Exp $
a12 1
	CGCUDABuiltin.cpp \
a14 2
	CGCXX.cpp \
	CGCXXABI.cpp \
d18 2
a19 1
	CGCoroutine.cpp \
a36 1
	CGOpenMPRuntimeNVPTX.cpp \
d55 1
a55 3
	SwiftCallingConv.cpp \
	TargetInfo.cpp \
	VarBypassDetector.cpp
@


1.12
log
@Update build system glue for LLVM 3.6RC1. Notable changes:

- Old JIT is removed.
- Improvements to debug information handling.
- ARM: check for deprecated instructions and warn in the integrated
  assembler
- PPC: VSX support, va_arg support for struct/union types, -fPIC vs
  -fpic supported, faster atomics
- x86: improved vectorizer
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2014/08/10 17:34:22 joerg Exp $
d53 1
@


1.11
log
@Update build glue for LLVM/Clang 3.6svn r215315. Changes include various
performance improvements across all backends and a much improved PPC32
backend.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2014/05/30 18:28:15 joerg Exp $
a52 1
	SanitizerBlacklist.cpp \
@


1.11.2.1
log
@Update LLVM to 3.6.1, requested by joerg in ticket 824.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2015/01/29 20:41:36 joerg Exp $
d53 1
@


1.10
log
@Update build system for LLVM/Clang snapshot r209886. This brings in the
merged AArch64 backend and the move of eARM to DWARF exception handling
for NetBSD. C++11 is required for building.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2014/01/15 22:21:35 joerg Exp $
a37 1
	CGRTTI.cpp \
d49 1
a51 1
	MicrosoftRTTI.cpp \
d53 2
@


1.9
log
@Update build glue for LLVM/Clang 3.5svn r199312. Noticable changes
include bug fixes for the loop vectorizer, initial work for assembler
parser/disassembler on SPARC, improvements to ARM assembler and .code16
support on x86.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2014/01/05 16:38:07 joerg Exp $
d30 1
d36 1
d40 1
d52 1
@


1.9.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2014/05/30 18:28:15 joerg Exp $
a29 1
	CGLoopInfo.cpp \
a34 1
	CGOpenMPRuntime.cpp \
a37 1
	CGStmtOpenMP.cpp \
a48 1
	MicrosoftRTTI.cpp \
@


1.8
log
@Update LLVM family to 3.5svn r198450. Interesting changes include:
- Improvements in the SPARC64 support
- ARM backend can almost build a full NetBSD/EABI system with the
  integrated assembler
- PowerPC grows disassembler support
- LLD supports copy relocation, beginning of MIPS backend
- New diagnostic for use of bool expression as size_t argument for
  strncmp and friends
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2013/11/11 23:51:36 joerg Exp $
d44 1
@


1.7
log
@Update LLVM/Clang snapshot to r194393 for the FPU changes on x86.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2013/07/07 21:36:44 joerg Exp $
a47 1
	MicrosoftVBTables.cpp \
@


1.6
log
@Update LLVM/Clang to snapshot r185778. This brings in a lot of work on
integrated-assembler support on PowerPC as well as support for
compressed DWARF sections in some tools.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2013/03/24 13:02:17 joerg Exp $
d40 1
@


1.5
log
@Update LLVM/Clang snapshot to r177512 and MCLinker to deeb2a77.
Most noticably, this brings in the (optional) clang-format tool.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2011/12/11 14:58:50 joerg Exp $
d47 1
@


1.4
log
@Update to LLVM/Clang r146325. This fixes a number of issues for i386.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/10/11 13:54:00 joerg Exp $
d10 1
@


1.4.6.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
a9 1
	CGAtomic.cpp \
@


1.4.6.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a29 1
	CGLoopInfo.cpp \
a34 1
	CGOpenMPRuntime.cpp \
d36 1
a37 1
	CGStmtOpenMP.cpp \
a39 1
	CodeGenABITypes.cpp \
a42 1
	CodeGenPGO.cpp \
a44 1
	CoverageMappingGen.cpp \
a47 2
	SanitizerBlacklist.cpp \
	SanitizerMetadata.cpp \
@


1.3
log
@Update LLVM/Clang snapshot to r141658. This primarily fixes a regression
preventing Qt4 from building.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2011/05/12 14:56:24 joerg Exp $
a36 1
	CGTemporaries.cpp \
@


1.3.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/10/11 13:54:00 joerg Exp $
d37 1
@


1.3.2.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3.2.1 2012/04/17 00:03:34 yamt Exp $
a9 1
	CGAtomic.cpp \
a38 1
	CodeGenABITypes.cpp \
a41 1
	CodeGenPGO.cpp \
@


1.2
log
@Update LLVM and Clang snapshot
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $
d12 2
d33 1
@


1.1
log
@Add LLVM and clang build system.  It is enabled by MKLLVM=yes.
Upstream sources can be fetched by running "make checkout" in
src/external/bsd/llvm, they will be properly imported once the
integration and missing features are sorted out.
@
text
@d1 1
a1 1
#	$NetBSD$
d30 1
@


1.1.2.1
log
@file Makefile was added on branch bouyer-quota2 on 2011-03-06 15:07:52 +0000
@
text
@d1 50
@


1.1.2.2
log
@Sync with HEAD
@
text
@a0 50
#	$NetBSD: Makefile,v 1.1 2011/02/06 01:14:06 joerg Exp $

LIB=	clangCodeGen

.include <bsd.init.mk>

.PATH: ${CLANG_SRCDIR}/lib/CodeGen

SRCS+=	BackendUtil.cpp \
	CGBlocks.cpp \
	CGBuiltin.cpp \
	CGCall.cpp \
	CGClass.cpp \
	CGCleanup.cpp \
	CGCXX.cpp \
	CGCXXABI.cpp \
	CGDebugInfo.cpp \
	CGDecl.cpp \
	CGDeclCXX.cpp \
	CGException.cpp \
	CGExpr.cpp \
	CGExprAgg.cpp \
	CGExprComplex.cpp \
	CGExprConstant.cpp \
	CGExprCXX.cpp \
	CGExprScalar.cpp \
	CGObjC.cpp \
	CGObjCGNU.cpp \
	CGObjCMac.cpp \
	CGRecordLayoutBuilder.cpp \
	CGRTTI.cpp \
	CGStmt.cpp \
	CGTemporaries.cpp \
	CGVTables.cpp \
	CGVTT.cpp \
	CodeGenAction.cpp \
	CodeGenFunction.cpp \
	CodeGenModule.cpp \
	CodeGenTBAA.cpp \
	CodeGenTypes.cpp \
	ItaniumCXXABI.cpp \
	MicrosoftCXXABI.cpp \
	ModuleBuilder.cpp \
	TargetInfo.cpp

.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif
@


