[cfe-commits] r165097 - /cfe/trunk/runtime/compiler-rt/Makefile
Alexey Samsonov
samsonov at google.com
Wed Oct 3 00:23:03 PDT 2012
Author: samsonov
Date: Wed Oct 3 02:23:03 2012
New Revision: 165097
URL: http://llvm.org/viewvc/llvm-project?rev=165097&view=rev
Log:
Make sure 32-bit ASan runtime is available on 64-bit Linux platforms
Modified:
cfe/trunk/runtime/compiler-rt/Makefile
Modified: cfe/trunk/runtime/compiler-rt/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/compiler-rt/Makefile?rev=165097&r1=165096&r2=165097&view=diff
==============================================================================
--- cfe/trunk/runtime/compiler-rt/Makefile (original)
+++ cfe/trunk/runtime/compiler-rt/Makefile Wed Oct 3 02:23:03 2012
@@ -92,6 +92,10 @@
ifeq ($(ARCH),x86_64)
RuntimeLibrary.linux.Configs += \
full-x86_64.a profile-x86_64.a asan-x86_64.a tsan-x86_64.a
+# We assume that 32-bit ASan library can be built by Clang on 64-bit platform,
+# and add it to the list of runtime libraries so that
+# "clang -faddress-sanitizer -m32" would work.
+RuntimeLibrary.linux.Configs += asan-i386.a
endif
endif
More information about the cfe-commits
mailing list