Commit 7a31c79b authored by brooks's avatar brooks
Browse files

Update llvm-devel to a new snapshot.

Remove embedded compiler-rt build as that no longer works and create a
compiler-rt-devel port (currently supporting i386 and amd64, patches
welcome for other ARCHs).

Cause clang to ignore the -fformat-extensions argument.[1]

Submitted by:	Sender Ghost <lightside@gmx.com> [1]
parent 686694a2
......@@ -277,6 +277,7 @@
SUBDIR += commit-patch
SUBDIR += commoncpp
SUBDIR += compiler-rt
SUBDIR += compiler-rt-devel
SUBDIR += compiz-bcop
SUBDIR += concurrencykit
SUBDIR += configkit
......
# $FreeBSD$
PORTNAME= compiler-rt
PORTVERSION= ${LLVM_MAJOR}.d${SNAPDATE}
CATEGORIES= devel
PKGNAMESUFFIX= ${LLVM_SUFFIX}
MAINTAINER= brooks@FreeBSD.org
COMMENT= LLVM sanitizer runtimes
LLVM_SUFFIX= -devel
LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
LLVM_PORTDIR= ${.CURDIR}/../llvm${LLVM_SUFFIX}
USES= cmake:outsource ninja
BUILD_DEPENDS= llvm-config${LLVM_SUFFIX}:${PORTSDIR}/devel/llvm${LLVM_SUFFIX}
CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX}/
CMAKE_ARGS= -DLLVM_CONFIG_PATH=${LOCALBASE}/bin/llvm-config${LLVM_SUFFIX}
USE_GITHUB= eyes
GH_ACCOUNT= llvm-mirror
GH_TAGNAME= ${COMPILER_RT_COMMIT}
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= plist contents not known
.include <bsd.port.pre.mk>
.for arch in ${ONLY_FOR_ARCHS}
.if (${arch} == ${ARCH} || (${arch} == "i386" && ${ARCH} == "amd64"))
ARCH_SUB:= ${ARCH_SUB} ${arch:tu}=
.else
ARCH_SUB:= ${ARCH_SUB} ${arch:tu}="@comment "
.endif
.endfor
PLIST_SUB+= ${ARCH_SUB}
.include "${LLVM_PORTDIR}/Makefile.snapshot"
build-plist:
${RM} -f ${PLIST}
${MAKE} makeplist | \
grep -v /you/have/to/check/what/makeplist/gives/you | \
awk '{ \
if ($$0 ~ /i386/) {printf "%%%%I386%%%%"} \
if ($$0 ~ /x86_64/) {printf "%%%%AMD64%%%%"} \
{print} \
}' >> ${PLIST}
.include <bsd.port.post.mk>
SHA256 (llvm-mirror-compiler-rt-3.8.d20151021-d6184a3b9865249280fdf03830f4b907855ea842_GH0.tar.gz) = 15146786c2df34c608b797d6bce51319efae50f27a9481cadc848898f3aff64a
SIZE (llvm-mirror-compiler-rt-3.8.d20151021-d6184a3b9865249280fdf03830f4b907855ea842_GH0.tar.gz) = 2165729
LLVM sanitizer runtimes - runtime libraries that are required to run the
code with sanitizer instrumentation. Santizers include:
- AddressSanitizer
- ThreadSanitizer
- UndefinedBehaviorSanitizer
- MemorySanitizer
- LeakSanitizer
- DataFlowSanitizer
WWW: http://compiler-rt.llvm.org/
llvm-devel/asan_blacklist.txt
llvm-devel/cfi_blacklist.txt
llvm-devel/include/sanitizer/allocator_interface.h
llvm-devel/include/sanitizer/asan_interface.h
llvm-devel/include/sanitizer/common_interface_defs.h
llvm-devel/include/sanitizer/coverage_interface.h
llvm-devel/include/sanitizer/dfsan_interface.h
llvm-devel/include/sanitizer/linux_syscall_hooks.h
llvm-devel/include/sanitizer/lsan_interface.h
llvm-devel/include/sanitizer/msan_interface.h
llvm-devel/include/sanitizer/tsan_interface_atomic.h
%%I386%%llvm-devel/lib/freebsd/libclang_rt.asan-i386.a
%%I386%%llvm-devel/lib/freebsd/libclang_rt.asan-i386.so
%%I386%%llvm-devel/lib/freebsd/libclang_rt.asan-preinit-i386.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.asan-preinit-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.asan-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.asan-x86_64.a.syms
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.asan-x86_64.so
%%I386%%llvm-devel/lib/freebsd/libclang_rt.asan_cxx-i386.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.asan_cxx-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.asan_cxx-x86_64.a.syms
%%I386%%llvm-devel/lib/freebsd/libclang_rt.builtins-i386.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.builtins-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.dd-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.dyndd-x86_64.so
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.lsan-x86_64.a
%%I386%%llvm-devel/lib/freebsd/libclang_rt.profile-i386.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.profile-x86_64.a
%%I386%%llvm-devel/lib/freebsd/libclang_rt.safestack-i386.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.safestack-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.tsan-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.tsan-x86_64.a.syms
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.tsan_cxx-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.tsan_cxx-x86_64.a.syms
%%I386%%llvm-devel/lib/freebsd/libclang_rt.ubsan_standalone-i386.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.ubsan_standalone-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.ubsan_standalone-x86_64.a.syms
%%I386%%llvm-devel/lib/freebsd/libclang_rt.ubsan_standalone_cxx-i386.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.ubsan_standalone_cxx-x86_64.a
%%AMD64%%llvm-devel/lib/freebsd/libclang_rt.ubsan_standalone_cxx-x86_64.a.syms
......@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= llvm
PORTVERSION= 3.8.d20150818
PORTVERSION= ${LLVM_MAJOR}.d${SNAPDATE}
CATEGORIES= devel lang
PKGNAMESUFFIX= -devel
......@@ -27,30 +27,23 @@ USE_GITHUB= yes
GH_ACCOUNT= llvm-mirror
GH_TAGNAME= ${LLVM_COMMIT}
LLVM_COMMIT= 27aa81cf903ceab79619111243e0e228e46c6747
CLANG_COMMIT= f27472a5facd07e48e9cd6d1f8d1d793f866b05f
COMPILER_RT_COMMIT= 5708a2383ea388510464a12c9c708b224d492e74
LLD_COMMIT= d8afe0be205f34c2576df36ee71d9ffadbdace22
LLDB_COMMIT= 7da1acdcab24b6fbcd3aa6c5e28b30e0226f2a96
OPENMP_COMMIT= fc660a2d58e17f60c2904b4be9eb5686110d6d72
.include "Makefile.snapshot"
OPTIONS_DEFINE= CLANG COMPILER_RT DOCS GOLD LIT LLD LLDB
OPTIONS_DEFINE= CLANG DOCS GOLD LIT LLD LLDB
OPTIONS_DEFINE_amd64= OPENMP
OPTIONS_DEFAULT= CLANG GOLD LIT LLD LLDB
OPTIONS_DEFAULT_amd64= COMPILER_RT OPENMP
OPTIONS_DEFAULT_i386= COMPILER_RT
OPTIONS_DEFAULT_amd64= OPENMP
OPTIONS_SUB= yes
CLANG_DESC= Build clang
CLANG_EXTRA_PATCHES= ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt
CLANG_EXTRA_PATCHES= \
${PATCHDIR}/clang-patch-fformat_extensions.diff \
${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt
CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]*
CLANG_GH_PROJECT= clang:clang
CLANG_GH_TAGNAME= ${CLANG_COMMIT}:clang
CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp
CLANG_PORTDOCS= clang
COMPILER_RT_DESC= Build compiler-rt (sanitizers)
COMPILER_RT_GH_PROJECT= compiler-rt:compiler_rt
COMPILER_RT_GH_TAGNAME= ${COMPILER_RT_COMMIT}:compiler_rt
DOCS_PORTDOCS= llvm
DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
......@@ -100,6 +93,7 @@ COMMANDS= bugpoint \
llvm-readobj \
llvm-rtdyld \
llvm-size \
llvm-split \
llvm-stress \
llvm-symbolizer \
llvm-tblgen \
......@@ -123,49 +117,6 @@ COMMANDS+= clang \
MAN1SRCS+= clang.1
.endif
.if ${PORT_OPTIONS:MCOMPILER_RT}
SAN_LIBDIR=${LLVM_PREFIX}/lib/clang/${LLVM_RELEASE}/lib/freebsd
.if ${ARCH} == "amd64"
# Disable i386 variants on amd64.
EXTRA_PATCHES+= \
${PATCHDIR}/compiler-rt-patch-tools_compiler-rt_cmake_config-ix.cmake
PLIST_FILES+= \
${SAN_LIBDIR}/libclang_rt.asan-preinit-x86_64.a \
${SAN_LIBDIR}/libclang_rt.asan-x86_64.a \
${SAN_LIBDIR}/libclang_rt.asan-x86_64.a.syms \
${SAN_LIBDIR}/libclang_rt.asan-x86_64.so \
${SAN_LIBDIR}/libclang_rt.asan_cxx-x86_64.a \
${SAN_LIBDIR}/libclang_rt.asan_cxx-x86_64.a.syms \
${SAN_LIBDIR}/libclang_rt.builtins-x86_64.a \
${SAN_LIBDIR}/libclang_rt.dd-x86_64.a \
${SAN_LIBDIR}/libclang_rt.dyndd-x86_64.so \
${SAN_LIBDIR}/libclang_rt.lsan-x86_64.a \
${SAN_LIBDIR}/libclang_rt.profile-x86_64.a \
${SAN_LIBDIR}/libclang_rt.safestack-x86_64.a \
${SAN_LIBDIR}/libclang_rt.tsan-x86_64.a \
${SAN_LIBDIR}/libclang_rt.tsan-x86_64.a.syms \
${SAN_LIBDIR}/libclang_rt.tsan_cxx-x86_64.a \
${SAN_LIBDIR}/libclang_rt.tsan_cxx-x86_64.a.syms \
${SAN_LIBDIR}/libclang_rt.ubsan_standalone-x86_64.a \
${SAN_LIBDIR}/libclang_rt.ubsan_standalone-x86_64.a.syms \
${SAN_LIBDIR}/libclang_rt.ubsan_standalone_cxx-x86_64.a \
${SAN_LIBDIR}/libclang_rt.ubsan_standalone_cxx-x86_64.a.syms
.elif ${ARCH} == "i386"
PLIST_FILES+= \
${SAN_LIBDIR}/libclang_rt.asan-i386.a \
${SAN_LIBDIR}/libclang_rt.asan-i386.so \
${SAN_LIBDIR}/libclang_rt.asan-preinit-i386.a \
${SAN_LIBDIR}/libclang_rt.asan_cxx-i386.a \
${SAN_LIBDIR}/libclang_rt.builtins-i386.a \
${SAN_LIBDIR}/libclang_rt.profile-i386.a \
${SAN_LIBDIR}/libclang_rt.safestack-i386.a \
${SAN_LIBDIR}/libclang_rt.ubsan_standalone-i386.a \
${SAN_LIBDIR}/libclang_rt.ubsan_standalone_cxx-i386.a
.else
BROKEN= no packaging data for sanitizers on ${ARCH}. Disable COMPILER_RT.
.endif
.endif
.if ${PORT_OPTIONS:MLIT}
MAN1SRCS+= lit.1 FileCheck.1
_USES_PYTHON= python
......@@ -214,9 +165,6 @@ PLIST_SUB:= ${PLIST_SUB:NLLDB=*} LLDB="@comment "
post-extract-CLANG-on:
${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang
post-extract-COMPILER_RT-on:
${MV} ${WRKSRC_compiler_rt} ${PATCH_WRKSRC}/tools/compiler-rt
post-extract-LLD-on:
${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld
......@@ -300,7 +248,7 @@ build-plist:
${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp
.endfor
${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \
${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \
${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \
${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \
-e 's|${PORTVERSION}|%%PORTVERSION%%|' \
-e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' | \
......@@ -308,7 +256,14 @@ build-plist:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \
${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' | \
${SORT} >> ${PLIST}.tmp
awk '{if ($$0 ~ /clang/ && $$0 !~ /(omp.h|libclang_rt|sanitizer|blacklist.txt)/) {printf "%%%%CLANG%%%%"} if ($$0 ~ /(libclang_rt|sanitizer|blacklist.txt)/) {printf "%%%%COMPILER_RT%%%%"} if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} if ($$0 ~ /(argdumper|lldb)/) {printf "%%%%LLDB%%%%"} if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST}
awk '{ \
if ($$0 ~ /clang/ && $$0 !~ /omp.h/) {printf "%%%%CLANG%%%%"} \
if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \
if ($$0 ~ /(argdumper|lldb)/) {printf "%%%%LLDB%%%%"} \
if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \
if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \
if ($$0 !~ /libclang_rt/) {print} \
}' ${PLIST}.tmp >> ${PLIST}
${RM} -f ${PLIST}.tmp
check-commands:
......
# $FreeBSD$
#
# Ideally this would be generate by a script using the github API, but
# for now it's hand crafted.
#
LLVM_MAJOR= 3.8
LLVM_RELEASE= ${LLVM_MAJOR}.0
SNAPDATE= 20151021
LLVM_COMMIT= 828759786da156e0a2a34f9ded54c6d976cf3087
CLANG_COMMIT= f3569d26d4619d558562263a3da454bd3ee52baf
COMPILER_RT_COMMIT= d6184a3b9865249280fdf03830f4b907855ea842
EXTRAS_COMMIT= d8975af281fe6ab4e7b6d1ba1adaaa2e750967d8
LLD_COMMIT= c5112318028c3841fa5a496af289ed8c479be2d4
LLDB_COMMIT= c5beb2622d808beb9710d29d067478d5b2eca5f0
OPENMP_COMMIT= dfa603c6ec26638b8e1bd675a7a5b8fe1444da27
SHA256 (llvm-mirror-llvm-3.8.d20150818-27aa81cf903ceab79619111243e0e228e46c6747_GH0.tar.gz) = bdd01102ffa883ff9c807823c5c2fb4b8c0de72b6c2491e38b3bf768372f4fdb
SIZE (llvm-mirror-llvm-3.8.d20150818-27aa81cf903ceab79619111243e0e228e46c6747_GH0.tar.gz) = 21572517
SHA256 (llvm-mirror-clang-f27472a5facd07e48e9cd6d1f8d1d793f866b05f_GH0.tar.gz) = 4338e8ab222a57a18b93d642bc6c02320daab952615451552f335104e22ce922
SIZE (llvm-mirror-clang-f27472a5facd07e48e9cd6d1f8d1d793f866b05f_GH0.tar.gz) = 12554199
SHA256 (llvm-mirror-compiler-rt-5708a2383ea388510464a12c9c708b224d492e74_GH0.tar.gz) = 64135c97f800ea92bd7474cbff881debb17dc62eb7b36a82e444e78e592a898a
SIZE (llvm-mirror-compiler-rt-5708a2383ea388510464a12c9c708b224d492e74_GH0.tar.gz) = 2137689
SHA256 (llvm-mirror-lld-d8afe0be205f34c2576df36ee71d9ffadbdace22_GH0.tar.gz) = 4d85ce29aff1ff9818e05a570be0ca112e763733d8c188f5534e26b446e91cf8
SIZE (llvm-mirror-lld-d8afe0be205f34c2576df36ee71d9ffadbdace22_GH0.tar.gz) = 726994
SHA256 (llvm-mirror-lldb-7da1acdcab24b6fbcd3aa6c5e28b30e0226f2a96_GH0.tar.gz) = 9f9625a3c5d5203994c5a45c419247453b306e8740fc86111028b0a65057cf0f
SIZE (llvm-mirror-lldb-7da1acdcab24b6fbcd3aa6c5e28b30e0226f2a96_GH0.tar.gz) = 13204259
SHA256 (llvm-mirror-openmp-fc660a2d58e17f60c2904b4be9eb5686110d6d72_GH0.tar.gz) = 3388d01fcf9960acf2e13738b5cca6051a4259ed70f67dc43b967c82edf2571c
SIZE (llvm-mirror-openmp-fc660a2d58e17f60c2904b4be9eb5686110d6d72_GH0.tar.gz) = 2815926
SHA256 (llvm-mirror-llvm-3.8.d20151021-828759786da156e0a2a34f9ded54c6d976cf3087_GH0.tar.gz) = a612ce51dbd7a6d8d7342438a0b649f4c29ed5b5bfa0247937f07975876d9010
SIZE (llvm-mirror-llvm-3.8.d20151021-828759786da156e0a2a34f9ded54c6d976cf3087_GH0.tar.gz) = 22278201
SHA256 (llvm-mirror-clang-f3569d26d4619d558562263a3da454bd3ee52baf_GH0.tar.gz) = 5fdcb56f1c47cefb37b230707302916f15d7cc214d01a64cff08d3c2e2c8be95
SIZE (llvm-mirror-clang-f3569d26d4619d558562263a3da454bd3ee52baf_GH0.tar.gz) = 12829328
SHA256 (llvm-mirror-lld-c5112318028c3841fa5a496af289ed8c479be2d4_GH0.tar.gz) = a3062668d5a98a83807987a51129d8d0694c189b2cc334a707d2d82188250dfa
SIZE (llvm-mirror-lld-c5112318028c3841fa5a496af289ed8c479be2d4_GH0.tar.gz) = 794617
SHA256 (llvm-mirror-lldb-c5beb2622d808beb9710d29d067478d5b2eca5f0_GH0.tar.gz) = 9cfedd5334d4f220eea192cacff1abf098b98693f87690e8cc8bca268a257224
SIZE (llvm-mirror-lldb-c5beb2622d808beb9710d29d067478d5b2eca5f0_GH0.tar.gz) = 13406054
SHA256 (llvm-mirror-openmp-dfa603c6ec26638b8e1bd675a7a5b8fe1444da27_GH0.tar.gz) = ba8972237ba6961c75f10246135c541f5ff3524076727358e3958598a993388e
SIZE (llvm-mirror-openmp-dfa603c6ec26638b8e1bd675a7a5b8fe1444da27_GH0.tar.gz) = 2783129
diff -ruN tools/clang/include/clang/Basic/LangOptions.def tools/clang/include/clang/Basic/LangOptions.def
--- tools/clang/include/clang/Basic/LangOptions.def 2015-08-18 08:10:39 UTC
+++ tools/clang/include/clang/Basic/LangOptions.def
@@ -114,6 +114,7 @@
LANGOPT(RTTIData , 1, 1, "emit run-time type information data")
LANGOPT(MSBitfields , 1, 0, "Microsoft-compatible structure layout")
LANGOPT(Freestanding, 1, 0, "freestanding implementation")
+LANGOPT(FormatExtensions , 1, 0, "FreeBSD format extensions")
LANGOPT(NoBuiltin , 1, 0, "disable builtin functions")
LANGOPT(NoMathBuiltin , 1, 0, "disable math builtin functions")
LANGOPT(GNUAsm , 1, 1, "GNU-style inline assembly")
diff -ruN tools/clang/include/clang/Driver/Options.td tools/clang/include/clang/Driver/Options.td
--- tools/clang/include/clang/Driver/Options.td 2015-08-18 08:10:39 UTC
+++ tools/clang/include/clang/Driver/Options.td
@@ -660,6 +660,8 @@
def ffreestanding : Flag<["-"], "ffreestanding">, Group<f_Group>, Flags<[CC1Option]>,
HelpText<"Assert that the compilation takes place in a freestanding environment">;
+def fformat_extensions: Flag<["-"], "fformat-extensions">, Group<f_Group>, Flags<[CC1Option]>,
+ HelpText<"Enable FreeBSD kernel specific format string extensions">;
def fgnu_keywords : Flag<["-"], "fgnu-keywords">, Group<f_Group>, Flags<[CC1Option]>,
HelpText<"Allow GNU-extension keywords regardless of language standard">;
def fgnu89_inline : Flag<["-"], "fgnu89-inline">, Group<f_Group>, Flags<[CC1Option]>,
diff -ruN tools/clang/lib/Driver/Tools.cpp tools/clang/lib/Driver/Tools.cpp
--- tools/clang/lib/Driver/Tools.cpp 2015-08-18 08:10:39 UTC
+++ tools/clang/lib/Driver/Tools.cpp
@@ -4072,6 +4072,7 @@
// Forward -f (flag) options which we can pass directly.
Args.AddLastArg(CmdArgs, options::OPT_femit_all_decls);
+ Args.AddLastArg(CmdArgs, options::OPT_fformat_extensions);
Args.AddLastArg(CmdArgs, options::OPT_fheinous_gnu_extensions);
Args.AddLastArg(CmdArgs, options::OPT_fstandalone_debug);
Args.AddLastArg(CmdArgs, options::OPT_fno_standalone_debug);
diff -ruN tools/clang/lib/Frontend/CompilerInvocation.cpp tools/clang/lib/Frontend/CompilerInvocation.cpp
--- tools/clang/lib/Frontend/CompilerInvocation.cpp 2015-08-18 08:10:39 UTC
+++ tools/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1559,6 +1559,7 @@
Opts.ShortWChar = Args.hasFlag(OPT_fshort_wchar, OPT_fno_short_wchar, false);
Opts.ShortEnums = Args.hasArg(OPT_fshort_enums);
Opts.Freestanding = Args.hasArg(OPT_ffreestanding);
+ Opts.FormatExtensions = Args.hasArg(OPT_fformat_extensions);
Opts.NoBuiltin = Args.hasArg(OPT_fno_builtin) || Opts.Freestanding;
Opts.NoMathBuiltin = Args.hasArg(OPT_fno_math_builtin);
Opts.AssumeSaneOperatorNew = !Args.hasArg(OPT_fno_assume_sane_operator_new);
--- utils/llvm-build/llvmbuild/main.py.orig 2015-07-20 23:51:12 UTC
--- utils/llvm-build/llvmbuild/main.py.orig 2015-10-02 16:42:59 UTC
+++ utils/llvm-build/llvmbuild/main.py
@@ -718,7 +718,17 @@ def add_magic_target_components(parser,
@@ -747,7 +747,17 @@ def add_magic_target_components(parser,
# We handle a few special cases of target names here for historical
# reasons, as these are the names configure currently comes up with.
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment