diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-04 19:45:16 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-01-04 19:45:16 +0000 |
| commit | 7cae94e74c7092f29f9fc583eadb2d350c486028 (patch) | |
| tree | 705b75952d8620d0a147841076e6ef4fdc285392 /clang/test/OpenMP | |
| parent | 1ef3a778ac47564aa5a7f04bbf572d22d1c616fb (diff) | |
| download | bcm5719-llvm-7cae94e74c7092f29f9fc583eadb2d350c486028.tar.gz bcm5719-llvm-7cae94e74c7092f29f9fc583eadb2d350c486028.zip | |
[OPENMP] Add debug info for generated functions.
Most of the generated functions for the OpenMP were generated with
disabled debug info. Patch fixes this for better user experience.
llvm-svn: 321816
Diffstat (limited to 'clang/test/OpenMP')
| -rw-r--r-- | clang/test/OpenMP/target_parallel_debug_codegen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/OpenMP/target_parallel_debug_codegen.cpp b/clang/test/OpenMP/target_parallel_debug_codegen.cpp index 385f7a29cb8..9fad2837be5 100644 --- a/clang/test/OpenMP/target_parallel_debug_codegen.cpp +++ b/clang/test/OpenMP/target_parallel_debug_codegen.cpp @@ -116,8 +116,8 @@ int main() { // CHECK: !DILocalVariable(name: ".bound_tid.", // CHECK-SAME: DIFlagArtificial // CHECK: !DILocalVariable(name: "c", -// CHECK-SAMEi-NOT: DIFlagArtificial +// CHECK-SAME: line: 11 // CHECK: !DILocalVariable(name: "a", -// CHECK-SAMEi-NOT: DIFlagArtificial +// CHECK-SAME: line: 9 // CHECK: !DILocalVariable(name: "b", -// CHECK-SAMEi-NOT: DIFlagArtificial +// CHECK-SAME: line: 10 |

