Provide test source mapping data for separate and non-separate compilation

Compilation in same module or in separate ones
This commit is contained in:
Mikhael Bogdanov
2017-12-20 14:22:39 +01:00
parent f4f7c83eeb
commit b65dcf27ee
6 changed files with 163 additions and 10 deletions
@@ -112,7 +112,7 @@ test/_1Kt$kValue$1
1#1,38:1
*E
// FILE: 2.smap
// FILE: 2.smap-nonseparate-compilation
SMAP
2.kt
@@ -137,4 +137,66 @@ _2Kt
*L
5#1,5:9
5#1:14
*E
// FILE: 2.smap-separate-compilation
SMAP
2.kt
Kotlin
*S Kotlin
*F
+ 1 2.kt
_2Kt
+ 2 1.kt
test/_1Kt
+ 3 1.kt
test/_1Kt$lParams$1
*L
1#1,8:1
31#2,5:9
32#3:14
*E
*S KotlinDebug
*F
+ 1 2.kt
_2Kt
*L
5#1,5:9
5#1:14
*E
SMAP
1.kt
Kotlin
*S Kotlin
*F
+ 1 1.kt
test/_1Kt$lParams$1$1
+ 2 1.kt
test/_1Kt
*L
1#1,38:1
29#2:39
*E
*S KotlinDebug
*F
+ 1 1.kt
test/_1Kt$lParams$1$1
*L
32#1:39
*E
SMAP
1.kt
Kotlin
*S Kotlin
*F
+ 1 1.kt
test/_1Kt$kValue$1
+ 2 1.kt
test/_1Kt$lParams$1$1
*L
1#1,38:1
32#2:39
*E
@@ -101,7 +101,7 @@ test/_1Kt$kValue$1
1#1,38:1
*E
// FILE: 2.smap
// FILE: 2.smap-nonseparate-compilation
SMAP
2.kt
@@ -128,4 +128,47 @@ _2Kt
5#1,5:9
5#1:15
5#1:14
*E
// FILE: 2.smap-separate-compilation
SMAP
2.kt
Kotlin
*S Kotlin
*F
+ 1 2.kt
_2Kt
+ 2 1.kt
test/_1Kt
+ 3 1.kt
test/_1Kt$lParams$1
*L
1#1,8:1
31#2,5:9
29#2:15
32#3:14
*E
*S KotlinDebug
*F
+ 1 2.kt
_2Kt
*L
5#1,5:9
5#1:15
5#1:14
*E
SMAP
1.kt
Kotlin
*S Kotlin
*F
+ 1 1.kt
test/_1Kt$kValue$1
+ 2 1.kt
test/_1Kt$lParams$1
*L
1#1,38:1
32#2:39
*E
@@ -103,7 +103,7 @@ test/_1Kt$kValue$1
1#1,38:1
*E
// FILE: 2.smap
// FILE: 2.smap-nonseparate-compilation
SMAP
2.kt
@@ -130,4 +130,46 @@ _2Kt
5#1,5:11
5#1:17
5#1:16
*E
// FILE: 2.smap-separate-compilation
SMAP
2.kt
Kotlin
*S Kotlin
*F
+ 1 2.kt
_2Kt
+ 2 1.kt
test/_1Kt
+ 3 1.kt
test/_1Kt$lParams$1
*L
1#1,10:1
31#2,5:11
29#2:17
32#3:16
*E
*S KotlinDebug
*F
+ 1 2.kt
_2Kt
*L
5#1,5:11
5#1:17
5#1:16
*E
SMAP
1.kt
Kotlin
*S Kotlin
*F
+ 1 1.kt
test/_1Kt$kValue$1
+ 2 1.kt
test/_1Kt$lParams$1
*L
1#1,38:1
32#2:39
*E