diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-04-15 15:55:45 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-04-15 15:55:45 +0000 |
commit | e76bda544bbf52d9ff3b55e6018b494a1e6bbc00 (patch) | |
tree | 5dcd4f94a05beea7105799c296affab42e3afcb2 /clang/test/CodeGenCXX/debug-info-function-context.cpp | |
parent | 9585fc13f19bbb8f7b5de831c3a251747aae282e (diff) | |
download | llvm-e76bda544bbf52d9ff3b55e6018b494a1e6bbc00.zip llvm-e76bda544bbf52d9ff3b55e6018b494a1e6bbc00.tar.gz llvm-e76bda544bbf52d9ff3b55e6018b494a1e6bbc00.tar.bz2 |
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-function-context.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-function-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-function-context.cpp b/clang/test/CodeGenCXX/debug-info-function-context.cpp index 24f9f1b..47a8d4d 100644 --- a/clang/test/CodeGenCXX/debug-info-function-context.cpp +++ b/clang/test/CodeGenCXX/debug-info-function-context.cpp @@ -26,11 +26,11 @@ int global_namespace_variable = 1; // function has the file as a context. // CHECK: ![[FILE:[0-9]+]] = !DIFile(filename: "{{.*}}context.cpp", +// CHECK: ![[NS:.*]] = !DINamespace(name: "ns" // CHECK: !DISubprogram(name: "member_function",{{.*}} scope: !"_ZTS1C",{{.*}} isDefinition: true // CHECK: !DISubprogram(name: "static_member_function",{{.*}} scope: !"_ZTS1C",{{.*}} isDefinition: true // CHECK: !DISubprogram(name: "global_function",{{.*}} scope: ![[FILE]],{{.*}} isDefinition: true -// CHECK: !DISubprogram(name: "global_namespace_function",{{.*}} scope: ![[NS:[0-9]+]],{{.*}} isDefinition: true -// CHECK: ![[NS]] = !DINamespace(name: "ns" +// CHECK: !DISubprogram(name: "global_namespace_function",{{.*}} scope: ![[NS]],{{.*}} isDefinition: true |