diff options
author | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2013-08-30 08:53:09 +0000 |
---|---|---|
committer | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2013-08-30 08:53:09 +0000 |
commit | 0ebf1bb150b36128098a9f269d708361c4feebfa (patch) | |
tree | 66e16fdc2b917abcb5861f90294e0b2eb9c349ab /clang/test/CodeGen/debug-info-scope.c | |
parent | 58934986f220dec8b75a76c2de03db029b65f336 (diff) | |
download | bcm5719-llvm-0ebf1bb150b36128098a9f269d708361c4feebfa.tar.gz bcm5719-llvm-0ebf1bb150b36128098a9f269d708361c4feebfa.zip |
Revert r189649 because it was breaking sanitizer bots.
llvm-svn: 189660
Diffstat (limited to 'clang/test/CodeGen/debug-info-scope.c')
-rw-r--r-- | clang/test/CodeGen/debug-info-scope.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/clang/test/CodeGen/debug-info-scope.c b/clang/test/CodeGen/debug-info-scope.c index 05cd299ff36..9decaeafd50 100644 --- a/clang/test/CodeGen/debug-info-scope.c +++ b/clang/test/CodeGen/debug-info-scope.c @@ -1,16 +1,7 @@ // RUN: %clang_cc1 -g -emit-llvm < %s | FileCheck %s - -// Make sure that the debug info of the local variable d does not shadow -// the global variable d -// CHECK: [ DW_TAG_variable ] [d] [line 6] [def] -const int d = 100; - // Two variables with same name in separate scope. // Radar 8330217. int main() { -// CHECK-NOT: [ DW_TAG_variable ] [d] [line 13] -// CHECK: [ DW_TAG_auto_variable ] [d] [line 13] - const int d = 4; int j = 0; int k = 0; // CHECK: DW_TAG_auto_variable ] [i] @@ -21,5 +12,5 @@ int main() { // CHECK-NEXT: DW_TAG_lexical_block for (int i = 0; i < 10; i++) k++; - return d; // make a reference to d so that its debug info gets included + return 0; } |