mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Upgrade debug info tests to the new LLVM debug metadata format.
Thanks to Duncan for helping out with the upgrading! Swift SVN r22512
This commit is contained in:
@@ -3,7 +3,7 @@ func outer(a: Int) -> Int {
|
||||
// Inner functions have a linkage name of "closure[0-9]+", but
|
||||
// their DW_AT_name is preserved.
|
||||
|
||||
// CHECK: i1 false, i1 true, i32 0, i32 0, null, i32 0,{{.*}}[ DW_TAG_subprogram ] [line [[@LINE+1]]] [def] {{.*}}[inner]
|
||||
// CHECK: \00_TFF16nested_functions5outerFSiSiL_5innerfSiSi\00[[@LINE+1]]\000\001\000\000\000\00{{.*}}[ DW_TAG_subprogram ] [line [[@LINE+1]]] [def] {{.*}}[inner]
|
||||
func inner(b: Int) -> Int {
|
||||
return a+b
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user