We have the same problem too. We use the GoogleMobileAds framework and that gives this issue after the building process.
!dbg attachment points at wrong subprogram for function
!1288 = distinct !DISubprogram(name: "-[GADNativeAdViewMonitor handleTap:]", scope: !1, file: !1, line: 279, type: !1289, scopeLine: 279, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !1291)
void (%1*, i8*, %11*)* @"\01-[GADNativeAdViewMonitor handleTap:]"
br i1 %303, label %304, label %293, !dbg !1499, !llvm.loop !1506
!1507 = !DILocation(line: 34, column: 3, scope: !1483)
!1483 = distinct !DISubprogram(name: "GADLowestCommonParentViewForViews", scope: !1, file: !1, line: 26, type: !1484, scopeLine: 28, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !1486)
!1483 = distinct !DISubprogram(name: "GADLowestCommonParentViewForViews", scope: !1, file: !1, line: 26, type: !1484, scopeLine: 28, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !1486)
ld: warning: ignoring invalid debug info in /Users/[censored]/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/GoogleMobileAds(GADNativeAdViewMonitor.o)
!dbg attachment points at wrong subprogram for function
!294 = distinct !DISubprogram(name: "GADIssueHandlerSignalHandler", scope: !3, file: !3, line: 514, type: !295, scopeLine: 514, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !299)
void (i32, %struct.__siginfo*, i8*)* @GADIssueHandlerSignalHandler
br i1 %14, label %15, label %8, !dbg !959, !llvm.loop !968
!969 = !DILocation(line: 493, column: 3, scope: !951)
!951 = distinct !DILexicalBlock(scope: !952, file: !3, line: 493, column: 3)
!952 = distinct !DISubprogram(name: "GADIssueHandlerAttachDefaultSignalHandlers", scope: !3, file: !3, line: 492, type: !391, scopeLine: 492, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !953)
ld: warning: ignoring invalid debug info in /Users/[censored]/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/GoogleMobileAds(GADIssueHandler.o)
!dbg attachment points at wrong subprogram for function
!245 = distinct !DISubprogram(name: "-[GADCrashReporter storeEnvironmentInfo]", scope: !3, file: !3, line: 500, type: !246, scopeLine: 500, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !249)
void (%0*, i8*)* @"\01-[GADCrashReporter storeEnvironmentInfo]"
br i1 %194, label %178, label %195, !dbg !920, !llvm.loop !938
!939 = !DILocation(line: 104, column: 3, scope: !788)
!788 = distinct !DILexicalBlock(scope: !772, file: !3, line: 104, column: 3)
!772 = distinct !DISubprogram(name: "GADIsDeveloperBuild", scope: !3, file: !3, line: 59, type: !387, scopeLine: 59, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !773)
ld: warning: ignoring invalid debug info in /Users/[censored]/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/GoogleMobileAds(GADCrashReporter.o)
!dbg attachment points at wrong subprogram for function
!55 = distinct !DISubprogram(name: "GADInflatedDataFromBytes", scope: !1, file: !1, line: 53, type: !56, scopeLine: 53, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !74)
%0* (i8*, i64)* @GADInflatedDataFromBytes
br label %38, !dbg !188, !llvm.loop !207
!208 = !DILocation(line: 28, column: 3, scope: !151)
!151 = distinct !DISubprogram(name: "GADInflateStream", scope: !1, file: !1, line: 20, type: !152, scopeLine: 20, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !156)
!151 = distinct !DISubprogram(name: "GADInflateStream", scope: !1, file: !1, line: 20, type: !152, scopeLine: 20, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !156)
ld: warning: ignoring invalid debug info in /Users/[censored]/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/GoogleMobileAds(GADDataCompression.o)
!dbg attachment points at wrong subprogram for function
!1349 = distinct !DISubprogram(name: "__61-[GADSafeBrowsingMonitor observeNotificationName:usingBlock:]_block_invoke", scope: !3, file: !3, line: 184, type: !1350, scopeLine: 184, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !1352)
void (i8*, %15*)* @"__61-[GADSafeBrowsingMonitor observeNotificationName:usingBlock:]_block_invoke"
i1 %44, label %54, label %36, !dbg !1410, !llvm.loop !1417
!1418 = !DILocation(line: 38, column: 3, scope: !1403)
!1403 = distinct !DILexicalBlock(scope: !1397, file: !3, line: 38, column: 3)
!1397 = distinct !DISubprogram(name: "GADEventContextHasAncestor", scope: !3, file: !3, line: 36, type: !1398, scopeLine: 37, fl-----ags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !1400)
ld: warning: ignoring invalid debug info in /Users/[censored]/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/GoogleMobileAds(GADSafeBrowsingMonitor.o)
!dbg attachment points at wrong subprogram for function
!277 = distinct !DISubprogram(name: "-[GADContent updateContentWithText:]", scope: !1, file: !1, line: 198, type: !278, scopeLine: 198, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !280)
void (%1*, i8*, %0*)* @"\01-[GADContent updateContentWithText:]"
br i1 %210, label %169, label %164, !dbg !418, !llvm.loop !475
!476 = !DILocation(line: 114, column: 3, scope: !397)
!397 = distinct !DILexicalBlock(scope: !355, file: !1, line: 114, column: 3)
!355 = distinct !DISubprogram(name: "GADTokenComponentsWithString", scope: !1, file: !1, line: 108, type: !356, scopeLine: 108, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !358)
ld: warning: ignoring invalid debug info in /Users/[censored]/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/GoogleMobileAds(GADContent.o)
!dbg attachment points at wrong subprogram for function
!549 = distinct !DISubprogram(name: "GADNativeAdSignalForAdViewAndAssetViews", scope: !1, file: !1, line: 148, type: !550, scopeLine: 150, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !943)
%2* (%4*, %3*, %4*, %5*)* @GADNativeAdSignalForAdViewAndAssetViews
br i1 %94, label %95, label %82, !dbg !1233, !llvm.loop !1244
!1245 = !DILocation(line: 34, column: 3, scope: !1224)
!1224 = distinct !DISubprogram(name: "GADScrollViewContainingView", scope: !1, file: !1, line: 32, type: !1225, scopeLine: 32, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !1227)
!1224 = distinct !DISubprogram(name: "GADScrollViewContainingView", scope: !1, file: !1, line: 32, type: !1225, scopeLine: 32, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !1227)
ld: warning: ignoring invalid debug info in /Users/[censored]/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/GoogleMobileAds(GADNativeAdSignalCollector.o)