diff options
author | Paul Robinson <paul.robinson@sony.com> | 2017-09-29 21:25:07 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2017-09-29 21:25:07 +0000 |
commit | a82808115e03254e70436bf9f7e98e3f82741611 (patch) | |
tree | fd4c3f7892be16fce06dff91e3d84f5a11b79022 /clang/test/CodeGenCXX/debug-info-anon-namespace.cpp | |
parent | 3e08f66bb0f46d1065671afb6357d9162213606e (diff) | |
download | bcm5719-llvm-a82808115e03254e70436bf9f7e98e3f82741611.tar.gz bcm5719-llvm-a82808115e03254e70436bf9f7e98e3f82741611.zip |
[PS4] Tidy up some debug-tuning v. triple decision-making.
llvm-svn: 314558
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-anon-namespace.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-anon-namespace.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-anon-namespace.cpp b/clang/test/CodeGenCXX/debug-info-anon-namespace.cpp index 3f4ef2a3836..56c8528abde 100644 --- a/clang/test/CodeGenCXX/debug-info-anon-namespace.cpp +++ b/clang/test/CodeGenCXX/debug-info-anon-namespace.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-scei-ps4 -O0 %s -o - | FileCheck --check-prefix=PS4 %s -// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -triple x86_64-unknown-linux-gnu -O0 %s -o - | FileCheck --check-prefix=NON-PS4 %s +// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -dwarf-explicit-import -O0 %s -o - | FileCheck --check-prefix=IMPORT %s +// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -O0 %s -o - | FileCheck --check-prefix=NOIMPORT %s namespace { @@ -17,11 +17,9 @@ namespace int *b1 = &a1; int *b2 = &a2; - -// PS4: [[NS:![0-9]+]] = !DINamespace -// PS4: [[CU:![0-9]+]] = distinct !DICompileUnit -// PS4: [[NS2:![0-9]+]] = !DINamespace -// PS4: !DIImportedEntity(tag: DW_TAG_imported_module, scope: [[CU]], entity: [[NS]], file: {{![0-9]+}}) -// PS4: !DIImportedEntity(tag: DW_TAG_imported_module, scope: [[NS]], entity: [[NS2]], file: {{![0-9]+}}, line: {{[0-9]+}}) -// NON-PS4-NOT: !DIImportedEntity - +// IMPORT: [[NS:![0-9]+]] = !DINamespace +// IMPORT: [[CU:![0-9]+]] = distinct !DICompileUnit +// IMPORT: [[NS2:![0-9]+]] = !DINamespace +// IMPORT: !DIImportedEntity(tag: DW_TAG_imported_module, scope: [[CU]], entity: [[NS]], file: {{![0-9]+}}) +// IMPORT: !DIImportedEntity(tag: DW_TAG_imported_module, scope: [[NS]], entity: [[NS2]], file: {{![0-9]+}}, line: {{[0-9]+}}) +// NOIMPORT-NOT: !DIImportedEntity |