Nikolay Kasyanov
02/06/2020, 10:18 AM@Throws
annotation to one of my Kotlin methods:
!dbg attachment points at wrong subprogram for function
!81136 = distinct !DISubprogram(name: "objc2kotlin.3034", linkageName: "objc2kotlin.3034", scope: !75265, file: !75265, type: !75266, spFlags: DISPFlagDefinition, unit: !1293, retainedNodes: !1295)
i8* (i8*, i8*, i8*, i8**)* @objc2kotlin.3034
%9 = alloca [5 x %struct.ObjHeader*], align 8, !dbg !81156
!81156 = !DILocation(line: 296, column: 9, scope: !81157)
!81157 = distinct !DISubprogram(name: "Kotlin_ObjCExport_getWrappedError", linkageName: "Kotlin_ObjCExport_getWrappedError", scope: !290, file: !290, line: 296, type: !1363, spFlags: DISPFlagDefinition, unit: !289, retainedNodes: !1295)
!81157 = distinct !DISubprogram(name: "Kotlin_ObjCExport_getWrappedError", linkageName: "Kotlin_ObjCExport_getWrappedError", scope: !290, file: !290, line: 296, type: !1363, spFlags: DISPFlagDefinition, unit: !289, retainedNodes: !1295)
warning: ignoring invalid debug info in /var/folders/ch/tb8ry3t16mdgwpjqz8yzw5yc0000gn/T/konan_temp6380746194156800718/MyFramework.kt.bc
warning: no debug symbols in executable (-arch x86_64)
And no debug info seems to be generated for the framework (dSYM file shrinks significantly).
there’s a bunch of warnings preceeding:
warning: linking module flags 'SDK Version': IDs have conflicting values ('[2 x i32] [i32 13, i32 0]' from /Users/username/.konan/kotlin-native-macos-1.3.61/klib/platform/ios_x64/Foundation/targets/ios_x64/native/cstubs.bc with '[2 x i32] [i32 13, i32 2]' from out)
This warnings have been here for quite some time (caused by Xcode 11.3 being the active one on my machine I presume) but haven’t caused any issues so far so I’m not sure if they are related to the issue above or not.Artyom Degtyarev [JB]
02/06/2020, 12:22 PM1.3.61
?Nikolay Kasyanov
02/07/2020, 7:50 AM1.3.61
. I’ll try to do that.Nikolay Kasyanov
02/07/2020, 8:34 AMsvyatoslav.scherbina
02/07/2020, 4:04 PMNikolay Kasyanov
02/07/2020, 4:19 PMNikolay Kasyanov
02/10/2020, 11:12 AMsvyatoslav.scherbina
02/10/2020, 4:31 PMNikolay Kasyanov
02/11/2020, 8:15 AM