[PATCH] D21117: Specify target in lifetime-asan test.
vitalybuka created this revision. vitalybuka added reviewers: pcc, eugenis. vitalybuka added subscribers: kubabrecka, chapuni, christof, cfe-commits. Some target platforms -fsanitize=address. http://reviews.llvm.org/D21117 Files: test/CodeGen/lifetime-asan.c Index: test/CodeGen/lifetime-asan.c === --- test/CodeGen/lifetime-asan.c +++ test/CodeGen/lifetime-asan.c @@ -1,8 +1,7 @@ -// RUN: %clang -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0 -// RUN: %clang -S -emit-llvm -o - -O0 \ +// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0 +// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 \ // RUN: -fsanitize=address -fsanitize-address-use-after-scope %s | \ // RUN: FileCheck %s -check-prefix=CHECK-ASAN-USE-AFTER-SCOPE -// UNSUPPORTED: mingw32 extern int bar(char *A, int n); Index: test/CodeGen/lifetime-asan.c === --- test/CodeGen/lifetime-asan.c +++ test/CodeGen/lifetime-asan.c @@ -1,8 +1,7 @@ -// RUN: %clang -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0 -// RUN: %clang -S -emit-llvm -o - -O0 \ +// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0 +// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 \ // RUN: -fsanitize=address -fsanitize-address-use-after-scope %s | \ // RUN: FileCheck %s -check-prefix=CHECK-ASAN-USE-AFTER-SCOPE -// UNSUPPORTED: mingw32 extern int bar(char *A, int n); ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Re: [PATCH] D21117: Specify target in lifetime-asan test.
yaron.keren added a subscriber: yaron.keren. yaron.keren accepted this revision. yaron.keren added a reviewer: yaron.keren. yaron.keren added a comment. This revision is now accepted and ready to land. You mean Some target platforms do not support -fsanitize=address. http://reviews.llvm.org/D21117 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Re: [PATCH] D21117: Specify target in lifetime-asan test.
christof accepted this revision. christof added a reviewer: christof. christof added a comment. I've tested it and it removes the issue I saw. The following error is gone: clang-3.9: error: unsupported option '-fsanitize=address' for target 'aarch64-arm-none-eabi’ Thanks http://reviews.llvm.org/D21117 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Re: [PATCH] D21117: Specify target in lifetime-asan test.
This revision was automatically updated to reflect the committed changes. Closed by commit rL272185: Specify target in lifetime-asan test. (authored by vitalybuka). Changed prior to commit: http://reviews.llvm.org/D21117?vs=59987&id=60071#toc Repository: rL LLVM http://reviews.llvm.org/D21117 Files: cfe/trunk/test/CodeGen/lifetime-asan.c Index: cfe/trunk/test/CodeGen/lifetime-asan.c === --- cfe/trunk/test/CodeGen/lifetime-asan.c +++ cfe/trunk/test/CodeGen/lifetime-asan.c @@ -1,8 +1,7 @@ -// RUN: %clang -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0 -// RUN: %clang -S -emit-llvm -o - -O0 \ +// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0 +// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 \ // RUN: -fsanitize=address -fsanitize-address-use-after-scope %s | \ // RUN: FileCheck %s -check-prefix=CHECK-ASAN-USE-AFTER-SCOPE -// UNSUPPORTED: mingw32 extern int bar(char *A, int n); Index: cfe/trunk/test/CodeGen/lifetime-asan.c === --- cfe/trunk/test/CodeGen/lifetime-asan.c +++ cfe/trunk/test/CodeGen/lifetime-asan.c @@ -1,8 +1,7 @@ -// RUN: %clang -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0 -// RUN: %clang -S -emit-llvm -o - -O0 \ +// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 %s | FileCheck %s -check-prefix=CHECK-O0 +// RUN: %clang -target x86_64-linux-gnu -S -emit-llvm -o - -O0 \ // RUN: -fsanitize=address -fsanitize-address-use-after-scope %s | \ // RUN: FileCheck %s -check-prefix=CHECK-ASAN-USE-AFTER-SCOPE -// UNSUPPORTED: mingw32 extern int bar(char *A, int n); ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits