[llvm-commits] [compiler-rt] r161113 - in /compiler-rt/trunk/lib: asan/Makefile.mk tsan/rtl/Makefile.mk
Alexey Samsonov
samsonov at google.com
Wed Aug 1 07:55:50 PDT 2012
Author: samsonov
Date: Wed Aug 1 09:55:49 2012
New Revision: 161113
URL: http://llvm.org/viewvc/llvm-project?rev=161113&view=rev
Log:
[Sanitizer] Make ASan/TSan sources depend on headers from interception library
Modified:
compiler-rt/trunk/lib/asan/Makefile.mk
compiler-rt/trunk/lib/tsan/rtl/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=161113&r1=161112&r2=161113&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/Makefile.mk (original)
+++ compiler-rt/trunk/lib/asan/Makefile.mk Wed Aug 1 09:55:49 2012
@@ -17,8 +17,8 @@
# FIXME: use automatic dependencies?
Dependencies := $(wildcard $(Dir)/*.h)
-Dependencies += $(wildcard $(Dir)/interception/*.h)
-Dependencies += $(wildcard $(Dir)/interception/mach_override/*.h)
+Dependencies += $(wildcard $(Dir)/../interception/*.h)
+Dependencies += $(wildcard $(Dir)/../interception/mach_override/*.h)
# Define a convenience variable for all the asan functions.
AsanFunctions := $(Sources:%.cc=%)
Modified: compiler-rt/trunk/lib/tsan/rtl/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/Makefile.mk?rev=161113&r1=161112&r2=161113&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/Makefile.mk (original)
+++ compiler-rt/trunk/lib/tsan/rtl/Makefile.mk Wed Aug 1 09:55:49 2012
@@ -18,6 +18,8 @@
# FIXME: use automatic dependencies?
Dependencies := $(wildcard $(Dir)/*.h)
+Dependencies += $(wildcard $(Dir)/../../interception/*.h)
+Dependencies += $(wildcard $(Dir)/../../interception/mach_override/*.h)
# Define a convenience variable for all the tsan functions.
TsanFunctions += $(Sources:%.cc=%) $(AsmSources:%.S=%)
More information about the llvm-commits
mailing list