1 # $NetBSD: Makefile,v 1.2 2020/09/07 00:18:25 mrg Exp $ 2 3 LIB= LLVMInstrumentation 4 5 .include <bsd.init.mk> 6 7 .PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation 8 9 SRCS+= AddressSanitizer.cpp \ 10 BoundsChecking.cpp \ 11 CGProfile.cpp \ 12 ControlHeightReduction.cpp \ 13 DataFlowSanitizer.cpp \ 14 GCOVProfiling.cpp \ 15 HWAddressSanitizer.cpp \ 16 IndirectCallPromotion.cpp \ 17 InstrOrderFile.cpp \ 18 InstrProfiling.cpp \ 19 Instrumentation.cpp \ 20 MemorySanitizer.cpp \ 21 PGOInstrumentation.cpp \ 22 PGOMemOPSizeOpt.cpp \ 23 PoisonChecking.cpp \ 24 SanitizerCoverage.cpp \ 25 ThreadSanitizer.cpp \ 26 ValueProfileCollector.cpp 27 28 .if defined(HOSTLIB) 29 .include <bsd.hostlib.mk> 30 .else 31 .include <bsd.lib.mk> 32 .endif 33 34 CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER} 35