summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-04-15 15:55:45 +0000
committerAdrian Prantl <aprantl@apple.com>2016-04-15 15:55:45 +0000
commite76bda544bbf52d9ff3b55e6018b494a1e6bbc00 (patch)
tree5dcd4f94a05beea7105799c296affab42e3afcb2 /clang/test/CodeGenCXX/debug-info.cpp
parent9585fc13f19bbb8f7b5de831c3a251747aae282e (diff)
downloadbcm5719-llvm-e76bda544bbf52d9ff3b55e6018b494a1e6bbc00.tar.gz
bcm5719-llvm-e76bda544bbf52d9ff3b55e6018b494a1e6bbc00.zip
Update to match LLVM changes for PR27284.
(Reverse the ownership between DICompileUnit and DISubprogram.) http://reviews.llvm.org/D19034 <rdar://problem/25256815> llvm-svn: 266445
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/debug-info.cpp b/clang/test/CodeGenCXX/debug-info.cpp
index 29ed9e93156..394d8792fd8 100644
--- a/clang/test/CodeGenCXX/debug-info.cpp
+++ b/clang/test/CodeGenCXX/debug-info.cpp
@@ -114,9 +114,6 @@ foo func(foo f) {
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "b"
// CHECK-SAME: DIFlagFwdDecl
-// CHECK: [[FUNC:![0-9]+]] = distinct !DISubprogram(name: "func", linkageName: "_ZN7pr147634funcENS_3fooE"
-// CHECK-SAME: type: [[FUNC_TYPE:![0-9]*]]
-// CHECK-SAME: isDefinition: true
}
void foo() {
@@ -141,6 +138,10 @@ incomplete (*x)[3];
// CHECK-SAME: baseType: !"_ZTSN6pr960810incompleteE"
}
+// CHECK: [[FUNC:![0-9]+]] = distinct !DISubprogram(name: "func", linkageName: "_ZN7pr147634funcENS_3fooE"
+// CHECK-SAME: type: [[FUNC_TYPE:![0-9]*]]
+// CHECK-SAME: isDefinition: true
+
// For some reason function arguments ended up down here
// CHECK: ![[F]] = !DILocalVariable(name: "f", arg: 1, scope: [[FUNC]]
// CHECK-SAME: type: !"[[FOO]]"
OpenPOWER on IntegriCloud