diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-10-03 07:23:03 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-10-03 07:23:03 +0000 |
commit | 2985cbc3c08f4da6602679ff6df11b6abe3f11e0 (patch) | |
tree | 8863306ec521a1d1c7bc25828c6e080ae3b64b9a /runtime | |
parent | c950bc92e69910b667d7a3dea24e4afc8abdc7e5 (diff) | |
download | clang-2985cbc3c08f4da6602679ff6df11b6abe3f11e0.tar.gz |
Make sure 32-bit ASan runtime is available on 64-bit Linux platforms
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/compiler-rt/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/compiler-rt/Makefile b/runtime/compiler-rt/Makefile index 2815f1783a..58cb7fdaaf 100644 --- a/runtime/compiler-rt/Makefile +++ b/runtime/compiler-rt/Makefile @@ -92,6 +92,10 @@ endif 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 |