diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-28 00:11:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-28 00:11:03 +0000 |
commit | 0bbe4b1deebf6c2763adbe0c5fa16ca1173e35cf (patch) | |
tree | 7fd2ae6db15021178cd0e99897eb8d727197ab7f | |
parent | 023b5920092b818a11b738199b1b3a4004ba353d (diff) |
Correct the triple here.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136304 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/debug-info-iv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/debug-info-iv.c b/test/CodeGen/debug-info-iv.c index 55ea659fd8..1d9bf32c2c 100644 --- a/test/CodeGen/debug-info-iv.c +++ b/test/CodeGen/debug-info-iv.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple x86_64-darwin-apple -Os -S -g -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-apple-darwin -Os -S -g -o - %s | FileCheck %s int calculate(int); static void test_indvars(int *Array1, int Array2[100][200]) { @@ -14,13 +14,13 @@ static void test_indvars(int *Array1, int Array2[100][200]) { for (i = 13; i < 100; i++) for (j = 0; j < 100; j+=3) /* 2d array access */ Array2[i][j/3] = Array2[i][i]; -} +} int main() { int Array[100][200], i, j; double sum = 0.0; - + for (i=0; i < 100; i+=2) for (j=0; j < 200; j++) Array[i][j] = 0; @@ -30,6 +30,6 @@ int main() { for (i=0; i < 100; i+=2) for (j=0; j < 200; j++) sum += Array[i][j]; - + return calculate(sum); } |