[compiler-rt] r281687 - [asan] Remove the test as the fix is going to be removed
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 15 18:37:17 PDT 2016
Author: vitalybuka
Date: Thu Sep 15 20:37:17 2016
New Revision: 281687
URL: http://llvm.org/viewvc/llvm-project?rev=281687&view=rev
Log:
[asan] Remove the test as the fix is going to be removed
Summary:
I need to redu solution, existing is not good enough.
PR28267
Reviewers: eugenis
Subscribers: llvm-commits, kubabrecka
Differential Revision: https://reviews.llvm.org/D24490
Removed:
compiler-rt/trunk/test/asan/TestCases/use-after-scope-goto.c
Removed: compiler-rt/trunk/test/asan/TestCases/use-after-scope-goto.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/use-after-scope-goto.c?rev=281686&view=auto
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/use-after-scope-goto.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/use-after-scope-goto.c (removed)
@@ -1,21 +0,0 @@
-// RUN: %clang_asan -O0 -fsanitize-address-use-after-scope %s -o %t && %run %t
-
-// Function jumps over variable initialization making lifetime analysis
-// ambiguous. Asan should ignore such variable and program must not fail.
-
-int *ptr;
-
-void f(int cond) {
- if (cond)
- goto label;
- int tmp = 1;
-
-label:
- ptr = &tmp;
- *ptr = 5;
-}
-
-int main() {
- f(1);
- return 0;
-}
More information about the llvm-commits
mailing list