1# $NetBSD: Makefile,v 1.4 2023/06/03 08:52:53 lukem Exp $ 2 3LIB= LLVMInstrumentation 4 5.include <bsd.init.mk> 6 7.PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation 8 9SRCS+= 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 MemProfiler.cpp \ 22 PGOInstrumentation.cpp \ 23 PGOMemOPSizeOpt.cpp \ 24 PoisonChecking.cpp \ 25 SanitizerCoverage.cpp \ 26 ThreadSanitizer.cpp \ 27 ValueProfileCollector.cpp 28 29.if defined(HOSTLIB) 30.include <bsd.hostlib.mk> 31.else 32.include <bsd.lib.mk> 33.endif 34 35CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} 36