diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2018-02-13 07:49:34 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2018-02-13 07:49:34 +0000 |
commit | 9084a3b118498c2f6b6a179578d3e00ea6fd0ef7 (patch) | |
tree | 12771915439d3dc0a650844e49856a89c64fecf5 /clang/test/OpenMP/target_codegen.cpp | |
parent | 7873648f876be5a1ec9d8a1d51b469172b16703c (diff) | |
download | bcm5719-llvm-9084a3b118498c2f6b6a179578d3e00ea6fd0ef7.tar.gz bcm5719-llvm-9084a3b118498c2f6b6a179578d3e00ea6fd0ef7.zip |
[DebugInfo] Avoid name conflict of generated VLA expression variable.
Summary:
This patch also adds the 'DW_AT_artificial' flag to the generated variable.
Addresses the issues mentioned in http://llvm.org/PR30553.
Reviewers: CarlosAlbertoEnciso, probinson, aprantl
Reviewed By: aprantl
Subscribers: JDevlieghere, cfe-commits
Differential Revision: https://reviews.llvm.org/D43189
llvm-svn: 324988
Diffstat (limited to 'clang/test/OpenMP/target_codegen.cpp')
-rw-r--r-- | clang/test/OpenMP/target_codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/target_codegen.cpp b/clang/test/OpenMP/target_codegen.cpp index 35192904383..2c0dfd8cf7c 100644 --- a/clang/test/OpenMP/target_codegen.cpp +++ b/clang/test/OpenMP/target_codegen.cpp @@ -511,7 +511,7 @@ int bar(int n){ // CHECK-64: store i32 %{{.+}}, i32* [[B_ADDR]], // CHECK-64: [[B_CVAL:%.+]] = load i[[SZ]], i[[SZ]]* [[B_CADDR]], -// CHECK-32: store i32 %{{.+}}, i32* %vla_expr +// CHECK-32: store i32 %{{.+}}, i32* %__vla_expr // CHECK-32: store i32 %{{.+}}, i32* [[B_ADDR:%.+]], // CHECK-32: [[B_CVAL:%.+]] = load i[[SZ]], i[[SZ]]* [[B_ADDR]], |