Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk

r238337.
This commit is contained in:
Dimitry Andric 2015-05-30 15:39:49 +00:00
parent 021049273c
commit ebeff3f9b4
66 changed files with 803 additions and 236 deletions

View File

@ -38,6 +38,67 @@
# xargs -n1 | sort | uniq -d; # xargs -n1 | sort | uniq -d;
# done # done
# 20150529: new clang import which bumps version from 3.6.1 to 3.7.0.
OLD_FILES+=usr/lib/clang/3.6.1/include/__stddef_max_align_t.h
OLD_FILES+=usr/lib/clang/3.6.1/include/__wmmintrin_aes.h
OLD_FILES+=usr/lib/clang/3.6.1/include/__wmmintrin_pclmul.h
OLD_FILES+=usr/lib/clang/3.6.1/include/adxintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/altivec.h
OLD_FILES+=usr/lib/clang/3.6.1/include/ammintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/arm_acle.h
OLD_FILES+=usr/lib/clang/3.6.1/include/arm_neon.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx2intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512bwintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512erintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512fintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512vlbwintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512vlintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avxintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/bmi2intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/bmiintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/cpuid.h
OLD_FILES+=usr/lib/clang/3.6.1/include/emmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/f16cintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/fma4intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/fmaintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/ia32intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/immintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/lzcntintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/mm3dnow.h
OLD_FILES+=usr/lib/clang/3.6.1/include/mm_malloc.h
OLD_FILES+=usr/lib/clang/3.6.1/include/mmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/module.modulemap
OLD_FILES+=usr/lib/clang/3.6.1/include/nmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/pmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/popcntintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/prfchwintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/rdseedintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/rtmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/shaintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/smmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/tbmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/tmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/wmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/x86intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/xmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/xopintrin.h
OLD_DIRS+=usr/lib/clang/3.6.1/include
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.asan-i386.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.asan-x86_64.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.asan_cxx-i386.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.asan_cxx-x86_64.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.profile-arm.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.profile-i386.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.profile-x86_64.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.san-i386.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.san-x86_64.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.ubsan-i386.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.ubsan-x86_64.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.ubsan_cxx-i386.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.ubsan_cxx-x86_64.a
OLD_DIRS+=usr/lib/clang/3.6.1/lib/freebsd
OLD_DIRS+=usr/lib/clang/3.6.1/lib
OLD_DIRS+=usr/lib/clang/3.6.1
# 20150525: new clang import which bumps version from 3.6.0 to 3.6.1. # 20150525: new clang import which bumps version from 3.6.0 to 3.6.1.
OLD_FILES+=usr/lib/clang/3.6.0/include/__stddef_max_align_t.h OLD_FILES+=usr/lib/clang/3.6.0/include/__stddef_max_align_t.h
OLD_FILES+=usr/lib/clang/3.6.0/include/__wmmintrin_aes.h OLD_FILES+=usr/lib/clang/3.6.0/include/__wmmintrin_aes.h

View File

@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW:
disable the most expensive debugging functionality run disable the most expensive debugging functionality run
"ln -s 'abort:false,junk:false' /etc/malloc.conf".) "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
2015mmdd:
Clang and llvm have been upgraded to 3.7.0. Please see the
20141231 entry below for information about prerequisites and upgrading,
if you are not already using 3.5.0 or higher.
20150525: 20150525:
Clang and llvm have been upgraded to 3.6.1 release. Please see the Clang and llvm have been upgraded to 3.6.1 release. Please see the
20141231 entry below for information about prerequisites and upgrading, 20141231 entry below for information about prerequisites and upgrading,

View File

@ -23,7 +23,7 @@
.. ..
lib lib
clang clang
3.6.1 3.7.0
lib lib
freebsd freebsd
.. ..

View File

@ -19,7 +19,7 @@
aout aout
.. ..
clang clang
3.6.1 3.7.0
include include
.. ..
lib lib

View File

@ -97,7 +97,11 @@ SUBDIR= libclanganalysis \
libllvmx86utils libllvmx86utils
.if ${MK_CLANG_EXTRAS} != "no" .if ${MK_CLANG_EXTRAS} != "no"
SUBDIR+=libllvmdebuginfo SUBDIR+=libllvmdebuginfodwarf \
libllvmdebuginfopdb \
libllvmlto \
libllvmorcjit \
libllvmpasses
.endif # MK_CLANG_EXTRAS .endif # MK_CLANG_EXTRAS
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no" .if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
SUBDIR+=libllvmexecutionengine \ SUBDIR+=libllvmexecutionengine \

View File

@ -8,9 +8,10 @@ LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm
.PATH: ${LLVM_SRCS}/tools/clang/lib/Headers .PATH: ${LLVM_SRCS}/tools/clang/lib/Headers
INCSDIR=${LIBDIR}/clang/3.6.1/include INCSDIR=${LIBDIR}/clang/3.7.0/include
INCS= __stddef_max_align_t.h \ INCS= Intrin.h \
__stddef_max_align_t.h \
__wmmintrin_aes.h \ __wmmintrin_aes.h \
__wmmintrin_pclmul.h \ __wmmintrin_pclmul.h \
adxintrin.h \ adxintrin.h \
@ -19,18 +20,23 @@ INCS= __stddef_max_align_t.h \
arm_acle.h \ arm_acle.h \
avx2intrin.h \ avx2intrin.h \
avx512bwintrin.h \ avx512bwintrin.h \
avx512dqintrin.h \
avx512erintrin.h \ avx512erintrin.h \
avx512fintrin.h \ avx512fintrin.h \
avx512vlbwintrin.h \ avx512vlbwintrin.h \
avx512vldqintrin.h \
avx512vlintrin.h \ avx512vlintrin.h \
avxintrin.h \ avxintrin.h \
bmi2intrin.h \ bmi2intrin.h \
bmiintrin.h \ bmiintrin.h \
cpuid.h \ cpuid.h \
cuda_builtin_vars.h \
emmintrin.h \ emmintrin.h \
f16cintrin.h \ f16cintrin.h \
fma4intrin.h \ fma4intrin.h \
fmaintrin.h \ fmaintrin.h \
htmintrin.h \
htmxlintrin.h \
ia32intrin.h \ ia32intrin.h \
immintrin.h \ immintrin.h \
lzcntintrin.h \ lzcntintrin.h \
@ -44,10 +50,12 @@ INCS= __stddef_max_align_t.h \
prfchwintrin.h \ prfchwintrin.h \
rdseedintrin.h \ rdseedintrin.h \
rtmintrin.h \ rtmintrin.h \
s390intrin.h \
shaintrin.h \ shaintrin.h \
smmintrin.h \ smmintrin.h \
tbmintrin.h \ tbmintrin.h \
tmmintrin.h \ tmmintrin.h \
vadefs.h \
wmmintrin.h \ wmmintrin.h \
x86intrin.h \ x86intrin.h \
xmmintrin.h \ xmmintrin.h \

View File

@ -1,11 +1,11 @@
/* $FreeBSD$ */ /* $FreeBSD$ */
#define CLANG_VERSION 3.6.1 #define CLANG_VERSION 3.7.0
#define CLANG_VERSION_MAJOR 3 #define CLANG_VERSION_MAJOR 3
#define CLANG_VERSION_MINOR 6 #define CLANG_VERSION_MINOR 7
#define CLANG_VERSION_PATCHLEVEL 1 #define CLANG_VERSION_PATCHLEVEL 0
#define CLANG_VENDOR "FreeBSD " #define CLANG_VENDOR "FreeBSD "
#define CLANG_VENDOR_SUFFIX " 20150525" #define CLANG_VENDOR_SUFFIX " 20150530"
#define SVN_REVISION "237755" #define SVN_REVISION "238337"

View File

@ -28,7 +28,7 @@
/* Define if we have libxml2 */ /* Define if we have libxml2 */
/* #undef CLANG_HAVE_LIBXML */ /* #undef CLANG_HAVE_LIBXML */
#define PACKAGE_STRING "LLVM 3.6.1" #define PACKAGE_STRING "LLVM 3.7.0svn"
/* The LLVM product name and version */ /* The LLVM product name and version */
#define BACKEND_PACKAGE_STRING PACKAGE_STRING #define BACKEND_PACKAGE_STRING PACKAGE_STRING

View File

@ -44,9 +44,6 @@
/* Define to 1 if you have the `backtrace' function. */ /* Define to 1 if you have the `backtrace' function. */
/* #undef HAVE_BACKTRACE */ /* #undef HAVE_BACKTRACE */
/* Define to 1 if you have the `ceilf' function. */
#define HAVE_CEILF 1
/* Define to 1 if you have the <CrashReporterClient.h> header file. */ /* Define to 1 if you have the <CrashReporterClient.h> header file. */
/* #undef HAVE_CRASHREPORTERCLIENT_H */ /* #undef HAVE_CRASHREPORTERCLIENT_H */
@ -93,12 +90,6 @@
#define HAVE_EXECINFO_H 1 #define HAVE_EXECINFO_H 1
#endif #endif
/* Define to 1 if you have the `exp' function. */
#define HAVE_EXP 1
/* Define to 1 if you have the `exp2' function. */
#define HAVE_EXP2 1
/* Define to 1 if you have the <fcntl.h> header file. */ /* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1 #define HAVE_FCNTL_H 1
@ -114,15 +105,6 @@
/* Define to 1 if you have the <ffi.h> header file. */ /* Define to 1 if you have the <ffi.h> header file. */
/* #undef HAVE_FFI_H */ /* #undef HAVE_FFI_H */
/* Set to 1 if the finite function is found in <ieeefp.h> */
/* #undef HAVE_FINITE_IN_IEEEFP_H */
/* Define to 1 if you have the `floorf' function. */
#define HAVE_FLOORF 1
/* Define to 1 if you have the `fmodf' function. */
#define HAVE_FMODF 1
/* Define to 1 if you have the `futimens' function. */ /* Define to 1 if you have the `futimens' function. */
#if __FreeBSD_version >= 1100056 #if __FreeBSD_version >= 1100056
#define HAVE_FUTIMENS 1 #define HAVE_FUTIMENS 1
@ -155,18 +137,6 @@
/* Define to 1 if you have the `isatty' function. */ /* Define to 1 if you have the `isatty' function. */
#define HAVE_ISATTY 1 #define HAVE_ISATTY 1
/* Set to 1 if the isinf function is found in <cmath> */
#define HAVE_ISINF_IN_CMATH 1
/* Set to 1 if the isinf function is found in <math.h> */
#define HAVE_ISINF_IN_MATH_H 1
/* Set to 1 if the isnan function is found in <cmath> */
#define HAVE_ISNAN_IN_CMATH 1
/* Set to 1 if the isnan function is found in <math.h> */
#define HAVE_ISNAN_IN_MATH_H 1
/* Define if libedit is available on this platform. */ /* Define if libedit is available on this platform. */
#define HAVE_LIBEDIT 1 #define HAVE_LIBEDIT 1
@ -198,17 +168,6 @@
the current directory to the dynamic linker search path. */ the current directory to the dynamic linker search path. */
#define HAVE_LINK_R 1 #define HAVE_LINK_R 1
/* Define to 1 if you have the `log' function. */
#define HAVE_LOG 1
/* Define to 1 if you have the `log10' function. */
#define HAVE_LOG10 1
/* Define to 1 if you have the `log2' function. */
#if __FreeBSD_version >= 900027 || (__FreeBSD_version < 900000 && __FreeBSD_version >= 802502)
#define HAVE_LOG2 1
#endif
/* Define to 1 if you have the `longjmp' function. */ /* Define to 1 if you have the `longjmp' function. */
#define HAVE_LONGJMP 1 #define HAVE_LONGJMP 1
@ -252,15 +211,9 @@
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */ /* #undef HAVE_NDIR_H */
/* Define to 1 if you have the `nearbyintf' function. */
#define HAVE_NEARBYINTF 1
/* Define to 1 if you have the `posix_spawn' function. */ /* Define to 1 if you have the `posix_spawn' function. */
/* #undef HAVE_POSIX_SPAWN */ /* #undef HAVE_POSIX_SPAWN */
/* Define to 1 if you have the `powf' function. */
#define HAVE_POWF 1
/* Define to 1 if you have the `pread' function. */ /* Define to 1 if you have the `pread' function. */
#define HAVE_PREAD 1 #define HAVE_PREAD 1
@ -285,15 +238,6 @@
/* Define to 1 if you have the `realpath' function. */ /* Define to 1 if you have the `realpath' function. */
#define HAVE_REALPATH 1 #define HAVE_REALPATH 1
/* Define to 1 if you have the `rintf' function. */
#define HAVE_RINTF 1
/* Define to 1 if you have the `round' function. */
#define HAVE_ROUND 1
/* Define to 1 if you have the `roundf' function. */
#define HAVE_ROUNDF 1
/* Define to 1 if you have the `sbrk' function. */ /* Define to 1 if you have the `sbrk' function. */
#define HAVE_SBRK 1 #define HAVE_SBRK 1
@ -324,12 +268,6 @@
/* Define to 1 if you have the <stdlib.h> header file. */ /* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1 #define HAVE_STDLIB_H 1
/* Set to 1 if the std::isinf function is found in <cmath> */
#define HAVE_STD_ISINF_IN_CMATH 1
/* Set to 1 if the std::isnan function is found in <cmath> */
#define HAVE_STD_ISNAN_IN_CMATH 1
/* Define to 1 if you have the `strerror' function. */ /* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1 #define HAVE_STRERROR 1
@ -342,9 +280,6 @@
/* Define to 1 if you have the <string.h> header file. */ /* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1 #define HAVE_STRING_H 1
/* Define to 1 if you have the `strtof' function. */
#define HAVE_STRTOF 1
/* Define to 1 if you have the `strtoll' function. */ /* Define to 1 if you have the `strtoll' function. */
#define HAVE_STRTOLL 1 #define HAVE_STRTOLL 1
@ -470,6 +405,9 @@
/* Have host's ___chkstk */ /* Have host's ___chkstk */
/* #undef HAVE____CHKSTK */ /* #undef HAVE____CHKSTK */
/* Have host's ___chkstk_ms */
/* #undef HAVE____CHKSTK_MS */
/* Linker version detected at compile time. */ /* Linker version detected at compile time. */
/* #undef HOST_LINK_VERSION */ /* #undef HOST_LINK_VERSION */
@ -488,6 +426,9 @@
/* Installation directory for documentation */ /* Installation directory for documentation */
/* #undef LLVM_DOCSDIR */ /* #undef LLVM_DOCSDIR */
/* Define to enable checks that alter the LLVM C++ ABI */
#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1
/* Define if threads enabled */ /* Define if threads enabled */
#define LLVM_ENABLE_THREADS 0 #define LLVM_ENABLE_THREADS 0
@ -555,13 +496,13 @@
#define LLVM_VERSION_MAJOR 3 #define LLVM_VERSION_MAJOR 3
/* Minor version of the LLVM API */ /* Minor version of the LLVM API */
#define LLVM_VERSION_MINOR 6 #define LLVM_VERSION_MINOR 7
/* Patch version of the LLVM API */ /* Patch version of the LLVM API */
#define LLVM_VERSION_PATCH 1 #define LLVM_VERSION_PATCH 0
/* LLVM version string */ /* LLVM version string */
#define LLVM_VERSION_STRING "3.6.1" #define LLVM_VERSION_STRING "3.7.0svn"
/* The shared library extension */ /* The shared library extension */
#define LTDL_SHLIB_EXT ".so" #define LTDL_SHLIB_EXT ".so"
@ -577,13 +518,13 @@
#define PACKAGE_NAME "LLVM" #define PACKAGE_NAME "LLVM"
/* Define to the full name and version of this package. */ /* Define to the full name and version of this package. */
#define PACKAGE_STRING "LLVM 3.6.1" #define PACKAGE_STRING "LLVM 3.7.0svn"
/* Define to the one symbol short name of this package. */ /* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "llvm" #define PACKAGE_TARNAME "llvm"
/* Define to the version of this package. */ /* Define to the version of this package. */
#define PACKAGE_VERSION "3.6.1" #define PACKAGE_VERSION "3.7.0svn"
/* Define as the return type of signal handlers (`int' or `void'). */ /* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void #define RETSIGTYPE void

View File

@ -92,12 +92,15 @@
#define LLVM_VERSION_MAJOR 3 #define LLVM_VERSION_MAJOR 3
/* Minor version of the LLVM API */ /* Minor version of the LLVM API */
#define LLVM_VERSION_MINOR 6 #define LLVM_VERSION_MINOR 7
/* Patch version of the LLVM API */ /* Patch version of the LLVM API */
#define LLVM_VERSION_PATCH 1 #define LLVM_VERSION_PATCH 0
/* LLVM version string */ /* LLVM version string */
#define LLVM_VERSION_STRING "3.6.1" #define LLVM_VERSION_STRING "3.7.0svn"
/* Define to enable checks that alter the LLVM C++ ABI */
#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1
#endif #endif

View File

@ -26,24 +26,26 @@ SRCS= AliasAnalysis.cpp \
CostModel.cpp \ CostModel.cpp \
Delinearization.cpp \ Delinearization.cpp \
DependenceAnalysis.cpp \ DependenceAnalysis.cpp \
DivergenceAnalysis.cpp \
DomPrinter.cpp \ DomPrinter.cpp \
DominanceFrontier.cpp \ DominanceFrontier.cpp \
FunctionTargetTransformInfo.cpp \
IVUsers.cpp \ IVUsers.cpp \
InstCount.cpp \ InstCount.cpp \
InstructionSimplify.cpp \ InstructionSimplify.cpp \
Interval.cpp \ Interval.cpp \
IntervalPartition.cpp \ IntervalPartition.cpp \
JumpInstrTableInfo.cpp \ IteratedDominanceFrontier.cpp \
LazyCallGraph.cpp \ LazyCallGraph.cpp \
LazyValueInfo.cpp \ LazyValueInfo.cpp \
LibCallAliasAnalysis.cpp \ LibCallAliasAnalysis.cpp \
LibCallSemantics.cpp \ LibCallSemantics.cpp \
Lint.cpp \ Lint.cpp \
Loads.cpp \ Loads.cpp \
LoopAccessAnalysis.cpp \
LoopInfo.cpp \ LoopInfo.cpp \
LoopPass.cpp \ LoopPass.cpp \
MemDepPrinter.cpp \ MemDepPrinter.cpp \
MemDerefPrinter.cpp \
MemoryBuiltins.cpp \ MemoryBuiltins.cpp \
MemoryDependenceAnalysis.cpp \ MemoryDependenceAnalysis.cpp \
ModuleDebugInfoPrinter.cpp \ ModuleDebugInfoPrinter.cpp \
@ -60,6 +62,7 @@ SRCS= AliasAnalysis.cpp \
ScalarEvolutionNormalization.cpp \ ScalarEvolutionNormalization.cpp \
ScopedNoAliasAA.cpp \ ScopedNoAliasAA.cpp \
SparsePropagation.cpp \ SparsePropagation.cpp \
TargetLibraryInfo.cpp \
TargetTransformInfo.cpp \ TargetTransformInfo.cpp \
Trace.cpp \ Trace.cpp \
TypeBasedAliasAnalysis.cpp \ TypeBasedAliasAnalysis.cpp \

View File

@ -21,8 +21,8 @@ SRCS= A15SDOptimizer.cpp \
ARMLoadStoreOptimizer.cpp \ ARMLoadStoreOptimizer.cpp \
ARMMCInstLower.cpp \ ARMMCInstLower.cpp \
ARMMachineFunctionInfo.cpp \ ARMMachineFunctionInfo.cpp \
ARMRegisterInfo.cpp \
ARMOptimizeBarriersPass.cpp \ ARMOptimizeBarriersPass.cpp \
ARMRegisterInfo.cpp \
ARMSelectionDAGInfo.cpp \ ARMSelectionDAGInfo.cpp \
ARMSubtarget.cpp \ ARMSubtarget.cpp \
ARMTargetMachine.cpp \ ARMTargetMachine.cpp \
@ -31,11 +31,10 @@ SRCS= A15SDOptimizer.cpp \
MLxExpansionPass.cpp \ MLxExpansionPass.cpp \
Thumb1FrameLowering.cpp \ Thumb1FrameLowering.cpp \
Thumb1InstrInfo.cpp \ Thumb1InstrInfo.cpp \
Thumb1RegisterInfo.cpp \
Thumb2ITBlockPass.cpp \ Thumb2ITBlockPass.cpp \
Thumb2InstrInfo.cpp \ Thumb2InstrInfo.cpp \
Thumb2RegisterInfo.cpp \ Thumb2SizeReduction.cpp \
Thumb2SizeReduction.cpp ThumbRegisterInfo.cpp
TGHDRS= ARMGenAsmWriter \ TGHDRS= ARMGenAsmWriter \
ARMGenCallingConv \ ARMGenCallingConv \

View File

@ -15,6 +15,7 @@ SRCS= AggressiveAntiDepBreaker.cpp \
CallingConvLower.cpp \ CallingConvLower.cpp \
CodeGen.cpp \ CodeGen.cpp \
CodeGenPrepare.cpp \ CodeGenPrepare.cpp \
CoreCLRGC.cpp \
CriticalAntiDepBreaker.cpp \ CriticalAntiDepBreaker.cpp \
DFAPacketizer.cpp \ DFAPacketizer.cpp \
DeadMachineInstructionElim.cpp \ DeadMachineInstructionElim.cpp \
@ -25,16 +26,15 @@ SRCS= AggressiveAntiDepBreaker.cpp \
ExecutionDepsFix.cpp \ ExecutionDepsFix.cpp \
ExpandISelPseudos.cpp \ ExpandISelPseudos.cpp \
ExpandPostRAPseudos.cpp \ ExpandPostRAPseudos.cpp \
ForwardControlFlowIntegrity.cpp \
GCMetadata.cpp \ GCMetadata.cpp \
GCMetadataPrinter.cpp \ GCMetadataPrinter.cpp \
GCRootLowering.cpp \
GCStrategy.cpp \ GCStrategy.cpp \
GlobalMerge.cpp \ GlobalMerge.cpp \
IfConversion.cpp \ IfConversion.cpp \
InlineSpiller.cpp \ InlineSpiller.cpp \
InterferenceCache.cpp \ InterferenceCache.cpp \
IntrinsicLowering.cpp \ IntrinsicLowering.cpp \
JumpInstrTables.cpp \
LLVMTargetMachine.cpp \ LLVMTargetMachine.cpp \
LatencyPriorityQueue.cpp \ LatencyPriorityQueue.cpp \
LexicalScopes.cpp \ LexicalScopes.cpp \
@ -101,6 +101,8 @@ SRCS= AggressiveAntiDepBreaker.cpp \
ScheduleDAGPrinter.cpp \ ScheduleDAGPrinter.cpp \
ScoreboardHazardRecognizer.cpp \ ScoreboardHazardRecognizer.cpp \
ShadowStackGC.cpp \ ShadowStackGC.cpp \
ShadowStackGCLowering.cpp \
ShrinkWrap.cpp \
SjLjEHPrepare.cpp \ SjLjEHPrepare.cpp \
SlotIndexes.cpp \ SlotIndexes.cpp \
SpillPlacement.cpp \ SpillPlacement.cpp \
@ -121,7 +123,8 @@ SRCS= AggressiveAntiDepBreaker.cpp \
TargetSchedule.cpp \ TargetSchedule.cpp \
TwoAddressInstructionPass.cpp \ TwoAddressInstructionPass.cpp \
UnreachableBlockElim.cpp \ UnreachableBlockElim.cpp \
VirtRegMap.cpp VirtRegMap.cpp \
WinEHPrepare.cpp
TGHDRS= Intrinsics TGHDRS= Intrinsics

View File

@ -17,6 +17,7 @@ SRCS= AsmWriter.cpp \
DIBuilder.cpp \ DIBuilder.cpp \
DataLayout.cpp \ DataLayout.cpp \
DebugInfo.cpp \ DebugInfo.cpp \
DebugInfoMetadata.cpp \
DebugLoc.cpp \ DebugLoc.cpp \
DiagnosticInfo.cpp \ DiagnosticInfo.cpp \
DiagnosticPrinter.cpp \ DiagnosticPrinter.cpp \
@ -39,6 +40,7 @@ SRCS= AsmWriter.cpp \
Metadata.cpp \ Metadata.cpp \
MetadataTracking.cpp \ MetadataTracking.cpp \
Module.cpp \ Module.cpp \
Operator.cpp \
Pass.cpp \ Pass.cpp \
PassManager.cpp \ PassManager.cpp \
PassRegistry.cpp \ PassRegistry.cpp \
@ -46,7 +48,6 @@ SRCS= AsmWriter.cpp \
Type.cpp \ Type.cpp \
TypeFinder.cpp \ TypeFinder.cpp \
Use.cpp \ Use.cpp \
UseListOrder.cpp \
User.cpp \ User.cpp \
Value.cpp \ Value.cpp \
ValueSymbolTable.cpp \ ValueSymbolTable.cpp \

View File

@ -2,11 +2,11 @@
.include <src.opts.mk> .include <src.opts.mk>
LIB= llvmdebuginfo LIB= llvmdebuginfodwarf
SRCDIR= lib/DebugInfo SRCDIR= lib/DebugInfo/DWARF
SRCS= DIContext.cpp \ SRCS= DWARFAbbreviationDeclaration.cpp \
DWARFAbbreviationDeclaration.cpp \ DWARFAcceleratorTable.cpp \
DWARFCompileUnit.cpp \ DWARFCompileUnit.cpp \
DWARFContext.cpp \ DWARFContext.cpp \
DWARFDebugAbbrev.cpp \ DWARFDebugAbbrev.cpp \
@ -19,11 +19,7 @@ SRCS= DIContext.cpp \
DWARFDebugRangeList.cpp \ DWARFDebugRangeList.cpp \
DWARFFormValue.cpp \ DWARFFormValue.cpp \
DWARFTypeUnit.cpp \ DWARFTypeUnit.cpp \
DWARFUnit.cpp DWARFUnit.cpp \
.if ${MK_CLANG_EXTRAS} != "no"
SRCS+= DWARFAcceleratorTable.cpp \
SyntaxHighlighting.cpp SyntaxHighlighting.cpp
.endif
.include "../clang.lib.mk" .include "../clang.lib.mk"

View File

@ -0,0 +1,47 @@
# $FreeBSD$
.include <src.opts.mk>
LIB= llvmdebuginfopdb
SRCDIR= lib/DebugInfo/PDB
SRCS= IPDBSourceFile.cpp \
PDB.cpp \
PDBContext.cpp \
PDBExtras.cpp \
PDBInterfaceAnchors.cpp \
PDBSymDumper.cpp \
PDBSymbol.cpp \
PDBSymbolAnnotation.cpp \
PDBSymbolBlock.cpp \
PDBSymbolCompiland.cpp \
PDBSymbolCompilandDetails.cpp \
PDBSymbolCompilandEnv.cpp \
PDBSymbolCustom.cpp \
PDBSymbolData.cpp \
PDBSymbolExe.cpp \
PDBSymbolFunc.cpp \
PDBSymbolFuncDebugEnd.cpp \
PDBSymbolFuncDebugStart.cpp \
PDBSymbolLabel.cpp \
PDBSymbolPublicSymbol.cpp \
PDBSymbolThunk.cpp \
PDBSymbolTypeArray.cpp \
PDBSymbolTypeBaseClass.cpp \
PDBSymbolTypeBuiltin.cpp \
PDBSymbolTypeCustom.cpp \
PDBSymbolTypeDimension.cpp \
PDBSymbolTypeEnum.cpp \
PDBSymbolTypeFriend.cpp \
PDBSymbolTypeFunctionArg.cpp \
PDBSymbolTypeFunctionSig.cpp \
PDBSymbolTypeManaged.cpp \
PDBSymbolTypePointer.cpp \
PDBSymbolTypeTypedef.cpp \
PDBSymbolTypeUDT.cpp \
PDBSymbolTypeVTable.cpp \
PDBSymbolTypeVTableShape.cpp \
PDBSymbolUnknown.cpp \
PDBSymbolUsingNamespace.cpp
.include "../clang.lib.mk"

View File

@ -8,6 +8,7 @@ SRCDIR= lib/ExecutionEngine
SRCS= ExecutionEngine.cpp \ SRCS= ExecutionEngine.cpp \
ExecutionEngineBindings.cpp \ ExecutionEngineBindings.cpp \
GDBRegistrationListener.cpp \ GDBRegistrationListener.cpp \
SectionMemoryManager.cpp \
TargetSelect.cpp TargetSelect.cpp
.include "../clang.lib.mk" .include "../clang.lib.mk"

View File

@ -19,6 +19,7 @@ SRCS= ArgumentPromotion.cpp \
Inliner.cpp \ Inliner.cpp \
Internalize.cpp \ Internalize.cpp \
LoopExtractor.cpp \ LoopExtractor.cpp \
LowerBitSets.cpp \
MergeFunctions.cpp \ MergeFunctions.cpp \
PartialInlining.cpp \ PartialInlining.cpp \
PassManagerBuilder.cpp \ PassManagerBuilder.cpp \

View File

@ -0,0 +1,13 @@
# $FreeBSD$
.include <src.opts.mk>
LIB= llvmlto
SRCDIR= lib/LTO
SRCS= LTOCodeGenerator.cpp \
LTOModule.cpp
TGHDRS= Intrinsics
.include "../clang.lib.mk"

View File

@ -25,6 +25,7 @@ SRCS= ConstantPools.cpp \
MCInst.cpp \ MCInst.cpp \
MCInstPrinter.cpp \ MCInstPrinter.cpp \
MCInstrAnalysis.cpp \ MCInstrAnalysis.cpp \
MCInstrDesc.cpp \
MCLabel.cpp \ MCLabel.cpp \
MCLinkerOptimizationHint.cpp \ MCLinkerOptimizationHint.cpp \
MCMachOStreamer.cpp \ MCMachOStreamer.cpp \

View File

@ -5,7 +5,6 @@
LIB= llvmmcjit LIB= llvmmcjit
SRCDIR= lib/ExecutionEngine/MCJIT SRCDIR= lib/ExecutionEngine/MCJIT
SRCS= MCJIT.cpp \ SRCS= MCJIT.cpp
SectionMemoryManager.cpp
.include "../clang.lib.mk" .include "../clang.lib.mk"

View File

@ -5,16 +5,17 @@
LIB= llvmobjcarcopts LIB= llvmobjcarcopts
SRCDIR= lib/Transforms/ObjCARC SRCDIR= lib/Transforms/ObjCARC
SRCS= ObjCARC.cpp \ SRCS= ARCInstKind.cpp \
ObjCARCOpts.cpp \ DependencyAnalysis.cpp \
ObjCARCExpand.cpp \ ObjCARC.cpp \
ObjCARCAPElim.cpp \ ObjCARCAPElim.cpp \
ObjCARCAliasAnalysis.cpp \ ObjCARCAliasAnalysis.cpp \
ObjCARCUtil.cpp \
ObjCARCContract.cpp \ ObjCARCContract.cpp \
DependencyAnalysis.cpp \ ObjCARCExpand.cpp \
ObjCARCOpts.cpp \
ProvenanceAnalysis.cpp \ ProvenanceAnalysis.cpp \
ProvenanceAnalysisEvaluator.cpp ProvenanceAnalysisEvaluator.cpp \
PtrState.cpp
TGHDRS= Intrinsics TGHDRS= Intrinsics

View File

@ -0,0 +1,13 @@
# $FreeBSD$
.include <bsd.own.mk>
LIB= llvmorcjit
SRCDIR= lib/ExecutionEngine/Orc
SRCS= ExecutionUtils.cpp \
IndirectionUtils.cpp \
OrcMCJITReplacement.cpp \
OrcTargetSupport.cpp
.include "../clang.lib.mk"

View File

@ -0,0 +1,12 @@
# $FreeBSD$
.include <src.opts.mk>
LIB= llvmpasses
SRCDIR= lib/Passes
SRCS= PassBuilder.cpp
TGHDRS= Intrinsics
.include "../clang.lib.mk"

View File

@ -8,20 +8,28 @@ SRCDIR= lib/Target/PowerPC
SRCS= PPCAsmPrinter.cpp \ SRCS= PPCAsmPrinter.cpp \
PPCBranchSelector.cpp \ PPCBranchSelector.cpp \
PPCCTRLoops.cpp \ PPCCTRLoops.cpp \
PPCEarlyReturn.cpp \
PPCFastISel.cpp \ PPCFastISel.cpp \
PPCFrameLowering.cpp \ PPCFrameLowering.cpp \
PPCHazardRecognizers.cpp \ PPCHazardRecognizers.cpp \
PPCISelDAGToDAG.cpp \ PPCISelDAGToDAG.cpp \
PPCISelLowering.cpp \ PPCISelLowering.cpp \
PPCInstrInfo.cpp \ PPCInstrInfo.cpp \
PPCLoopDataPrefetch.cpp \
PPCLoopPreIncPrep.cpp \
PPCMCInstLower.cpp \ PPCMCInstLower.cpp \
PPCMachineFunctionInfo.cpp \ PPCMachineFunctionInfo.cpp \
PPCRegisterInfo.cpp \ PPCRegisterInfo.cpp \
PPCSelectionDAGInfo.cpp \ PPCSelectionDAGInfo.cpp \
PPCSubtarget.cpp \ PPCSubtarget.cpp \
PPCTLSDynamicCall.cpp \
PPCTOCRegDeps.cpp \
PPCTargetMachine.cpp \ PPCTargetMachine.cpp \
PPCTargetObjectFile.cpp \ PPCTargetObjectFile.cpp \
PPCTargetTransformInfo.cpp PPCTargetTransformInfo.cpp \
PPCVSXCopy.cpp \
PPCVSXFMAMutate.cpp \
PPCVSXSwapRemoval.cpp
TGHDRS= Intrinsics \ TGHDRS= Intrinsics \
PPCGenCallingConv \ PPCGenCallingConv \

View File

@ -7,6 +7,7 @@ LIB= llvmruntimedyld
SRCDIR= lib/ExecutionEngine/RuntimeDyld SRCDIR= lib/ExecutionEngine/RuntimeDyld
SRCS= RTDyldMemoryManager.cpp \ SRCS= RTDyldMemoryManager.cpp \
RuntimeDyld.cpp \ RuntimeDyld.cpp \
RuntimeDyldCOFF.cpp \
RuntimeDyldChecker.cpp \ RuntimeDyldChecker.cpp \
RuntimeDyldELF.cpp \ RuntimeDyldELF.cpp \
RuntimeDyldMachO.cpp RuntimeDyldMachO.cpp

View File

@ -7,6 +7,7 @@ LIB= llvmscalaropts
SRCDIR= lib/Transforms/Scalar SRCDIR= lib/Transforms/Scalar
SRCS= ADCE.cpp \ SRCS= ADCE.cpp \
AlignmentFromAssumptions.cpp \ AlignmentFromAssumptions.cpp \
BDCE.cpp \
ConstantHoisting.cpp \ ConstantHoisting.cpp \
ConstantProp.cpp \ ConstantProp.cpp \
CorrelatedValuePropagation.cpp \ CorrelatedValuePropagation.cpp \
@ -14,24 +15,32 @@ SRCS= ADCE.cpp \
DeadStoreElimination.cpp \ DeadStoreElimination.cpp \
EarlyCSE.cpp \ EarlyCSE.cpp \
FlattenCFGPass.cpp \ FlattenCFGPass.cpp \
Float2Int.cpp \
GVN.cpp \ GVN.cpp \
IndVarSimplify.cpp \ IndVarSimplify.cpp \
InductiveRangeCheckElimination.cpp \
JumpThreading.cpp \ JumpThreading.cpp \
LICM.cpp \ LICM.cpp \
LoadCombine.cpp \ LoadCombine.cpp \
LoopDeletion.cpp \ LoopDeletion.cpp \
LoopDistribute.cpp \
LoopIdiomRecognize.cpp \ LoopIdiomRecognize.cpp \
LoopInterchange.cpp \
LoopRerollPass.cpp \ LoopRerollPass.cpp \
LoopRotation.cpp \ LoopRotation.cpp \
LoopStrengthReduce.cpp \ LoopStrengthReduce.cpp \
LoopUnrollPass.cpp \ LoopUnrollPass.cpp \
LoopUnswitch.cpp \ LoopUnswitch.cpp \
LowerAtomic.cpp \ LowerAtomic.cpp \
LowerExpectIntrinsic.cpp \
MemCpyOptimizer.cpp \ MemCpyOptimizer.cpp \
MergedLoadStoreMotion.cpp \ MergedLoadStoreMotion.cpp \
NaryReassociate.cpp \
PartiallyInlineLibCalls.cpp \ PartiallyInlineLibCalls.cpp \
PlaceSafepoints.cpp \
Reassociate.cpp \ Reassociate.cpp \
Reg2Mem.cpp \ Reg2Mem.cpp \
RewriteStatepointsForGC.cpp \
SCCP.cpp \ SCCP.cpp \
SROA.cpp \ SROA.cpp \
SampleProfile.cpp \ SampleProfile.cpp \
@ -40,6 +49,8 @@ SRCS= ADCE.cpp \
SeparateConstOffsetFromGEP.cpp \ SeparateConstOffsetFromGEP.cpp \
SimplifyCFGPass.cpp \ SimplifyCFGPass.cpp \
Sink.cpp \ Sink.cpp \
SpeculativeExecution.cpp \
StraightLineStrengthReduce.cpp \
StructurizeCFG.cpp \ StructurizeCFG.cpp \
TailRecursionElimination.cpp TailRecursionElimination.cpp

View File

@ -14,6 +14,7 @@ SRCS= APFloat.cpp \
Atomic.cpp \ Atomic.cpp \
BlockFrequency.cpp \ BlockFrequency.cpp \
BranchProbability.cpp \ BranchProbability.cpp \
COM.cpp \
CommandLine.cpp \ CommandLine.cpp \
Compression.cpp \ Compression.cpp \
ConvertUTF.c \ ConvertUTF.c \
@ -36,8 +37,6 @@ SRCS= APFloat.cpp \
IntEqClasses.cpp \ IntEqClasses.cpp \
IntervalMap.cpp \ IntervalMap.cpp \
IntrusiveRefCntPtr.cpp \ IntrusiveRefCntPtr.cpp \
IsInf.cpp \
IsNAN.cpp \
LEB128.cpp \ LEB128.cpp \
LineIterator.cpp \ LineIterator.cpp \
Locale.cpp \ Locale.cpp \
@ -71,6 +70,7 @@ SRCS= APFloat.cpp \
StringMap.cpp \ StringMap.cpp \
StringPool.cpp \ StringPool.cpp \
StringRef.cpp \ StringRef.cpp \
TargetParser.cpp \
TargetRegistry.cpp \ TargetRegistry.cpp \
ThreadLocal.cpp \ ThreadLocal.cpp \
Threading.cpp \ Threading.cpp \

View File

@ -10,8 +10,8 @@ SRCS= Error.cpp \
Record.cpp \ Record.cpp \
SetTheory.cpp \ SetTheory.cpp \
StringMatcher.cpp \ StringMatcher.cpp \
TableGenBackend.cpp \
TGLexer.cpp \ TGLexer.cpp \
TGParser.cpp TGParser.cpp \
TableGenBackend.cpp
.include "../clang.lib.mk" .include "../clang.lib.mk"

View File

@ -7,10 +7,11 @@ LIB= llvmtarget
SRCDIR= lib/Target SRCDIR= lib/Target
SRCS= Target.cpp \ SRCS= Target.cpp \
TargetIntrinsicInfo.cpp \ TargetIntrinsicInfo.cpp \
TargetLibraryInfo.cpp \
TargetLoweringObjectFile.cpp \ TargetLoweringObjectFile.cpp \
TargetMachine.cpp \ TargetMachine.cpp \
TargetMachineC.cpp \ TargetMachineC.cpp \
TargetSubtargetInfo.cpp TargetSubtargetInfo.cpp
TGHDRS= Intrinsics
.include "../clang.lib.mk" .include "../clang.lib.mk"

View File

@ -27,7 +27,7 @@ SRCS= ASanStackFrameLayout.cpp \
LoopSimplify.cpp \ LoopSimplify.cpp \
LoopUnroll.cpp \ LoopUnroll.cpp \
LoopUnrollRuntime.cpp \ LoopUnrollRuntime.cpp \
LowerExpectIntrinsic.cpp \ LoopUtils.cpp \
LowerInvoke.cpp \ LowerInvoke.cpp \
LowerSwitch.cpp \ LowerSwitch.cpp \
Mem2Reg.cpp \ Mem2Reg.cpp \

View File

@ -7,6 +7,7 @@ LIB= llvmx86codegen
SRCDIR= lib/Target/X86 SRCDIR= lib/Target/X86
SRCS= X86AsmPrinter.cpp \ SRCS= X86AsmPrinter.cpp \
X86CallFrameOptimization.cpp \ X86CallFrameOptimization.cpp \
X86ExpandPseudo.cpp \
X86FastISel.cpp \ X86FastISel.cpp \
X86FixupLEAs.cpp \ X86FixupLEAs.cpp \
X86FloatingPoint.cpp \ X86FloatingPoint.cpp \
@ -23,7 +24,8 @@ SRCS= X86AsmPrinter.cpp \
X86TargetMachine.cpp \ X86TargetMachine.cpp \
X86TargetObjectFile.cpp \ X86TargetObjectFile.cpp \
X86TargetTransformInfo.cpp \ X86TargetTransformInfo.cpp \
X86VZeroUpper.cpp X86VZeroUpper.cpp \
X86WinEHState.cpp
TGHDRS= Intrinsics \ TGHDRS= Intrinsics \
X86GenCallingConv \ X86GenCallingConv \

View File

@ -5,7 +5,7 @@
CRTARCH=${MACHINE_CPUARCH:C/amd64/x86_64/} CRTARCH=${MACHINE_CPUARCH:C/amd64/x86_64/}
CRTSRC=${.CURDIR}/../../../contrib/compiler-rt CRTSRC=${.CURDIR}/../../../contrib/compiler-rt
LIBDIR=/usr/lib/clang/3.6.1/lib/freebsd LIBDIR=/usr/lib/clang/3.7.0/lib/freebsd
NO_PIC= NO_PIC=
MK_PROFILE=no MK_PROFILE=no

View File

@ -841,66 +841,74 @@ OLD_FILES+=usr/bin/clang++
OLD_FILES+=usr/bin/clang-cpp OLD_FILES+=usr/bin/clang-cpp
OLD_FILES+=usr/bin/clang-tblgen OLD_FILES+=usr/bin/clang-tblgen
OLD_FILES+=usr/bin/tblgen OLD_FILES+=usr/bin/tblgen
OLD_FILES+=usr/lib/clang/3.6.1/include/__stddef_max_align_t.h OLD_FILES+=usr/lib/clang/3.7.0/include/Intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/__wmmintrin_aes.h OLD_FILES+=usr/lib/clang/3.7.0/include/__stddef_max_align_t.h
OLD_FILES+=usr/lib/clang/3.6.1/include/__wmmintrin_pclmul.h OLD_FILES+=usr/lib/clang/3.7.0/include/__wmmintrin_aes.h
OLD_FILES+=usr/lib/clang/3.6.1/include/adxintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/__wmmintrin_pclmul.h
OLD_FILES+=usr/lib/clang/3.6.1/include/altivec.h OLD_FILES+=usr/lib/clang/3.7.0/include/adxintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/ammintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/altivec.h
OLD_FILES+=usr/lib/clang/3.6.1/include/arm_acle.h OLD_FILES+=usr/lib/clang/3.7.0/include/ammintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/arm_neon.h OLD_FILES+=usr/lib/clang/3.7.0/include/arm_acle.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx2intrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/arm_neon.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512bwintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/avx2intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512erintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/avx512bwintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512fintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/avx512dqintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512vlbwintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/avx512erintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avx512vlintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/avx512fintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/avxintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/avx512vlbwintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/bmi2intrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/avx512vldqintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/bmiintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/avx512vlintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/cpuid.h OLD_FILES+=usr/lib/clang/3.7.0/include/avxintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/emmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/bmi2intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/f16cintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/bmiintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/fma4intrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/cpuid.h
OLD_FILES+=usr/lib/clang/3.6.1/include/fmaintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/cuda_builtin_vars.h
OLD_FILES+=usr/lib/clang/3.6.1/include/ia32intrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/emmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/immintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/f16cintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/lzcntintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/fma4intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/mm3dnow.h OLD_FILES+=usr/lib/clang/3.7.0/include/fmaintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/mm_malloc.h OLD_FILES+=usr/lib/clang/3.7.0/include/htmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/mmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/htmxlintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/module.modulemap OLD_FILES+=usr/lib/clang/3.7.0/include/ia32intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/nmmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/immintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/pmmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/lzcntintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/popcntintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/mm3dnow.h
OLD_FILES+=usr/lib/clang/3.6.1/include/prfchwintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/mm_malloc.h
OLD_FILES+=usr/lib/clang/3.6.1/include/rdseedintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/mmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/rtmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/module.modulemap
OLD_FILES+=usr/lib/clang/3.6.1/include/shaintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/nmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/smmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/pmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/tbmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/popcntintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/tmmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/prfchwintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/wmmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/rdseedintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/x86intrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/rtmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/xmmintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/s390intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/include/xopintrin.h OLD_FILES+=usr/lib/clang/3.7.0/include/shaintrin.h
OLD_DIRS+=usr/lib/clang/3.6.1/include OLD_FILES+=usr/lib/clang/3.7.0/include/smmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.asan-i386.a OLD_FILES+=usr/lib/clang/3.7.0/include/tbmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.asan-x86_64.a OLD_FILES+=usr/lib/clang/3.7.0/include/tmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.asan_cxx-i386.a OLD_FILES+=usr/lib/clang/3.7.0/include/vadefs.h
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.asan_cxx-x86_64.a OLD_FILES+=usr/lib/clang/3.7.0/include/wmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.profile-arm.a OLD_FILES+=usr/lib/clang/3.7.0/include/x86intrin.h
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.profile-i386.a OLD_FILES+=usr/lib/clang/3.7.0/include/xmmintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.profile-x86_64.a OLD_FILES+=usr/lib/clang/3.7.0/include/xopintrin.h
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.san-i386.a OLD_DIRS+=usr/lib/clang/3.7.0/include
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.san-x86_64.a OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.asan-i386.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.ubsan-i386.a OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.asan-x86_64.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.ubsan-x86_64.a OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.asan_cxx-i386.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.ubsan_cxx-i386.a OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.asan_cxx-x86_64.a
OLD_FILES+=usr/lib/clang/3.6.1/lib/freebsd/libclang_rt.ubsan_cxx-x86_64.a OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.profile-arm.a
OLD_DIRS+=usr/lib/clang/3.6.1/lib/freebsd OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.profile-i386.a
OLD_DIRS+=usr/lib/clang/3.6.1/lib OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.profile-x86_64.a
OLD_DIRS+=usr/lib/clang/3.6.1 OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.san-i386.a
OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.san-x86_64.a
OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.ubsan-i386.a
OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.ubsan-x86_64.a
OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.ubsan_cxx-i386.a
OLD_FILES+=usr/lib/clang/3.7.0/lib/freebsd/libclang_rt.ubsan_cxx-x86_64.a
OLD_DIRS+=usr/lib/clang/3.7.0/lib/freebsd
OLD_DIRS+=usr/lib/clang/3.7.0/lib
OLD_DIRS+=usr/lib/clang/3.7.0
OLD_DIRS+=usr/lib/clang OLD_DIRS+=usr/lib/clang
OLD_FILES+=usr/share/doc/llvm/clang/LICENSE.TXT OLD_FILES+=usr/share/doc/llvm/clang/LICENSE.TXT
OLD_DIRS+=usr/share/doc/llvm/clang OLD_DIRS+=usr/share/doc/llvm/clang
@ -920,13 +928,17 @@ OLD_FILES+=usr/bin/lli
OLD_FILES+=usr/bin/llvm-ar OLD_FILES+=usr/bin/llvm-ar
OLD_FILES+=usr/bin/llvm-as OLD_FILES+=usr/bin/llvm-as
OLD_FILES+=usr/bin/llvm-bcanalyzer OLD_FILES+=usr/bin/llvm-bcanalyzer
OLD_FILES+=usr/bin/llvm-cxxdump
OLD_FILES+=usr/bin/llvm-diff OLD_FILES+=usr/bin/llvm-diff
OLD_FILES+=usr/bin/llvm-dis OLD_FILES+=usr/bin/llvm-dis
OLD_FILES+=usr/bin/llvm-dwarfdump
OLD_FILES+=usr/bin/llvm-extract OLD_FILES+=usr/bin/llvm-extract
OLD_FILES+=usr/bin/llvm-link OLD_FILES+=usr/bin/llvm-link
OLD_FILES+=usr/bin/llvm-lto
OLD_FILES+=usr/bin/llvm-mc OLD_FILES+=usr/bin/llvm-mc
OLD_FILES+=usr/bin/llvm-nm OLD_FILES+=usr/bin/llvm-nm
OLD_FILES+=usr/bin/llvm-objdump OLD_FILES+=usr/bin/llvm-objdump
OLD_FILES+=usr/bin/llvm-pdbdump
OLD_FILES+=usr/bin/llvm-rtdyld OLD_FILES+=usr/bin/llvm-rtdyld
OLD_FILES+=usr/bin/llvm-symbolizer OLD_FILES+=usr/bin/llvm-symbolizer
OLD_FILES+=usr/bin/macho-dump OLD_FILES+=usr/bin/macho-dump
@ -939,6 +951,7 @@ OLD_FILES+=usr/share/man/man1/llvm-as.1.gz
OLD_FILES+=usr/share/man/man1/llvm-bcanalyzer.1.gz OLD_FILES+=usr/share/man/man1/llvm-bcanalyzer.1.gz
OLD_FILES+=usr/share/man/man1/llvm-diff.1.gz OLD_FILES+=usr/share/man/man1/llvm-diff.1.gz
OLD_FILES+=usr/share/man/man1/llvm-dis.1.gz OLD_FILES+=usr/share/man/man1/llvm-dis.1.gz
OLD_FILES+=usr/share/man/man1/llvm-dwarfdump.1
OLD_FILES+=usr/share/man/man1/llvm-extract.1.gz OLD_FILES+=usr/share/man/man1/llvm-extract.1.gz
OLD_FILES+=usr/share/man/man1/llvm-link.1.gz OLD_FILES+=usr/share/man/man1/llvm-link.1.gz
OLD_FILES+=usr/share/man/man1/llvm-nm.1.gz OLD_FILES+=usr/share/man/man1/llvm-nm.1.gz
@ -3731,7 +3744,6 @@ OLD_FILES+=usr/lib32/private/libldns.so
OLD_LIBS+=usr/lib32/private/libldns.so.5 OLD_LIBS+=usr/lib32/private/libldns.so.5
OLD_FILES+=usr/lib32/private/libldns_p.a OLD_FILES+=usr/lib32/private/libldns_p.a
.endif .endif
.endif
.if ${MK_LDNS_UTILS} == no .if ${MK_LDNS_UTILS} == no
OLD_FILES+=usr/bin/drill OLD_FILES+=usr/bin/drill

View File

@ -12,14 +12,18 @@ SUBDIR+=bugpoint \
llvm-ar \ llvm-ar \
llvm-as \ llvm-as \
llvm-bcanalyzer \ llvm-bcanalyzer \
llvm-diff \
llvm-cov \ llvm-cov \
llvm-cxxdump \
llvm-diff \
llvm-dis \ llvm-dis \
llvm-dwarfdump \
llvm-extract \ llvm-extract \
llvm-link \ llvm-link \
llvm-lto \
llvm-mc \ llvm-mc \
llvm-nm \ llvm-nm \
llvm-objdump \ llvm-objdump \
llvm-pdbdump \
llvm-profdata \ llvm-profdata \
llvm-rtdyld \ llvm-rtdyld \
llvm-symbolizer \ llvm-symbolizer \

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "BUGPOINT" "1" "2015-03-14" "3.6" "LLVM" .TH "BUGPOINT" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
bugpoint \- automatic test case reduction tool bugpoint \- automatic test case reduction tool
. .

View File

@ -106,13 +106,13 @@ LIBDEPS=clangfrontendtool \
llvmselectiondag \ llvmselectiondag \
llvmasmprinter \ llvmasmprinter \
llvmcodegen \ llvmcodegen \
llvmtarget \
llvmscalaropts \ llvmscalaropts \
llvmprofiledata \ llvmprofiledata \
llvminstcombine \ llvminstcombine \
llvmtransformutils \ llvmtransformutils \
llvmipa \ llvmipa \
llvmanalysis \ llvmanalysis \
llvmtarget \
llvmx86desc \ llvmx86desc \
llvmobject \ llvmobject \
llvmmcparser \ llvmmcparser \

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLC" "1" "2015-03-14" "3.6" "LLVM" .TH "LLC" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llc \- LLVM static compiler llc \- LLVM static compiler
. .

View File

@ -5,10 +5,11 @@
PROG_CXX=lli PROG_CXX=lli
SRCDIR= tools/lli SRCDIR= tools/lli
SRCS= lli.cpp \ SRCS= OrcLazyJIT.cpp \
RemoteMemoryManager.cpp \ RemoteMemoryManager.cpp \
RemoteTarget.cpp \ RemoteTarget.cpp \
RemoteTargetExternal.cpp RemoteTargetExternal.cpp \
lli.cpp
LIBDEPS=llvmx86disassembler \ LIBDEPS=llvmx86disassembler \
llvmx86asmparser \ llvmx86asmparser \
@ -28,13 +29,14 @@ LIBDEPS=llvmx86disassembler \
llvmprofiledata \ llvmprofiledata \
llvminstcombine \ llvminstcombine \
llvminstrumentation \ llvminstrumentation \
llvmorcjit \
llvmtransformutils \ llvmtransformutils \
llvmipa \ llvmipa \
llvmanalysis \
llvmmcjit \ llvmmcjit \
llvmtarget \ llvmtarget \
llvmruntimedyld \ llvmanalysis \
llvmexecutionengine \ llvmexecutionengine \
llvmruntimedyld \
llvmobject \ llvmobject \
llvmmcparser \ llvmmcparser \
llvmbitreader \ llvmbitreader \

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLI" "1" "2015-03-14" "3.6" "LLVM" .TH "LLI" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
lli \- directly execute programs from LLVM bitcode lli \- directly execute programs from LLVM bitcode
. .

View File

@ -44,13 +44,13 @@ LIBDEPS=llvmaarch64disassembler \
llvmselectiondag \ llvmselectiondag \
llvmasmprinter \ llvmasmprinter \
llvmcodegen \ llvmcodegen \
llvmtarget \
llvmscalaropts \ llvmscalaropts \
llvmprofiledata \ llvmprofiledata \
llvminstcombine \ llvminstcombine \
llvmtransformutils \ llvmtransformutils \
llvmipa \ llvmipa \
llvmanalysis \ llvmanalysis \
llvmtarget \
llvmx86desc \ llvmx86desc \
llvmobject \ llvmobject \
llvmmcparser \ llvmmcparser \

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-AR" "1" "2015-03-14" "3.6" "LLVM" .TH "LLVM-AR" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-ar \- LLVM archiver llvm-ar \- LLVM archiver
. .

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-AS" "1" "2015-03-14" "3.6" "LLVM" .TH "LLVM-AS" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-as \- LLVM assembler llvm-as \- LLVM assembler
. .

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-BCANALYZER" "1" "2015-03-14" "3.6" "LLVM" .TH "LLVM-BCANALYZER" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-bcanalyzer \- LLVM bitcode analyzer llvm-bcanalyzer \- LLVM bitcode analyzer
. .

View File

@ -8,7 +8,6 @@ SRCDIR= tools/llvm-cov
SRCS= CodeCoverage.cpp \ SRCS= CodeCoverage.cpp \
CoverageFilters.cpp \ CoverageFilters.cpp \
CoverageReport.cpp \ CoverageReport.cpp \
CoverageSummary.cpp \
CoverageSummaryInfo.cpp \ CoverageSummaryInfo.cpp \
SourceCoverageView.cpp \ SourceCoverageView.cpp \
TestingSupport.cpp \ TestingSupport.cpp \

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-COV" "1" "2015-04-01" "3.6" "LLVM" .TH "LLVM-COV" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-cov \- emit coverage information llvm-cov \- emit coverage information
. .
@ -33,16 +33,39 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.. ..
.SH SYNOPSIS .SH SYNOPSIS
.sp .sp
\fBllvm\-cov\fP [options] SOURCEFILE \fBllvm\-cov\fP \fIcommand\fP [\fIargs...\fP]
.SH DESCRIPTION .SH DESCRIPTION
.sp .sp
The \fBllvm\-cov\fP tool reads code coverage data files and displays the The \fBllvm\-cov\fP tool shows code coverage information for
coverage information for a specified source file. It is compatible with the programs that are instrumented to emit profile data. It can be used to
\fBgcov\fP tool from version 4.2 of \fBGCC\fP and may also be compatible with work with \fBgcov\fP\-style coverage or with \fBclang\fP\(aqs instrumentation
some later versions of \fBgcov\fP\&. based profiling.
.sp .sp
To use llvm\-cov, you must first build an instrumented version of your If the program is invoked with a base name of \fBgcov\fP, it will behave as if
application that collects coverage data as it runs. Compile with the the \fBllvm\-cov gcov\fP command were called. Otherwise, a command should
be provided.
.SH COMMANDS
.INDENT 0.0
.IP \(bu 2
\fI\%gcov\fP
.IP \(bu 2
\fI\%show\fP
.IP \(bu 2
\fI\%report\fP
.UNINDENT
.SH GCOV COMMAND
.SS SYNOPSIS
.sp
\fBllvm\-cov gcov\fP [\fIoptions\fP] \fISOURCEFILE\fP
.SS DESCRIPTION
.sp
The \fBllvm\-cov gcov\fP tool reads code coverage data files and displays
the coverage information for a specified source file. It is compatible with the
\fBgcov\fP tool from version 4.2 of \fBGCC\fP and may also be compatible with some
later versions of \fBgcov\fP\&.
.sp
To use \fBllvm\-cov gcov\fP, you must first build an instrumented version
of your application that collects coverage data as it runs. Compile with the
\fB\-fprofile\-arcs\fP and \fB\-ftest\-coverage\fP options to add the \fB\-fprofile\-arcs\fP and \fB\-ftest\-coverage\fP options to add the
instrumentation. (Alternatively, you can use the \fB\-\-coverage\fP option, which instrumentation. (Alternatively, you can use the \fB\-\-coverage\fP option, which
includes both of those other options.) You should compile with debugging includes both of those other options.) You should compile with debugging
@ -66,21 +89,21 @@ directories, the prefix from the \fBGCOV_PREFIX\fP variable is added. These
environment variables allow you to run the instrumented program on a machine environment variables allow you to run the instrumented program on a machine
where the original object file directories are not accessible, but you will where the original object file directories are not accessible, but you will
then need to copy the \fB\&.gcda\fP files back to the object file directories then need to copy the \fB\&.gcda\fP files back to the object file directories
where llvm\-cov expects to find them. where \fBllvm\-cov gcov\fP expects to find them.
.sp .sp
Once you have generated the coverage data files, run llvm\-cov for each main Once you have generated the coverage data files, run \fBllvm\-cov gcov\fP
source file where you want to examine the coverage results. This should be run for each main source file where you want to examine the coverage results. This
from the same directory where you previously ran the compiler. The results for should be run from the same directory where you previously ran the
the specified source file are written to a file named by appending a \fB\&.gcov\fP compiler. The results for the specified source file are written to a file named
suffix. A separate output file is also created for each file included by the by appending a \fB\&.gcov\fP suffix. A separate output file is also created for
main source file, also with a \fB\&.gcov\fP suffix added. each file included by the main source file, also with a \fB\&.gcov\fP suffix added.
.sp .sp
The basic content of an llvm\-cov output file is a copy of the source file with The basic content of an \fB\&.gcov\fP output file is a copy of the source file with
an execution count and line number prepended to every line. The execution an execution count and line number prepended to every line. The execution
count is shown as \fB\-\fP if a line does not contain any executable code. If count is shown as \fB\-\fP if a line does not contain any executable code. If
a line contains code but that code was never executed, the count is displayed a line contains code but that code was never executed, the count is displayed
as \fB#####\fP\&. as \fB#####\fP\&.
.SH OPTIONS .SS OPTIONS
.INDENT 0.0 .INDENT 0.0
.TP .TP
.B \-a, \-\-all\-blocks .B \-a, \-\-all\-blocks
@ -153,10 +176,141 @@ option.
.B \-version .B \-version
Display the version of llvm\-cov. Display the version of llvm\-cov.
.UNINDENT .UNINDENT
.SH EXIT STATUS .SS EXIT STATUS
.sp .sp
\fBllvm\-cov\fP returns 1 if it cannot read input files. Otherwise, it \fBllvm\-cov gcov\fP returns 1 if it cannot read input files. Otherwise,
exits with zero. it exits with zero.
.SH SHOW COMMAND
.SS SYNOPSIS
.sp
\fBllvm\-cov show\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP \fIBIN\fP [\fISOURCES\fP]
.SS DESCRIPTION
.sp
The \fBllvm\-cov show\fP command shows line by line coverage of a binary
\fIBIN\fP using the profile data \fIPROFILE\fP\&. It can optionally be filtered to only
show the coverage for the files listed in \fISOURCES\fP\&.
.sp
To use \fBllvm\-cov show\fP, you need a program that is compiled with
instrumentation to emit profile and coverage data. To build such a program with
\fBclang\fP use the \fB\-fprofile\-instr\-generate\fP and \fB\-fcoverage\-mapping\fP
flags. If linking with the \fBclang\fP driver, pass \fB\-fprofile\-instr\-generate\fP
to the link stage to make sure the necessary runtime libraries are linked in.
.sp
The coverage information is stored in the built executable or library itself,
and this is what you should pass to \fBllvm\-cov show\fP as the \fIBIN\fP
argument. The profile data is generated by running this instrumented program
normally. When the program exits it will write out a raw profile file,
typically called \fBdefault.profraw\fP, which can be converted to a format that
is suitable for the \fIPROFILE\fP argument using the \fBllvm\-profdata merge\fP
tool.
.SS OPTIONS
.INDENT 0.0
.TP
.B \-show\-line\-counts
Show the execution counts for each line. This is enabled by default, unless
another \fB\-show\fP option is used.
.UNINDENT
.INDENT 0.0
.TP
.B \-show\-expansions
Expand inclusions, such as preprocessor macros or textual inclusions, inline
in the display of the source file.
.UNINDENT
.INDENT 0.0
.TP
.B \-show\-instantiations
For source regions that are instantiated multiple times, such as templates in
\fBC++\fP, show each instantiation separately as well as the combined summary.
.UNINDENT
.INDENT 0.0
.TP
.B \-show\-regions
Show the execution counts for each region by displaying a caret that points to
the character where the region starts.
.UNINDENT
.INDENT 0.0
.TP
.B \-show\-line\-counts\-or\-regions
Show the execution counts for each line if there is only one region on the
line, but show the individual regions if there are multiple on the line.
.UNINDENT
.INDENT 0.0
.TP
.B \-use\-color[=VALUE]
Enable or disable color output. By default this is autodetected.
.UNINDENT
.INDENT 0.0
.TP
.B \-arch=<name>
If the covered binary is a universal binary, select the architecture to use.
It is an error to specify an architecture that is not included in the
universal binary or to use an architecture that does not match a
non\-universal binary.
.UNINDENT
.INDENT 0.0
.TP
.B \-name=<NAME>
Show code coverage only for functions with the given name.
.UNINDENT
.INDENT 0.0
.TP
.B \-name\-regex=<PATTERN>
Show code coverage only for functions that match the given regular expression.
.UNINDENT
.INDENT 0.0
.TP
.B \-line\-coverage\-gt=<N>
Show code coverage only for functions with line coverage greater than the
given threshold.
.UNINDENT
.INDENT 0.0
.TP
.B \-line\-coverage\-lt=<N>
Show code coverage only for functions with line coverage less than the given
threshold.
.UNINDENT
.INDENT 0.0
.TP
.B \-region\-coverage\-gt=<N>
Show code coverage only for functions with region coverage greater than the
given threshold.
.UNINDENT
.INDENT 0.0
.TP
.B \-region\-coverage\-lt=<N>
Show code coverage only for functions with region coverage less than the given
threshold.
.UNINDENT
.SH REPORT COMMAND
.SS SYNOPSIS
.sp
\fBllvm\-cov report\fP [\fIoptions\fP] \-instr\-profile \fIPROFILE\fP \fIBIN\fP [\fISOURCES\fP]
.SS DESCRIPTION
.sp
The \fBllvm\-cov report\fP command displays a summary of the coverage of a
binary \fIBIN\fP using the profile data \fIPROFILE\fP\&. It can optionally be filtered to
only show the coverage for the files listed in \fISOURCES\fP\&.
.sp
If no source files are provided, a summary line is printed for each file in the
coverage data. If any files are provided, summaries are shown for each function
in the listed files instead.
.sp
For information on compiling programs for coverage and generating profile data,
see \fI\%SHOW COMMAND\fP\&.
.SS OPTIONS
.INDENT 0.0
.TP
.B \-use\-color[=VALUE]
Enable or disable color output. By default this is autodetected.
.UNINDENT
.INDENT 0.0
.TP
.B \-arch=<name>
If the covered binary is a universal binary, select the architecture to use.
It is an error to specify an architecture that is not included in the
universal binary or to use an architecture that does not match a
non\-universal binary.
.UNINDENT
.SH AUTHOR .SH AUTHOR
Maintained by The LLVM Team (http://llvm.org/). Maintained by The LLVM Team (http://llvm.org/).
.SH COPYRIGHT .SH COPYRIGHT

View File

@ -0,0 +1,71 @@
# $FreeBSD$
MAN=
.include <bsd.own.mk>
PROG_CXX=llvm-cxxdump
SRCDIR= tools/llvm-cxxdump
SRCS= Error.cpp \
llvm-cxxdump.cpp
LIBDEPS=llvmaarch64disassembler \
llvmaarch64codegen \
llvmaarch64asmparser \
llvmaarch64desc \
llvmaarch64info \
llvmaarch64instprinter \
llvmaarch64utils \
llvmarmdisassembler \
llvmarmcodegen \
llvmarmasmparser \
llvmarmdesc \
llvmarminfo \
llvmarminstprinter \
llvmmipsdisassembler \
llvmmipscodegen \
llvmmipsasmparser \
llvmmipsdesc \
llvmmipsinfo \
llvmmipsinstprinter \
llvmpowerpcdisassembler \
llvmpowerpccodegen \
llvmpowerpcasmparser \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
llvmsparcdisassembler \
llvmsparccodegen \
llvmsparcasmparser \
llvmsparcdesc \
llvmsparcinfo \
llvmsparcinstprinter \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \
llvmselectiondag \
llvmasmprinter \
llvmcodegen \
llvmtarget \
llvmscalaropts \
llvmprofiledata \
llvminstcombine \
llvmtransformutils \
llvmipa \
llvmanalysis \
llvmx86desc \
llvmmcdisassembler \
llvmx86info \
llvmx86instprinter \
llvmx86utils \
llvmobject \
llvmmcparser \
llvmmc \
llvmbitreader \
llvmcore \
llvmsupport
.include "../clang.prog.mk"
DPADD+= ${LIBZ}
LDADD+= -lz

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-DIFF" "1" "2015-03-14" "3.6" "LLVM" .TH "LLVM-DIFF" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-diff \- LLVM structural 'diff' llvm-diff \- LLVM structural 'diff'
. .

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-DIS" "1" "2015-03-14" "3.6" "LLVM" .TH "LLVM-DIS" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-dis \- LLVM disassembler llvm-dis \- LLVM disassembler
. .

View File

@ -0,0 +1,21 @@
# $FreeBSD$
.include <bsd.own.mk>
PROG_CXX=llvm-dwarfdump
SRCDIR= tools/llvm-dwarfdump
SRCS= llvm-dwarfdump.cpp
LIBDEPS=llvmdebuginfodwarf \
llvmobject \
llvmmcparser \
llvmmc \
llvmbitreader \
llvmcore \
llvmsupport
.include "../clang.prog.mk"
DPADD+= ${LIBZ}
LDADD+= -lz

View File

@ -0,0 +1,60 @@
.\" $FreeBSD$
.\" Man page generated from reStructuredText.
.
.TH "LLVM-DWARFDUMP" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME
llvm-dwarfdump \- print contents of DWARF sections
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.sp
\fBllvm\-dwarfdump\fP [\fIoptions\fP] [\fIfilenames...\fP]
.SH DESCRIPTION
.sp
\fBllvm\-dwarfdump\fP parses DWARF sections in the object files
and prints their contents in human\-readable form.
.SH OPTIONS
.INDENT 0.0
.TP
.B \-debug\-dump=section
Specify the DWARF section to dump.
For example, use \fBabbrev\fP to dump the contents of \fB\&.debug_abbrev\fP section,
\fBloc.dwo\fP to dump the contents of \fB\&.debug_loc.dwo\fP etc.
See \fBllvm\-dwarfdump \-\-help\fP for the complete list of supported sections.
Use \fBall\fP to dump all DWARF sections. It is the default.
.UNINDENT
.SH EXIT STATUS
.sp
\fBllvm\-dwarfdump\fP returns 0. Other exit codes imply internal
program error.
.SH AUTHOR
Maintained by The LLVM Team (http://llvm.org/).
.SH COPYRIGHT
2003-2014, LLVM Project
.\" Generated by docutils manpage writer.
.

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-EXTRACT" "1" "2015-03-14" "3.6" "LLVM" .TH "LLVM-EXTRACT" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-extract \- extract a function from an LLVM module llvm-extract \- extract a function from an LLVM module
. .

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-LINK" "1" "2015-03-14" "3.6" "LLVM" .TH "LLVM-LINK" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-link \- LLVM bitcode linker llvm-link \- LLVM bitcode linker
. .

View File

@ -0,0 +1,76 @@
# $FreeBSD$
MAN=
.include <bsd.own.mk>
PROG_CXX=llvm-lto
SRCDIR= tools/llvm-lto
SRCS= llvm-lto.cpp
LIBDEPS=llvmaarch64disassembler \
llvmaarch64codegen \
llvmaarch64asmparser \
llvmaarch64desc \
llvmaarch64info \
llvmaarch64instprinter \
llvmaarch64utils \
llvmarmdisassembler \
llvmarmcodegen \
llvmarmasmparser \
llvmarmdesc \
llvmarminfo \
llvmarminstprinter \
llvmmipsdisassembler \
llvmmipscodegen \
llvmmipsasmparser \
llvmmipsdesc \
llvmmipsinfo \
llvmmipsinstprinter \
llvmpowerpcdisassembler \
llvmpowerpccodegen \
llvmpowerpcasmparser \
llvmpowerpcdesc \
llvmpowerpcinfo \
llvmpowerpcinstprinter \
llvmsparcdisassembler \
llvmsparccodegen \
llvmsparcasmparser \
llvmsparcdesc \
llvmsparcinfo \
llvmsparcinstprinter \
llvmx86disassembler \
llvmx86asmparser \
llvmx86codegen \
llvmselectiondag \
llvmasmprinter \
llvmx86desc \
llvmx86info \
llvmx86instprinter \
llvmx86utils \
llvmmcdisassembler \
llvmlto \
llvmobjcarcopts \
llvmlinker \
llvmipo \
llvmvectorize \
llvmcodegen \
llvmtarget \
llvmscalaropts \
llvmprofiledata \
llvmobject \
llvmmcparser \
llvminstcombine \
llvmtransformutils \
llvmipa \
llvmmc \
llvmbitwriter \
llvmbitreader \
llvmanalysis \
llvmcore \
llvmsupport
.include "../clang.prog.mk"
DPADD+= ${LIBZ}
LDADD+= -lz

View File

@ -6,8 +6,8 @@ MAN=
PROG_CXX=llvm-mc PROG_CXX=llvm-mc
SRCDIR= tools/llvm-mc SRCDIR= tools/llvm-mc
SRCS= llvm-mc.cpp \ SRCS= Disassembler.cpp \
Disassembler.cpp llvm-mc.cpp
LIBDEPS=llvmaarch64disassembler \ LIBDEPS=llvmaarch64disassembler \
llvmaarch64codegen \ llvmaarch64codegen \
@ -46,13 +46,13 @@ LIBDEPS=llvmaarch64disassembler \
llvmselectiondag \ llvmselectiondag \
llvmasmprinter \ llvmasmprinter \
llvmcodegen \ llvmcodegen \
llvmtarget \
llvmscalaropts \ llvmscalaropts \
llvmprofiledata \ llvmprofiledata \
llvminstcombine \ llvminstcombine \
llvmtransformutils \ llvmtransformutils \
llvmipa \ llvmipa \
llvmanalysis \ llvmanalysis \
llvmtarget \
llvmx86desc \ llvmx86desc \
llvmobject \ llvmobject \
llvmmcparser \ llvmmcparser \

View File

@ -44,13 +44,13 @@ LIBDEPS=llvmaarch64disassembler \
llvmselectiondag \ llvmselectiondag \
llvmasmprinter \ llvmasmprinter \
llvmcodegen \ llvmcodegen \
llvmtarget \
llvmscalaropts \ llvmscalaropts \
llvmprofiledata \ llvmprofiledata \
llvminstcombine \ llvminstcombine \
llvmtransformutils \ llvmtransformutils \
llvmipa \ llvmipa \
llvmanalysis \ llvmanalysis \
llvmtarget \
llvmx86desc \ llvmx86desc \
llvmobject \ llvmobject \
llvmmcparser \ llvmmcparser \

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-NM" "1" "2015-03-14" "3.6" "LLVM" .TH "LLVM-NM" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-nm \- list LLVM bitcode and object file's symbol table llvm-nm \- list LLVM bitcode and object file's symbol table
. .

View File

@ -11,7 +11,7 @@ SRCS= llvm-objdump.cpp \
ELFDump.cpp \ ELFDump.cpp \
MachODump.cpp MachODump.cpp
LIBDEPS=llvmdebuginfo \ LIBDEPS=llvmdebuginfodwarf \
llvmaarch64disassembler \ llvmaarch64disassembler \
llvmaarch64codegen \ llvmaarch64codegen \
llvmaarch64asmparser \ llvmaarch64asmparser \
@ -49,13 +49,13 @@ LIBDEPS=llvmdebuginfo \
llvmselectiondag \ llvmselectiondag \
llvmasmprinter \ llvmasmprinter \
llvmcodegen \ llvmcodegen \
llvmtarget \
llvmscalaropts \ llvmscalaropts \
llvmprofiledata \ llvmprofiledata \
llvminstcombine \ llvminstcombine \
llvmtransformutils \ llvmtransformutils \
llvmipa \ llvmipa \
llvmanalysis \ llvmanalysis \
llvmtarget \
llvmx86desc \ llvmx86desc \
llvmobject \ llvmobject \
llvmmcparser \ llvmmcparser \

View File

@ -0,0 +1,32 @@
# $FreeBSD$
MAN=
.include <bsd.own.mk>
PROG_CXX=llvm-pdbdump
SRCDIR= tools/llvm-pdbdump
SRCS= BuiltinDumper.cpp \
ClassDefinitionDumper.cpp \
CompilandDumper.cpp \
EnumDumper.cpp \
ExternalSymbolDumper.cpp \
FunctionDumper.cpp \
LinePrinter.cpp \
TypeDumper.cpp \
TypedefDumper.cpp \
VariableDumper.cpp \
llvm-pdbdump.cpp
LIBDEPS=llvmdebuginfopdb \
llvmobject \
llvmmcparser \
llvmmc \
llvmbitreader \
llvmcore \
llvmsupport
.include "../clang.prog.mk"
DPADD+= ${LIBZ}
LDADD+= -lz

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-PROFDATA" "1" "2015-04-01" "3.6" "LLVM" .TH "LLVM-PROFDATA" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-profdata \- Profile data tool llvm-profdata \- Profile data tool
. .

View File

@ -8,7 +8,7 @@ PROG_CXX=llvm-rtdyld
SRCDIR= tools/llvm-rtdyld SRCDIR= tools/llvm-rtdyld
SRCS= llvm-rtdyld.cpp SRCS= llvm-rtdyld.cpp
LIBDEPS=llvmdebuginfo \ LIBDEPS=llvmdebuginfodwarf \
llvmmcjit \ llvmmcjit \
llvmexecutionengine \ llvmexecutionengine \
llvmruntimedyld \ llvmruntimedyld \

View File

@ -8,7 +8,8 @@ SRCDIR= tools/llvm-symbolizer
SRCS= llvm-symbolizer.cpp \ SRCS= llvm-symbolizer.cpp \
LLVMSymbolize.cpp LLVMSymbolize.cpp
LIBDEPS=llvmdebuginfo \ LIBDEPS=llvmdebuginfopdb \
llvmdebuginfodwarf \
llvmobject \ llvmobject \
llvmmcparser \ llvmmcparser \
llvmmc \ llvmmc \

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "LLVM-SYMBOLIZER" "1" "2015-03-14" "3.6" "LLVM" .TH "LLVM-SYMBOLIZER" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
llvm-symbolizer \- convert addresses into source code locations llvm-symbolizer \- convert addresses into source code locations
. .

View File

@ -10,12 +10,12 @@ SRCS= AnalysisWrappers.cpp \
GraphPrinters.cpp \ GraphPrinters.cpp \
NewPMDriver.cpp \ NewPMDriver.cpp \
PassPrinters.cpp \ PassPrinters.cpp \
Passes.cpp \
PrintSCC.cpp \ PrintSCC.cpp \
opt.cpp opt.cpp
TGHDRS= Intrinsics TGHDRS= Intrinsics
LIBDEPS=llvmaarch64disassembler \ LIBDEPS=llvmpasses \
llvmaarch64disassembler \
llvmaarch64codegen \ llvmaarch64codegen \
llvmaarch64asmparser \ llvmaarch64asmparser \
llvmaarch64desc \ llvmaarch64desc \
@ -52,6 +52,7 @@ LIBDEPS=llvmaarch64disassembler \
llvmselectiondag \ llvmselectiondag \
llvmasmprinter \ llvmasmprinter \
llvmcodegen \ llvmcodegen \
llvmtarget \
llvmx86desc \ llvmx86desc \
llvmmcdisassembler \ llvmmcdisassembler \
llvmx86info \ llvmx86info \
@ -68,9 +69,8 @@ LIBDEPS=llvmaarch64disassembler \
llvminstrumentation \ llvminstrumentation \
llvmtransformutils \ llvmtransformutils \
llvmipa \ llvmipa \
llvmanalysis \
llvmtarget \
llvmmc \ llvmmc \
llvmanalysis \
llvmirreader \ llvmirreader \
llvmasmparser \ llvmasmparser \
llvmbitwriter \ llvmbitwriter \

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "OPT" "1" "2015-03-14" "3.6" "LLVM" .TH "OPT" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
opt \- LLVM optimizer opt \- LLVM optimizer
. .

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" Man page generated from reStructuredText. .\" Man page generated from reStructuredText.
. .
.TH "TBLGEN" "1" "2015-03-14" "3.6" "LLVM" .TH "TBLGEN" "1" "2015-05-30" "3.7" "LLVM"
.SH NAME .SH NAME
tblgen \- Target Description To C++ Code Generator tblgen \- Target Description To C++ Code Generator
. .