Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
the SSP parameters and a not-yet-default rewrite of SROA.
This commit is contained in:
parent
4d3178885d
commit
2b3d1ee8a7
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.5 2012/08/10 16:10:29 joerg Exp $
|
# $NetBSD: Makefile,v 1.6 2012/09/23 17:22:22 joerg Exp $
|
||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
@ -19,6 +19,8 @@ COPTS.${f}.c+= -fno-strict-aliasing
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
CWARNFLAGS.clang+= -Wno-tautological-constant-out-of-range-compare
|
||||||
|
|
||||||
.PATH: ${DIST}/unix ${DIST}
|
.PATH: ${DIST}/unix ${DIST}
|
||||||
|
|
||||||
SRCS_UNIX= os.c dlz_dlopen_driver.c
|
SRCS_UNIX= os.c dlz_dlopen_driver.c
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.7 2012/08/10 16:33:41 joerg Exp $
|
# $NetBSD: Makefile,v 1.8 2012/09/23 17:22:22 joerg Exp $
|
||||||
|
|
||||||
LIB=dns
|
LIB=dns
|
||||||
|
|
||||||
|
@ -12,6 +12,8 @@ DIST= ${IDIST}/lib/dns
|
||||||
.PATH.c: ${DIST}/unix ${DIST}/sec/dst ${DIST}
|
.PATH.c: ${DIST}/unix ${DIST}/sec/dst ${DIST}
|
||||||
CPPFLAGS+= -I${BIND_SRCDIR}/include/dns -I${DIST}
|
CPPFLAGS+= -I${BIND_SRCDIR}/include/dns -I${DIST}
|
||||||
|
|
||||||
|
CWARNFLAGS.clang+= -Wno-tautological-constant-out-of-range-compare
|
||||||
|
|
||||||
.for f in lookup byaddr request sdb validator
|
.for f in lookup byaddr request sdb validator
|
||||||
COPTS.${f}.c+= -Wno-pointer-sign -fno-strict-aliasing
|
COPTS.${f}.c+= -Wno-pointer-sign -fno-strict-aliasing
|
||||||
.endfor
|
.endfor
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile.inc,v 1.40 2012/08/09 14:37:06 joerg Exp $
|
# $NetBSD: Makefile.inc,v 1.41 2012/09/23 17:22:22 joerg Exp $
|
||||||
|
|
||||||
.if !defined(LLVM_TOPLEVEL_MK)
|
.if !defined(LLVM_TOPLEVEL_MK)
|
||||||
LLVM_TOPLEVEL_MK=
|
LLVM_TOPLEVEL_MK=
|
||||||
|
@ -7,7 +7,7 @@ LLVM_TOPLEVEL_MK=
|
||||||
|
|
||||||
SVN_ROOT= http://llvm.org/svn/llvm-project
|
SVN_ROOT= http://llvm.org/svn/llvm-project
|
||||||
|
|
||||||
COMMON_REVISION= 161532
|
COMMON_REVISION= 164464
|
||||||
LLVM_REVISION= ${COMMON_REVISION}
|
LLVM_REVISION= ${COMMON_REVISION}
|
||||||
CLANG_REVISION= ${COMMON_REVISION}
|
CLANG_REVISION= ${COMMON_REVISION}
|
||||||
COMPILER_RT_REVISION= ${COMMON_REVISION}
|
COMPILER_RT_REVISION= ${COMMON_REVISION}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.1 2011/10/11 13:53:57 joerg Exp $
|
# $NetBSD: Makefile,v 1.2 2012/09/23 17:22:22 joerg Exp $
|
||||||
|
|
||||||
PROG_CXX= clang-tblgen
|
PROG_CXX= clang-tblgen
|
||||||
NOMAN= yes
|
NOMAN= yes
|
||||||
|
@ -9,6 +9,8 @@ NOMAN= yes
|
||||||
|
|
||||||
SRCS= ClangASTNodesEmitter.cpp \
|
SRCS= ClangASTNodesEmitter.cpp \
|
||||||
ClangAttrEmitter.cpp \
|
ClangAttrEmitter.cpp \
|
||||||
|
ClangCommentCommandInfoEmitter.cpp \
|
||||||
|
ClangCommentHTMLTagsEmitter.cpp \
|
||||||
ClangDiagnosticsEmitter.cpp \
|
ClangDiagnosticsEmitter.cpp \
|
||||||
ClangSACheckersEmitter.cpp \
|
ClangSACheckersEmitter.cpp \
|
||||||
NeonEmitter.cpp \
|
NeonEmitter.cpp \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.20 2012/04/29 19:19:04 joerg Exp $
|
# $NetBSD: Makefile,v 1.21 2012/09/23 17:22:22 joerg Exp $
|
||||||
|
|
||||||
PROG_CXX= clang
|
PROG_CXX= clang
|
||||||
NOMAN= yes
|
NOMAN= yes
|
||||||
|
@ -30,7 +30,8 @@ CLANG_LIBS+= \
|
||||||
clangParse \
|
clangParse \
|
||||||
clangSema \
|
clangSema \
|
||||||
clangAnalysis \
|
clangAnalysis \
|
||||||
clangRewrite \
|
clangRewriteFrontend \
|
||||||
|
clangRewriteCore \
|
||||||
clangAST \
|
clangAST \
|
||||||
clangLex \
|
clangLex \
|
||||||
clangBasic
|
clangBasic
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.6 2011/10/11 13:53:57 joerg Exp $
|
# $NetBSD: Makefile,v 1.7 2012/09/23 17:22:22 joerg Exp $
|
||||||
|
|
||||||
PROG_CXX= lli
|
PROG_CXX= lli
|
||||||
NOMAN= yes
|
NOMAN= yes
|
||||||
|
@ -7,7 +7,9 @@ NOMAN= yes
|
||||||
|
|
||||||
.PATH: ${LLVM_SRCDIR}/tools/lli
|
.PATH: ${LLVM_SRCDIR}/tools/lli
|
||||||
|
|
||||||
SRCS= lli.cpp
|
SRCS= lli.cpp \
|
||||||
|
RecordingMemoryManager.cpp \
|
||||||
|
RemoteTarget.cpp
|
||||||
|
|
||||||
LLVM_LIBS+= \
|
LLVM_LIBS+= \
|
||||||
X86CodeGen \
|
X86CodeGen \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:13:46 joerg Exp $
|
# $NetBSD: Makefile,v 1.2 2012/09/23 17:22:22 joerg Exp $
|
||||||
|
|
||||||
PROG_CXX= llvm-extract
|
PROG_CXX= llvm-extract
|
||||||
NOMAN= yes
|
NOMAN= yes
|
||||||
|
@ -13,10 +13,10 @@ LLVM_LIBS+= \
|
||||||
AsmParser \
|
AsmParser \
|
||||||
BitReader \
|
BitReader \
|
||||||
BitWriter \
|
BitWriter \
|
||||||
Target \
|
|
||||||
ipo \
|
ipo \
|
||||||
TransformsUtils \
|
TransformsUtils \
|
||||||
Analysis \
|
Analysis \
|
||||||
|
Target \
|
||||||
ipa \
|
ipa \
|
||||||
Core \
|
Core \
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.11 2012/04/04 10:42:01 joerg Exp $
|
# $NetBSD: Makefile,v 1.12 2012/09/23 17:22:22 joerg Exp $
|
||||||
|
|
||||||
PROG_CXX= llvm-mc
|
PROG_CXX= llvm-mc
|
||||||
NOMAN= yes
|
NOMAN= yes
|
||||||
|
@ -21,6 +21,7 @@ LLVM_LIBS+= \
|
||||||
MipsCodeGen \
|
MipsCodeGen \
|
||||||
MipsTargetInfo \
|
MipsTargetInfo \
|
||||||
MipsAsmParser \
|
MipsAsmParser \
|
||||||
|
MipsDisassembler \
|
||||||
MipsMCTargetDesc \
|
MipsMCTargetDesc \
|
||||||
MipsAsmPrinter \
|
MipsAsmPrinter \
|
||||||
PowerPCCodeGen \
|
PowerPCCodeGen \
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
//===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===//
|
/*===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===*\
|
||||||
//
|
|* *|
|
||||||
// The LLVM Compiler Infrastructure
|
|* The LLVM Compiler Infrastructure *|
|
||||||
//
|
|* *|
|
||||||
// This file is distributed under the University of Illinois Open Source
|
|* This file is distributed under the University of Illinois Open Source *|
|
||||||
// License. See LICENSE.TXT for details.
|
|* License. See LICENSE.TXT for details. *|
|
||||||
//
|
|* *|
|
||||||
//===----------------------------------------------------------------------===//
|
|*===----------------------------------------------------------------------===*|
|
||||||
//
|
|* *|
|
||||||
// This file enumerates all of the assembly-language parsers
|
|* This file enumerates all of the assembly-language parsers *|
|
||||||
// supported by this build of LLVM. Clients of this file should define
|
|* supported by this build of LLVM. Clients of this file should define *|
|
||||||
// the LLVM_ASM_PARSER macro to be a function-like macro with a
|
|* the LLVM_ASM_PARSER macro to be a function-like macro with a *|
|
||||||
// single parameter (the name of the target whose assembly can be
|
|* single parameter (the name of the target whose assembly can be *|
|
||||||
// generated); including this file will then enumerate all of the
|
|* generated); including this file will then enumerate all of the *|
|
||||||
// targets with assembly parsers.
|
|* targets with assembly parsers. *|
|
||||||
//
|
|* *|
|
||||||
// The set of targets supported by LLVM is generated at configuration
|
|* The set of targets supported by LLVM is generated at configuration *|
|
||||||
// time, at which point this header is generated. Do not modify this
|
|* time, at which point this header is generated. Do not modify this *|
|
||||||
// header directly.
|
|* header directly. *|
|
||||||
//
|
|* *|
|
||||||
//===----------------------------------------------------------------------===//
|
\*===----------------------------------------------------------------------===*/
|
||||||
|
|
||||||
#ifndef LLVM_ASM_PARSER
|
#ifndef LLVM_ASM_PARSER
|
||||||
# error Please define the macro LLVM_ASM_PARSER(TargetName)
|
# error Please define the macro LLVM_ASM_PARSER(TargetName)
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
//===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===//
|
/*===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===*\
|
||||||
//
|
|* *|
|
||||||
// The LLVM Compiler Infrastructure
|
|* The LLVM Compiler Infrastructure *|
|
||||||
//
|
|* *|
|
||||||
// This file is distributed under the University of Illinois Open Source
|
|* This file is distributed under the University of Illinois Open Source *|
|
||||||
// License. See LICENSE.TXT for details.
|
|* License. See LICENSE.TXT for details. *|
|
||||||
//
|
|* *|
|
||||||
//===----------------------------------------------------------------------===//
|
|*===----------------------------------------------------------------------===*|
|
||||||
//
|
|* *|
|
||||||
// This file enumerates all of the assembly-language printers
|
|* This file enumerates all of the assembly-language printers *|
|
||||||
// supported by this build of LLVM. Clients of this file should define
|
|* supported by this build of LLVM. Clients of this file should define *|
|
||||||
// the LLVM_ASM_PRINTER macro to be a function-like macro with a
|
|* the LLVM_ASM_PRINTER macro to be a function-like macro with a *|
|
||||||
// single parameter (the name of the target whose assembly can be
|
|* single parameter (the name of the target whose assembly can be *|
|
||||||
// generated); including this file will then enumerate all of the
|
|* generated); including this file will then enumerate all of the *|
|
||||||
// targets with assembly printers.
|
|* targets with assembly printers. *|
|
||||||
//
|
|* *|
|
||||||
// The set of targets supported by LLVM is generated at configuration
|
|* The set of targets supported by LLVM is generated at configuration *|
|
||||||
// time, at which point this header is generated. Do not modify this
|
|* time, at which point this header is generated. Do not modify this *|
|
||||||
// header directly.
|
|* header directly. *|
|
||||||
//
|
|* *|
|
||||||
//===----------------------------------------------------------------------===//
|
\*===----------------------------------------------------------------------===*/
|
||||||
|
|
||||||
#ifndef LLVM_ASM_PRINTER
|
#ifndef LLVM_ASM_PRINTER
|
||||||
# error Please define the macro LLVM_ASM_PRINTER(TargetName)
|
# error Please define the macro LLVM_ASM_PRINTER(TargetName)
|
||||||
|
|
|
@ -1,24 +1,24 @@
|
||||||
//===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===//
|
/*===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===*\
|
||||||
//
|
|* *|
|
||||||
// The LLVM Compiler Infrastructure
|
|* The LLVM Compiler Infrastructure *|
|
||||||
//
|
|* *|
|
||||||
// This file is distributed under the University of Illinois Open Source
|
|* This file is distributed under the University of Illinois Open Source *|
|
||||||
// License. See LICENSE.TXT for details.
|
|* License. See LICENSE.TXT for details. *|
|
||||||
//
|
|* *|
|
||||||
//===----------------------------------------------------------------------===//
|
|*===----------------------------------------------------------------------===*|
|
||||||
//
|
|* *|
|
||||||
// This file enumerates all of the assembly-language parsers
|
|* This file enumerates all of the assembly-language parsers *|
|
||||||
// supported by this build of LLVM. Clients of this file should define
|
|* supported by this build of LLVM. Clients of this file should define *|
|
||||||
// the LLVM_DISASSEMBLER macro to be a function-like macro with a
|
|* the LLVM_DISASSEMBLER macro to be a function-like macro with a *|
|
||||||
// single parameter (the name of the target whose assembly can be
|
|* single parameter (the name of the target whose assembly can be *|
|
||||||
// generated); including this file will then enumerate all of the
|
|* generated); including this file will then enumerate all of the *|
|
||||||
// targets with assembly parsers.
|
|* targets with assembly parsers. *|
|
||||||
//
|
|* *|
|
||||||
// The set of targets supported by LLVM is generated at configuration
|
|* The set of targets supported by LLVM is generated at configuration *|
|
||||||
// time, at which point this header is generated. Do not modify this
|
|* time, at which point this header is generated. Do not modify this *|
|
||||||
// header directly.
|
|* header directly. *|
|
||||||
//
|
|* *|
|
||||||
//===----------------------------------------------------------------------===//
|
\*===----------------------------------------------------------------------===*/
|
||||||
|
|
||||||
#ifndef LLVM_DISASSEMBLER
|
#ifndef LLVM_DISASSEMBLER
|
||||||
# error Please define the macro LLVM_DISASSEMBLER(TargetName)
|
# error Please define the macro LLVM_DISASSEMBLER(TargetName)
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
/* Bug report URL. */
|
/* Bug report URL. */
|
||||||
#define BUG_REPORT_URL "http://llvm.org/bugs/"
|
#define BUG_REPORT_URL "http://llvm.org/bugs/"
|
||||||
|
|
||||||
|
/* Define if we have libxml2 */
|
||||||
|
/* #undef CLANG_HAVE_LIBXML */
|
||||||
|
|
||||||
/* Relative directory for resource files */
|
/* Relative directory for resource files */
|
||||||
#define CLANG_RESOURCE_DIR ""
|
#define CLANG_RESOURCE_DIR ""
|
||||||
|
|
||||||
|
@ -19,7 +22,7 @@
|
||||||
/* Define if position independent code is enabled */
|
/* Define if position independent code is enabled */
|
||||||
#define ENABLE_PIC 1
|
#define ENABLE_PIC 1
|
||||||
|
|
||||||
/* Define if timestamp information (e.g., __DATE___) is allowed */
|
/* Define if timestamp information (e.g., __DATE__) is allowed */
|
||||||
#define ENABLE_TIMESTAMPS 0
|
#define ENABLE_TIMESTAMPS 0
|
||||||
|
|
||||||
/* Directory where gcc is installed. */
|
/* Directory where gcc is installed. */
|
||||||
|
@ -553,6 +556,9 @@
|
||||||
/* Has gcc/MSVC atomic intrinsics */
|
/* Has gcc/MSVC atomic intrinsics */
|
||||||
#define LLVM_HAS_ATOMICS 1
|
#define LLVM_HAS_ATOMICS 1
|
||||||
|
|
||||||
|
/* Host triple LLVM will be executed on */
|
||||||
|
#define LLVM_HOSTTRIPLE "x86_64--netbsd"
|
||||||
|
|
||||||
/* Installation directory for include files */
|
/* Installation directory for include files */
|
||||||
#define LLVM_INCLUDEDIR "/usr/include"
|
#define LLVM_INCLUDEDIR "/usr/include"
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,9 @@
|
||||||
/* Has gcc/MSVC atomic intrinsics */
|
/* Has gcc/MSVC atomic intrinsics */
|
||||||
#define LLVM_HAS_ATOMICS 1
|
#define LLVM_HAS_ATOMICS 1
|
||||||
|
|
||||||
|
/* Host triple LLVM will be executed on */
|
||||||
|
#define LLVM_HOSTTRIPLE "x86_64--netbsd"
|
||||||
|
|
||||||
/* Installation directory for include files */
|
/* Installation directory for include files */
|
||||||
#define LLVM_INCLUDEDIR "/usr/include"
|
#define LLVM_INCLUDEDIR "/usr/include"
|
||||||
|
|
||||||
|
|
|
@ -80,18 +80,6 @@ typedef u_int64_t uint64_t;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _OpenBSD_
|
|
||||||
#define INT8_MAX 127
|
|
||||||
#define INT8_MIN -128
|
|
||||||
#define UINT8_MAX 255
|
|
||||||
#define INT16_MAX 32767
|
|
||||||
#define INT16_MIN -32768
|
|
||||||
#define UINT16_MAX 65535
|
|
||||||
#define INT32_MAX 2147483647
|
|
||||||
#define INT32_MIN -2147483648
|
|
||||||
#define UINT32_MAX 4294967295U
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#else /* _MSC_VER */
|
#else /* _MSC_VER */
|
||||||
/* Visual C++ doesn't provide standard integer headers, but it does provide
|
/* Visual C++ doesn't provide standard integer headers, but it does provide
|
||||||
built-in data types. */
|
built-in data types. */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.12 2012/08/09 14:37:06 joerg Exp $
|
# $NetBSD: Makefile,v 1.13 2012/09/23 17:22:23 joerg Exp $
|
||||||
|
|
||||||
.include <bsd.init.mk>
|
.include <bsd.init.mk>
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ HEADER= \
|
||||||
tgmath.h
|
tgmath.h
|
||||||
|
|
||||||
.PATH: ${LLVM_SRCDIR}/include/llvm \
|
.PATH: ${LLVM_SRCDIR}/include/llvm \
|
||||||
|
${CLANG_SRCDIR}/include/clang/AST \
|
||||||
${CLANG_SRCDIR}/include/clang/Basic \
|
${CLANG_SRCDIR}/include/clang/Basic \
|
||||||
${CLANG_SRCDIR}/include/clang/Driver
|
${CLANG_SRCDIR}/include/clang/Driver
|
||||||
|
|
||||||
|
@ -51,8 +52,10 @@ TABLEGEN_SRC= Intrinsics.td
|
||||||
TABLEGEN_OUTPUT.Intrinsics.td= \
|
TABLEGEN_OUTPUT.Intrinsics.td= \
|
||||||
llvm/Intrinsics.gen|-gen-intrinsic
|
llvm/Intrinsics.gen|-gen-intrinsic
|
||||||
|
|
||||||
CLANG_TABLEGEN_SRC= Attr.td StmtNodes.td DeclNodes.td CommentNodes.td \
|
CLANG_TABLEGEN_SRC= Attr.td CommentCommands.td CommentHTMLTags.td \
|
||||||
Diagnostic.td arm_neon.td Options.td CC1AsOptions.td CC1Options.td
|
CommentNodes.td DeclNodes.td StmtNodes.td \
|
||||||
|
Diagnostic.td arm_neon.td Options.td \
|
||||||
|
CC1AsOptions.td CC1Options.td
|
||||||
|
|
||||||
CLANG_TABLEGEN_INCLUDES.Attr.td= -I${CLANG_SRCDIR}/include
|
CLANG_TABLEGEN_INCLUDES.Attr.td= -I${CLANG_SRCDIR}/include
|
||||||
CLANG_TABLEGEN_OUTPUT.Attr.td= \
|
CLANG_TABLEGEN_OUTPUT.Attr.td= \
|
||||||
|
@ -76,6 +79,13 @@ CLANG_TABLEGEN_OUTPUT.DeclNodes.td= \
|
||||||
CLANG_TABLEGEN_OUTPUT.CommentNodes.td= \
|
CLANG_TABLEGEN_OUTPUT.CommentNodes.td= \
|
||||||
clang/AST/CommentNodes.inc|-gen-clang-comment-nodes
|
clang/AST/CommentNodes.inc|-gen-clang-comment-nodes
|
||||||
|
|
||||||
|
CLANG_TABLEGEN_OUTPUT.CommentCommands.td= \
|
||||||
|
clang/AST/CommentCommandInfo.inc|-gen-clang-comment-command-info
|
||||||
|
|
||||||
|
CLANG_TABLEGEN_OUTPUT.CommentHTMLTags.td= \
|
||||||
|
clang/AST/CommentHTMLTags.inc|-gen-clang-comment-html-tags \
|
||||||
|
clang/AST/CommentHTMLTagsProperties.inc|-gen-clang-comment-html-tags-properties
|
||||||
|
|
||||||
CLANG_TABLEGEN_INCLUDES.Diagnostic.td= -I${CLANG_SRCDIR}/include/clang/Basic
|
CLANG_TABLEGEN_INCLUDES.Diagnostic.td= -I${CLANG_SRCDIR}/include/clang/Basic
|
||||||
CLANG_TABLEGEN_OUTPUT.Diagnostic.td= \
|
CLANG_TABLEGEN_OUTPUT.Diagnostic.td= \
|
||||||
clang/Basic/DiagnosticAnalysisKinds.inc|-gen-clang-diags-defs^-clang-component=Analysis \
|
clang/Basic/DiagnosticAnalysisKinds.inc|-gen-clang-diags-defs^-clang-component=Analysis \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.24 2012/08/09 14:39:01 joerg Exp $
|
# $NetBSD: Makefile,v 1.25 2012/09/23 17:22:23 joerg Exp $
|
||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ SUBDIR+= \
|
||||||
SUBDIR+= \
|
SUBDIR+= \
|
||||||
libLLVMMipsAsmParser \
|
libLLVMMipsAsmParser \
|
||||||
libLLVMMipsAsmPrinter \
|
libLLVMMipsAsmPrinter \
|
||||||
|
libLLVMMipsDisassembler \
|
||||||
libLLVMMipsMCTargetDesc \
|
libLLVMMipsMCTargetDesc \
|
||||||
libLLVMMipsTargetInfo
|
libLLVMMipsTargetInfo
|
||||||
|
|
||||||
|
@ -90,7 +91,8 @@ SUBDIR+= \
|
||||||
libclangFrontendTool \
|
libclangFrontendTool \
|
||||||
libclangLex \
|
libclangLex \
|
||||||
libclangParse \
|
libclangParse \
|
||||||
libclangRewrite \
|
libclangRewriteFrontend \
|
||||||
|
libclangRewriteCore \
|
||||||
libclangSema \
|
libclangSema \
|
||||||
libclangSerialization \
|
libclangSerialization \
|
||||||
libclangStaticAnalyzerCheckers \
|
libclangStaticAnalyzerCheckers \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.7 2012/08/09 14:37:06 joerg Exp $
|
# $NetBSD: Makefile,v 1.8 2012/09/23 17:22:23 joerg Exp $
|
||||||
|
|
||||||
LIB= LLVMAnalysis
|
LIB= LLVMAnalysis
|
||||||
|
|
||||||
|
@ -46,6 +46,8 @@ SRCS+= AliasAnalysis.cpp \
|
||||||
PathProfileVerifier.cpp \
|
PathProfileVerifier.cpp \
|
||||||
PHITransAddr.cpp \
|
PHITransAddr.cpp \
|
||||||
PostDominators.cpp \
|
PostDominators.cpp \
|
||||||
|
ProfileDataLoaderPass.cpp \
|
||||||
|
ProfileDataLoader.cpp \
|
||||||
ProfileEstimatorPass.cpp \
|
ProfileEstimatorPass.cpp \
|
||||||
ProfileInfo.cpp \
|
ProfileInfo.cpp \
|
||||||
ProfileInfoLoader.cpp \
|
ProfileInfoLoader.cpp \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.19 2012/08/09 14:37:06 joerg Exp $
|
# $NetBSD: Makefile,v 1.20 2012/09/23 17:22:23 joerg Exp $
|
||||||
|
|
||||||
LIB= LLVMCodeGen
|
LIB= LLVMCodeGen
|
||||||
|
|
||||||
|
@ -64,6 +64,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
|
||||||
MachineModuleInfo.cpp \
|
MachineModuleInfo.cpp \
|
||||||
MachineModuleInfoImpls.cpp \
|
MachineModuleInfoImpls.cpp \
|
||||||
MachinePassRegistry.cpp \
|
MachinePassRegistry.cpp \
|
||||||
|
MachinePostDominators.cpp \
|
||||||
MachineRegisterInfo.cpp \
|
MachineRegisterInfo.cpp \
|
||||||
MachineSSAUpdater.cpp \
|
MachineSSAUpdater.cpp \
|
||||||
MachineScheduler.cpp \
|
MachineScheduler.cpp \
|
||||||
|
@ -100,6 +101,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
|
||||||
Spiller.cpp \
|
Spiller.cpp \
|
||||||
SpillPlacement.cpp \
|
SpillPlacement.cpp \
|
||||||
SplitKit.cpp \
|
SplitKit.cpp \
|
||||||
|
StackColoring.cpp \
|
||||||
StackProtector.cpp \
|
StackProtector.cpp \
|
||||||
StackSlotColoring.cpp \
|
StackSlotColoring.cpp \
|
||||||
StrongPHIElimination.cpp \
|
StrongPHIElimination.cpp \
|
||||||
|
@ -108,6 +110,7 @@ SRCS+= AggressiveAntiDepBreaker.cpp \
|
||||||
TargetInstrInfoImpl.cpp \
|
TargetInstrInfoImpl.cpp \
|
||||||
TargetLoweringObjectFileImpl.cpp \
|
TargetLoweringObjectFileImpl.cpp \
|
||||||
TargetOptionsImpl.cpp \
|
TargetOptionsImpl.cpp \
|
||||||
|
TargetSchedule.cpp \
|
||||||
TwoAddressInstructionPass.cpp \
|
TwoAddressInstructionPass.cpp \
|
||||||
UnreachableBlockElim.cpp \
|
UnreachableBlockElim.cpp \
|
||||||
VirtRegMap.cpp
|
VirtRegMap.cpp
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.1 2011/10/11 13:53:59 joerg Exp $
|
# $NetBSD: Makefile,v 1.2 2012/09/23 17:22:23 joerg Exp $
|
||||||
|
|
||||||
LIB= LLVMDebugInfo
|
LIB= LLVMDebugInfo
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ SRCS+= DIContext.cpp \
|
||||||
DWARFDebugAranges.cpp \
|
DWARFDebugAranges.cpp \
|
||||||
DWARFDebugInfoEntry.cpp \
|
DWARFDebugInfoEntry.cpp \
|
||||||
DWARFDebugLine.cpp \
|
DWARFDebugLine.cpp \
|
||||||
|
DWARFDebugRangeList.cpp \
|
||||||
DWARFFormValue.cpp
|
DWARFFormValue.cpp
|
||||||
|
|
||||||
.if defined(HOSTLIB)
|
.if defined(HOSTLIB)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.6 2012/08/09 14:37:06 joerg Exp $
|
# $NetBSD: Makefile,v 1.7 2012/09/23 17:22:23 joerg Exp $
|
||||||
|
|
||||||
LIB= LLVMInstrumentation
|
LIB= LLVMInstrumentation
|
||||||
|
|
||||||
|
@ -7,9 +7,9 @@ LIB= LLVMInstrumentation
|
||||||
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation
|
.PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation
|
||||||
|
|
||||||
SRCS+= AddressSanitizer.cpp \
|
SRCS+= AddressSanitizer.cpp \
|
||||||
|
BlackList.cpp \
|
||||||
BoundsChecking.cpp \
|
BoundsChecking.cpp \
|
||||||
EdgeProfiling.cpp \
|
EdgeProfiling.cpp \
|
||||||
FunctionBlackList.cpp \
|
|
||||||
GCOVProfiling.cpp \
|
GCOVProfiling.cpp \
|
||||||
Instrumentation.cpp \
|
Instrumentation.cpp \
|
||||||
OptimalEdgeProfiling.cpp \
|
OptimalEdgeProfiling.cpp \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.11 2012/08/09 14:37:07 joerg Exp $
|
# $NetBSD: Makefile,v 1.12 2012/09/23 17:22:23 joerg Exp $
|
||||||
|
|
||||||
LIB= LLVMMipsCodeGen
|
LIB= LLVMMipsCodeGen
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@ SRCS+= Mips16InstrInfo.cpp \
|
||||||
MipsAsmPrinter.cpp \
|
MipsAsmPrinter.cpp \
|
||||||
MipsCodeEmitter.cpp \
|
MipsCodeEmitter.cpp \
|
||||||
MipsDelaySlotFiller.cpp \
|
MipsDelaySlotFiller.cpp \
|
||||||
|
MipsDirectObjLower.cpp \
|
||||||
|
MipsELFWriterInfo.cpp \
|
||||||
MipsFrameLowering.cpp \
|
MipsFrameLowering.cpp \
|
||||||
MipsInstrInfo.cpp \
|
MipsInstrInfo.cpp \
|
||||||
MipsISelDAGToDAG.cpp \
|
MipsISelDAGToDAG.cpp \
|
||||||
|
@ -35,6 +37,7 @@ TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/Mips
|
||||||
TABLEGEN_OUTPUT= \
|
TABLEGEN_OUTPUT= \
|
||||||
MipsGenRegisterInfo.inc|-gen-register-info \
|
MipsGenRegisterInfo.inc|-gen-register-info \
|
||||||
MipsGenInstrInfo.inc|-gen-instr-info \
|
MipsGenInstrInfo.inc|-gen-instr-info \
|
||||||
|
MipsGenAsmMatcher.inc|-gen-asm-matcher \
|
||||||
MipsGenAsmWriter.inc|-gen-asm-writer \
|
MipsGenAsmWriter.inc|-gen-asm-writer \
|
||||||
MipsGenCallingConv.inc|-gen-callingconv \
|
MipsGenCallingConv.inc|-gen-callingconv \
|
||||||
MipsGenCodeEmitter.inc|-gen-emitter \
|
MipsGenCodeEmitter.inc|-gen-emitter \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.7 2012/08/09 14:37:07 joerg Exp $
|
# $NetBSD: Makefile,v 1.8 2012/09/23 17:22:24 joerg Exp $
|
||||||
|
|
||||||
LIB= LLVMScalarOpts
|
LIB= LLVMScalarOpts
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ SRCS+= ADCE.cpp \
|
||||||
Reassociate.cpp \
|
Reassociate.cpp \
|
||||||
Reg2Mem.cpp \
|
Reg2Mem.cpp \
|
||||||
SCCP.cpp \
|
SCCP.cpp \
|
||||||
|
SROA.cpp \
|
||||||
Scalar.cpp \
|
Scalar.cpp \
|
||||||
ScalarReplAggregates.cpp \
|
ScalarReplAggregates.cpp \
|
||||||
SimplifyCFGPass.cpp \
|
SimplifyCFGPass.cpp \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.8 2012/04/04 10:42:03 joerg Exp $
|
# $NetBSD: Makefile,v 1.9 2012/09/23 17:22:24 joerg Exp $
|
||||||
|
|
||||||
LIB= LLVMTransformsUtils
|
LIB= LLVMTransformsUtils
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ SRCS+= AddrModeMatcher.cpp \
|
||||||
BasicBlockUtils.cpp \
|
BasicBlockUtils.cpp \
|
||||||
BreakCriticalEdges.cpp \
|
BreakCriticalEdges.cpp \
|
||||||
BuildLibCalls.cpp \
|
BuildLibCalls.cpp \
|
||||||
|
BypassSlowDivision.cpp \
|
||||||
CloneFunction.cpp \
|
CloneFunction.cpp \
|
||||||
CloneModule.cpp \
|
CloneModule.cpp \
|
||||||
CmpInstAnalysis.cpp \
|
CmpInstAnalysis.cpp \
|
||||||
|
@ -17,6 +18,7 @@ SRCS+= AddrModeMatcher.cpp \
|
||||||
DemoteRegToStack.cpp \
|
DemoteRegToStack.cpp \
|
||||||
InlineFunction.cpp \
|
InlineFunction.cpp \
|
||||||
InstructionNamer.cpp \
|
InstructionNamer.cpp \
|
||||||
|
IntegerDivision.cpp \
|
||||||
LCSSA.cpp \
|
LCSSA.cpp \
|
||||||
Local.cpp \
|
Local.cpp \
|
||||||
LoopSimplify.cpp \
|
LoopSimplify.cpp \
|
||||||
|
@ -26,6 +28,7 @@ SRCS+= AddrModeMatcher.cpp \
|
||||||
LowerInvoke.cpp \
|
LowerInvoke.cpp \
|
||||||
LowerSwitch.cpp \
|
LowerSwitch.cpp \
|
||||||
Mem2Reg.cpp \
|
Mem2Reg.cpp \
|
||||||
|
MetaRenamer.cpp \
|
||||||
ModuleUtils.cpp \
|
ModuleUtils.cpp \
|
||||||
PromoteMemoryToRegister.cpp \
|
PromoteMemoryToRegister.cpp \
|
||||||
SSAUpdater.cpp \
|
SSAUpdater.cpp \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.6 2012/08/09 14:37:07 joerg Exp $
|
# $NetBSD: Makefile,v 1.7 2012/09/23 17:22:24 joerg Exp $
|
||||||
|
|
||||||
LIB= clangAST
|
LIB= clangAST
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ SRCS+= APValue.cpp \
|
||||||
CXXInheritance.cpp \
|
CXXInheritance.cpp \
|
||||||
Comment.cpp \
|
Comment.cpp \
|
||||||
CommentBriefParser.cpp \
|
CommentBriefParser.cpp \
|
||||||
|
CommentCommandTraits.cpp \
|
||||||
CommentDumper.cpp \
|
CommentDumper.cpp \
|
||||||
CommentLexer.cpp \
|
CommentLexer.cpp \
|
||||||
CommentParser.cpp \
|
CommentParser.cpp \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.8 2012/04/04 10:42:04 joerg Exp $
|
# $NetBSD: Makefile,v 1.9 2012/09/23 17:22:24 joerg Exp $
|
||||||
|
|
||||||
LIB= clangAnalysis
|
LIB= clangAnalysis
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ LIB= clangAnalysis
|
||||||
.PATH: ${CLANG_SRCDIR}/lib/Analysis
|
.PATH: ${CLANG_SRCDIR}/lib/Analysis
|
||||||
|
|
||||||
SRCS+= AnalysisDeclContext.cpp \
|
SRCS+= AnalysisDeclContext.cpp \
|
||||||
|
BodyFarm.cpp \
|
||||||
CFG.cpp \
|
CFG.cpp \
|
||||||
CFGReachabilityAnalysis.cpp \
|
CFGReachabilityAnalysis.cpp \
|
||||||
CFGStmtMap.cpp \
|
CFGStmtMap.cpp \
|
||||||
|
@ -15,6 +16,7 @@ SRCS+= AnalysisDeclContext.cpp \
|
||||||
Dominators.cpp \
|
Dominators.cpp \
|
||||||
FormatString.cpp \
|
FormatString.cpp \
|
||||||
LiveVariables.cpp \
|
LiveVariables.cpp \
|
||||||
|
ObjCNoReturn.cpp \
|
||||||
PostOrderCFGView.cpp \
|
PostOrderCFGView.cpp \
|
||||||
ProgramPoint.cpp \
|
ProgramPoint.cpp \
|
||||||
PrintfFormatString.cpp \
|
PrintfFormatString.cpp \
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
# $NetBSD: Makefile,v 1.3 2012/06/16 17:01:04 joerg Exp $
|
|
||||||
|
|
||||||
LIB= clangRewrite
|
|
||||||
|
|
||||||
.include <bsd.init.mk>
|
|
||||||
|
|
||||||
.PATH: ${CLANG_SRCDIR}/lib/Rewrite
|
|
||||||
|
|
||||||
SRCS+= DeltaTree.cpp \
|
|
||||||
FixItRewriter.cpp \
|
|
||||||
FrontendActions.cpp \
|
|
||||||
HTMLPrint.cpp \
|
|
||||||
HTMLRewrite.cpp \
|
|
||||||
InclusionRewriter.cpp \
|
|
||||||
RewriteMacros.cpp \
|
|
||||||
RewriteModernObjC.cpp \
|
|
||||||
RewriteObjC.cpp \
|
|
||||||
RewriteRope.cpp \
|
|
||||||
RewriteTest.cpp \
|
|
||||||
Rewriter.cpp \
|
|
||||||
TokenRewriter.cpp
|
|
||||||
|
|
||||||
.if defined(HOSTLIB)
|
|
||||||
.include <bsd.hostlib.mk>
|
|
||||||
.else
|
|
||||||
.include <bsd.lib.mk>
|
|
||||||
.endif
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
# $NetBSD: Makefile,v 1.1 2012/09/23 17:22:24 joerg Exp $
|
||||||
|
|
||||||
|
LIB= clangRewriteCore
|
||||||
|
|
||||||
|
.include <bsd.init.mk>
|
||||||
|
|
||||||
|
.PATH: ${CLANG_SRCDIR}/lib/Rewrite/Core
|
||||||
|
|
||||||
|
SRCS+= DeltaTree.cpp \
|
||||||
|
HTMLRewrite.cpp \
|
||||||
|
RewriteRope.cpp \
|
||||||
|
Rewriter.cpp \
|
||||||
|
TokenRewriter.cpp
|
||||||
|
|
||||||
|
.if defined(HOSTLIB)
|
||||||
|
.include <bsd.hostlib.mk>
|
||||||
|
.else
|
||||||
|
.include <bsd.lib.mk>
|
||||||
|
.endif
|
|
@ -0,0 +1,22 @@
|
||||||
|
# $NetBSD: Makefile,v 1.1 2012/09/23 17:22:24 joerg Exp $
|
||||||
|
|
||||||
|
LIB= clangRewriteFrontend
|
||||||
|
|
||||||
|
.include <bsd.init.mk>
|
||||||
|
|
||||||
|
.PATH: ${CLANG_SRCDIR}/lib/Rewrite/Frontend
|
||||||
|
|
||||||
|
SRCS+= FixItRewriter.cpp \
|
||||||
|
FrontendActions.cpp \
|
||||||
|
HTMLPrint.cpp \
|
||||||
|
InclusionRewriter.cpp \
|
||||||
|
RewriteMacros.cpp \
|
||||||
|
RewriteModernObjC.cpp \
|
||||||
|
RewriteObjC.cpp \
|
||||||
|
RewriteTest.cpp
|
||||||
|
|
||||||
|
.if defined(HOSTLIB)
|
||||||
|
.include <bsd.hostlib.mk>
|
||||||
|
.else
|
||||||
|
.include <bsd.lib.mk>
|
||||||
|
.endif
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.9 2012/04/29 19:19:06 joerg Exp $
|
# $NetBSD: Makefile,v 1.10 2012/09/23 17:22:25 joerg Exp $
|
||||||
|
|
||||||
LIB= clangSema
|
LIB= clangSema
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ SRCS+= AnalysisBasedWarnings.cpp \
|
||||||
SemaOverload.cpp \
|
SemaOverload.cpp \
|
||||||
SemaPseudoObject.cpp \
|
SemaPseudoObject.cpp \
|
||||||
SemaStmt.cpp \
|
SemaStmt.cpp \
|
||||||
|
SemaStmtAsm.cpp \
|
||||||
SemaStmtAttr.cpp \
|
SemaStmtAttr.cpp \
|
||||||
SemaTemplate.cpp \
|
SemaTemplate.cpp \
|
||||||
SemaTemplateDeduction.cpp \
|
SemaTemplateDeduction.cpp \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.15 2012/08/09 14:37:07 joerg Exp $
|
# $NetBSD: Makefile,v 1.16 2012/09/23 17:22:25 joerg Exp $
|
||||||
|
|
||||||
LIB= clangStaticAnalyzerCheckers
|
LIB= clangStaticAnalyzerCheckers
|
||||||
|
|
||||||
|
@ -6,8 +6,7 @@ LIB= clangStaticAnalyzerCheckers
|
||||||
|
|
||||||
.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Checkers
|
.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Checkers
|
||||||
|
|
||||||
SRCS+= AdjustedReturnValueChecker.cpp \
|
SRCS+= AnalyzerStatsChecker.cpp \
|
||||||
AnalyzerStatsChecker.cpp \
|
|
||||||
ArrayBoundChecker.cpp \
|
ArrayBoundChecker.cpp \
|
||||||
ArrayBoundCheckerV2.cpp \
|
ArrayBoundCheckerV2.cpp \
|
||||||
AttrNonNullChecker.cpp \
|
AttrNonNullChecker.cpp \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.11 2012/08/09 14:37:07 joerg Exp $
|
# $NetBSD: Makefile,v 1.12 2012/09/23 17:22:25 joerg Exp $
|
||||||
|
|
||||||
LIB= clangStaticAnalyzerCore
|
LIB= clangStaticAnalyzerCore
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ LIB= clangStaticAnalyzerCore
|
||||||
|
|
||||||
SRCS+= APSIntType.cpp \
|
SRCS+= APSIntType.cpp \
|
||||||
AnalysisManager.cpp \
|
AnalysisManager.cpp \
|
||||||
BasicConstraintManager.cpp \
|
AnalyzerOptions.cpp \
|
||||||
BasicValueFactory.cpp \
|
BasicValueFactory.cpp \
|
||||||
BlockCounter.cpp \
|
BlockCounter.cpp \
|
||||||
BugReporter.cpp \
|
BugReporter.cpp \
|
||||||
|
@ -19,6 +19,7 @@ SRCS+= APSIntType.cpp \
|
||||||
CheckerHelpers.cpp \
|
CheckerHelpers.cpp \
|
||||||
CheckerManager.cpp \
|
CheckerManager.cpp \
|
||||||
CheckerRegistry.cpp \
|
CheckerRegistry.cpp \
|
||||||
|
ConstraintManager.cpp \
|
||||||
CoreEngine.cpp \
|
CoreEngine.cpp \
|
||||||
Environment.cpp \
|
Environment.cpp \
|
||||||
ExplodedGraph.cpp \
|
ExplodedGraph.cpp \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.6 2012/08/09 14:37:07 joerg Exp $
|
# $NetBSD: Makefile,v 1.7 2012/09/23 17:22:25 joerg Exp $
|
||||||
|
|
||||||
LIB= clangTooling
|
LIB= clangTooling
|
||||||
|
|
||||||
|
@ -7,8 +7,9 @@ LIB= clangTooling
|
||||||
.PATH: ${CLANG_SRCDIR}/lib/Tooling
|
.PATH: ${CLANG_SRCDIR}/lib/Tooling
|
||||||
|
|
||||||
SRCS+= ArgumentsAdjusters.cpp \
|
SRCS+= ArgumentsAdjusters.cpp \
|
||||||
CommandLineClangTool.cpp \
|
CommonOptionsParser.cpp \
|
||||||
CompilationDatabase.cpp \
|
CompilationDatabase.cpp \
|
||||||
|
JSONCompilationDatabase.cpp \
|
||||||
Refactoring.cpp \
|
Refactoring.cpp \
|
||||||
RefactoringCallbacks.cpp \
|
RefactoringCallbacks.cpp \
|
||||||
Tooling.cpp
|
Tooling.cpp
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile.inc,v 1.2 2011/05/26 12:56:27 joerg Exp $
|
# $NetBSD: Makefile.inc,v 1.3 2012/09/23 17:22:25 joerg Exp $
|
||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@ USE_FORT?= yes # network client/server
|
||||||
WARNS?= 0
|
WARNS?= 0
|
||||||
|
|
||||||
CWARNFLAGS.clang+= -Wno-tautological-compare -Wno-parentheses \
|
CWARNFLAGS.clang+= -Wno-tautological-compare -Wno-parentheses \
|
||||||
-Wno-format-security -Wno-format
|
-Wno-format-security -Wno-format \
|
||||||
|
-Wno-tautological-constant-out-of-range-compare
|
||||||
|
|
||||||
BINDIR?= /usr/bin
|
BINDIR?= /usr/bin
|
||||||
IDIST= ${NETBSDSRCDIR}/external/gpl2/xcvs/dist
|
IDIST= ${NETBSDSRCDIR}/external/gpl2/xcvs/dist
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: bsd.sys.mk,v 1.218 2012/09/05 22:40:30 riz Exp $
|
# $NetBSD: bsd.sys.mk,v 1.219 2012/09/23 17:22:25 joerg Exp $
|
||||||
#
|
#
|
||||||
# Build definitions used for NetBSD source tree builds.
|
# Build definitions used for NetBSD source tree builds.
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ CFLAGS+= -Wno-sign-compare
|
||||||
CFLAGS+= ${${ACTIVE_CC} != "clang":? -Wno-traditional :}
|
CFLAGS+= ${${ACTIVE_CC} != "clang":? -Wno-traditional :}
|
||||||
.if !defined(NOGCCERROR)
|
.if !defined(NOGCCERROR)
|
||||||
# Set assembler warnings to be fatal
|
# Set assembler warnings to be fatal
|
||||||
CFLAGS+= -Wa,--fatal-warnings
|
#CFLAGS+= -Wa,--fatal-warnings
|
||||||
.endif
|
.endif
|
||||||
# Set linker warnings to be fatal
|
# Set linker warnings to be fatal
|
||||||
# XXX no proper way to avoid "FOO is a patented algorithm" warnings
|
# XXX no proper way to avoid "FOO is a patented algorithm" warnings
|
||||||
|
@ -109,7 +109,7 @@ CPPFLAGS+= -D_FORTIFY_SOURCE=2
|
||||||
.if (${USE_SSP:Uno} != "no") && (${BINDIR:Ux} != "/usr/mdec")
|
.if (${USE_SSP:Uno} != "no") && (${BINDIR:Ux} != "/usr/mdec")
|
||||||
.if ${HAS_SSP} == "yes"
|
.if ${HAS_SSP} == "yes"
|
||||||
COPTS+= -fstack-protector -Wstack-protector
|
COPTS+= -fstack-protector -Wstack-protector
|
||||||
COPTS+= ${${ACTIVE_CC} == "clang":? -mllvm -stack-protector-buffer-size=1 :}
|
COPTS+= ${${ACTIVE_CC} == "clang":? --param ssp-buffer-size=1 :}
|
||||||
COPTS+= ${${ACTIVE_CC} == "gcc":? --param ssp-buffer-size=1 :}
|
COPTS+= ${${ACTIVE_CC} == "gcc":? --param ssp-buffer-size=1 :}
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
@ -132,7 +132,7 @@ CFLAGS+= -Wa,-Av8plus
|
||||||
|
|
||||||
.if !defined(NOGCCERROR)
|
.if !defined(NOGCCERROR)
|
||||||
.if (${MACHINE_ARCH} == "mips64el") || (${MACHINE_ARCH} == "mips64eb")
|
.if (${MACHINE_ARCH} == "mips64el") || (${MACHINE_ARCH} == "mips64eb")
|
||||||
CPUFLAGS+= -Wa,--fatal-warnings
|
#CPUFLAGS+= -Wa,--fatal-warnings
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.5 2012/04/04 10:59:48 joerg Exp $
|
# $NetBSD: Makefile,v 1.6 2012/09/23 17:22:25 joerg Exp $
|
||||||
|
|
||||||
NOMAN= # defined
|
NOMAN= # defined
|
||||||
|
|
||||||
|
@ -10,8 +10,7 @@ CPPFLAGS+= -D_FORTIFY_SOURCE=2
|
||||||
|
|
||||||
COPTS.h_raw.c= -fstack-protector-all -Wstack-protector
|
COPTS.h_raw.c= -fstack-protector-all -Wstack-protector
|
||||||
COPTS.h_raw.c+= ${${ACTIVE_CC} == "gcc":? --param ssp-buffer-size=1 :}
|
COPTS.h_raw.c+= ${${ACTIVE_CC} == "gcc":? --param ssp-buffer-size=1 :}
|
||||||
COPTS.h_raw.c+= ${${ACTIVE_CC} == "clang":? -mllvm -stack-protector-buffer-size=1 :}
|
COPTS.h_raw.c+= ${${ACTIVE_CC} == "clang":? --param ssp-buffer-size=1 :}
|
||||||
|
|
||||||
|
|
||||||
# Bootstrap hack
|
# Bootstrap hack
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# $NetBSD: Makefile,v 1.1 2012/09/23 17:22:26 joerg Exp $
|
||||||
|
|
||||||
|
.include <bsd.init.mk>
|
|
@ -1,3 +0,0 @@
|
||||||
# $NetBSD: Makefile,v 1.1 2011/02/06 01:14:22 joerg Exp $
|
|
||||||
|
|
||||||
.include <bsd.init.mk>
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# $NetBSD: Makefile,v 1.1 2012/09/23 17:22:26 joerg Exp $
|
||||||
|
|
||||||
|
.include <bsd.init.mk>
|
|
@ -0,0 +1,3 @@
|
||||||
|
# $NetBSD: Makefile,v 1.1 2012/09/23 17:22:26 joerg Exp $
|
||||||
|
|
||||||
|
.include <bsd.init.mk>
|
Loading…
Reference in New Issue