[PATCH] [sanitizer][MIPS] Add --target flag for MIPS32
Sagar Thakur
Sagar.Thakur at imgtec.com
Fri Apr 24 03:59:40 PDT 2015
REPOSITORY
rL LLVM
================
Comment at: cmake/config-ix.cmake:187
@@ -186,3 +186,3 @@
# regex for mipsel, mips64el
- test_target_arch(mipsel "" "-mips32r2")
- test_target_arch(mips64el "" "-mips64r2 -mabi=n64")
+ test_target_arch(mipsel "" "-mips32r2\t--target=mipsel-linux-gnu")
+ test_target_arch(mips64el "" "-mips64r2\t-mabi=n64")
----------------
I used the tab escape sequence here because while generating asan tests I get the following error :
>Scanning dependencies of target Asan-mips64el-with-calls-Noinst-Test
>[ 76%] Generating ASAN_NOINST_TEST_OBJECTS.gtest-all.cc.mips64el-with-calls.o
>clang-3.7: error: unknown argument: '-mips64r2 -mabi=n64'
http://reviews.llvm.org/D9249
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list