[asan] Include asm instrumentation source in Makefile build.

llvm-svn: 208172
This commit is contained in:
Evgeniy Stepanov 2014-05-07 08:55:46 +00:00
parent 2e5d6d3ce3
commit c087df0655
1 changed files with 5 additions and 3 deletions

View File

@ -10,8 +10,10 @@
ModuleName := asan
SubDirs :=
Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
ObjNames := $(Sources:%.cc=%.o)
CCSources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
SSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
Sources := $(CCSources) $(SSources)
ObjNames := $(CCSources:%.cc=%.o) $(SSources:%.S=%.o)
Implementation := Generic
@ -21,4 +23,4 @@ Dependencies += $(wildcard $(Dir)/../interception/*.h)
Dependencies += $(wildcard $(Dir)/../sanitizer_common/*.h)
# Define a convenience variable for all the asan functions.
AsanFunctions := $(Sources:%.cc=%)
AsanFunctions := $(CCSources:%.cc=%) $(SSources:%.S=%)