diff options
Diffstat (limited to 'compiler-rt/lib/lsan')
-rw-r--r-- | compiler-rt/lib/lsan/Makefile.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/compiler-rt/lib/lsan/Makefile.mk b/compiler-rt/lib/lsan/Makefile.mk index aae5c32fd32..2a6b41c98e2 100644 --- a/compiler-rt/lib/lsan/Makefile.mk +++ b/compiler-rt/lib/lsan/Makefile.mk @@ -7,17 +7,22 @@ # #===------------------------------------------------------------------------===# -ModuleName := lsan_common +ModuleName := lsan SubDirs := -Sources := $(foreach file,$(wildcard $(Dir)/lsan_common*.cc),$(notdir $(file))) +Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file))) ObjNames := $(Sources:%.cc=%.o) Implementation := Generic # FIXME: use automatic dependencies? Dependencies := $(wildcard $(Dir)/*.h) +Dependencies += $(wildcard $(Dir)/../interception/*.h) Dependencies += $(wildcard $(Dir)/../sanitizer_common/*.h) -# Define a convenience variable for all the asan functions. -LsanCommonFunctions := $(Sources:%.cc=%) +# Define a convenience variable for all the lsan functions. +LsanFunctions := $(Sources:%.cc=%) + +# lsan functions used in another sanitizers. +LsanCommonSources := $(foreach file,$(wildcard $(Dir)/lsan_common*.cc),$(notdir $(file))) +LsanCommonFunctions := $(LsanCommonSources:%.cc=%) |