asan: Fill in integration with compiler-rt/make build.
llvm-svn: 145648
This commit is contained in:
parent
5dc7770bf7
commit
12024d00a7
|
|
@ -13,6 +13,7 @@ SubDirs :=
|
|||
SubDirs += i386 ppc x86_64 arm
|
||||
|
||||
# Add other submodules.
|
||||
SubDirs += asan
|
||||
SubDirs += profile
|
||||
|
||||
# Define the variables for this specific directory.
|
||||
|
|
|
|||
|
|
@ -7,4 +7,15 @@
|
|||
#
|
||||
#===------------------------------------------------------------------------===#
|
||||
|
||||
# See README.txt
|
||||
SubDirs := mach_override sysinfo
|
||||
|
||||
Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
|
||||
ObjNames := $(Sources:%.cc=%.o)
|
||||
|
||||
Implementation := Generic
|
||||
|
||||
# FIXME: use automatic dependencies?
|
||||
Dependencies := $(wildcard $(Dir)/*.h)
|
||||
|
||||
# Define a convenience variable for all the asan functions.
|
||||
AsanFunctions := $(Sources:%.cc=%)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
#===- lib/asan/mach_override/Makefile.mk -------------------*- Makefile -*--===#
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file is distributed under the University of Illinois Open Source
|
||||
# License. See LICENSE.TXT for details.
|
||||
#
|
||||
#===------------------------------------------------------------------------===#
|
||||
|
||||
SubDirs :=
|
||||
|
||||
Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
|
||||
ObjNames := $(Sources:%.c=%.o)
|
||||
|
||||
Implementation := Generic
|
||||
|
||||
# FIXME: use automatic dependencies?
|
||||
Dependencies := $(wildcard $(Dir)/*.h)
|
||||
|
||||
# Define a convenience variable for all the asan functions.
|
||||
AsanFunctions += $(Sources:%.c=%)
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
#===- lib/asan/sysinfo/Makefile.mk -------------------------*- Makefile -*--===#
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file is distributed under the University of Illinois Open Source
|
||||
# License. See LICENSE.TXT for details.
|
||||
#
|
||||
#===------------------------------------------------------------------------===#
|
||||
|
||||
SubDirs :=
|
||||
|
||||
Sources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file)))
|
||||
ObjNames := $(Sources:%.c=%.o)
|
||||
|
||||
Implementation := Generic
|
||||
|
||||
# FIXME: use automatic dependencies?
|
||||
Dependencies := $(wildcard $(Dir)/*.h)
|
||||
|
||||
# Define a convenience variable for all the asan functions.
|
||||
AsanFunctions += $(Sources:%.cc=%)
|
||||
Loading…
Reference in New Issue