[compiler-rt] r208172 - [asan] Include asm instrumentation source in Makefile build.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Wed May 7 01:55:47 PDT 2014
Author: eugenis
Date: Wed May 7 03:55:46 2014
New Revision: 208172
URL: http://llvm.org/viewvc/llvm-project?rev=208172&view=rev
Log:
[asan] Include asm instrumentation source in Makefile build.
Modified:
compiler-rt/trunk/lib/asan/Makefile.mk
Modified: compiler-rt/trunk/lib/asan/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/Makefile.mk?rev=208172&r1=208171&r2=208172&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/Makefile.mk (original)
+++ compiler-rt/trunk/lib/asan/Makefile.mk Wed May 7 03:55:46 2014
@@ -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)/../int
Dependencies += $(wildcard $(Dir)/../sanitizer_common/*.h)
# Define a convenience variable for all the asan functions.
-AsanFunctions := $(Sources:%.cc=%)
+AsanFunctions := $(CCSources:%.cc=%) $(SSources:%.S=%)
More information about the llvm-commits
mailing list