projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
428058f
)
Add comments to debug info testing case.
author
Manman Ren
<manman.ren@gmail.com>
Fri, 1 Aug 2014 01:47:13 +0000
(
01:47
+0000)
committer
Manman Ren
<manman.ren@gmail.com>
Fri, 1 Aug 2014 01:47:13 +0000
(
01:47
+0000)
llvm-svn: 214472
clang/test/CodeGenCXX/debug-info-varargs.cpp
patch
|
blob
|
history
diff --git
a/clang/test/CodeGenCXX/debug-info-varargs.cpp
b/clang/test/CodeGenCXX/debug-info-varargs.cpp
index
6318650
..
491b97d
100644
(file)
--- a/
clang/test/CodeGenCXX/debug-info-varargs.cpp
+++ b/
clang/test/CodeGenCXX/debug-info-varargs.cpp
@@
-5,6
+5,7
@@
struct A
// CHECK-DAG: ", i32 [[@LINE+1]], metadata ![[ATY:[0-9]+]]{{.*}}[ DW_TAG_subprogram ]{{.*}}[a]
void a(int c, ...) {}
// CHECK: ![[ATY]] ={{.*}} metadata ![[AARGS:[0-9]+]], i32 0, null, null, null} ; [ DW_TAG_subroutine_type ]
+ // We no longer use an explicit unspecified parameter. Instead we use a trailing null to mean the function is variadic.
// CHECK: ![[AARGS]] = metadata !{null, metadata !{{[0-9]+}}, metadata !{{[0-9]+}}, null}
};