Skip to content

Instantly share code, notes, and snippets.

@philipc

philipc/fail1.ll Secret

Created September 14, 2021 06:17
Show Gist options
  • Save philipc/59f8c1acf6c55ffdbf917c2c95d80772 to your computer and use it in GitHub Desktop.
Save philipc/59f8c1acf6c55ffdbf917c2c95d80772 to your computer and use it in GitHub Desktop.
rust-issue-66118
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "2qq2wmm8cm9jn1nk"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define void @_ZN3std2rt19lang_start_internal17hea1b49a567afe309E() unnamed_addr !dbg !5 {
ret void, !dbg !8
}
define void @_ZN4core3fmt9Formatter3pad17hc783db844e0d594fE() unnamed_addr !dbg !16 {
ret void, !dbg !17
}
!llvm.module.flags = !{!0}
!llvm.dbg.cu = !{!1, !3}
!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !2, producer: "clang LLVM (rustc version 1.38.0 (625451e37 2019-09-23))", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug)
!2 = !DIFile(filename: "src/libstd/lib.rs", directory: "/rustc/")
!3 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !4, producer: "clang LLVM (rustc version 1.38.0 (625451e37 2019-09-23))", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug)
!4 = !DIFile(filename: "src/libcore/lib.rs", directory: "/rustc/")
!5 = distinct !DISubprogram(name: "lang_start_internal", scope: null, type: !6, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !1)
!6 = !DISubroutineType(types: !7)
!7 = !{}
!8 = !DILocation(line: 316, scope: !9, inlinedAt: !15)
!9 = distinct !DISubprogram(name: "new_v1", scope: !10, type: !6, scopeLine: 314, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !1)
!10 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "ArgumentV1", file: !11, size: 128, align: 64, elements: !12)
!11 = !DIFile(filename: "<unknown>", directory: "")
!12 = !{!13}
!13 = !DIDerivedType(tag: DW_TAG_member, name: "formatter", scope: !10, file: !11, baseType: !14, size: 64, align: 64, offset: 64)
!14 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Formatter", file: !11, size: 768, align: 64, elements: !7)
!15 = distinct !DILocation(line: 33, scope: !5)
!16 = distinct !DISubprogram(name: "pad", scope: !14, file: !11, line: 1275, type: !6, scopeLine: 1275, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !3)
!17 = !DILocation(line: 313, scope: !18, inlinedAt: !19)
!18 = distinct !DISubprogram(name: "nth<core::str::CharIndices>", scope: null, type: !6, scopeLine: 312, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !3)
!19 = distinct !DILocation(line: 1286, scope: !16)
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "dwarf_error.a3o95zde-cgu.0"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define dso_local fastcc void @_ZN7tracing15__macro_support13MacroCallsite8register17h007d22f855eee8dcE() unnamed_addr #0 !dbg !12 {
ret void, !dbg !15
}
attributes #0 = { "target-cpu"="x86-64" }
!llvm.dbg.cu = !{!0, !3}
!llvm.module.flags = !{!11}
!0 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !1, producer: "clang LLVM (rustc version 1.53.0 (53cb7b09b 2021-06-17))", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, globals: !2)
!1 = !DIFile(filename: "/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-0.1.26/src/lib.rs", directory: "/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-0.1.26")
!2 = !{}
!3 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !4, producer: "clang LLVM (rustc version 1.53.0 (53cb7b09b 2021-06-17))", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, globals: !5)
!4 = !DIFile(filename: "/.cargo/registry/src/github.com-1ecc6299db9ec823/tonic-0.5.2/src/lib.rs", directory: "/.cargo/registry/src/github.com-1ecc6299db9ec823/tonic-0.5.2")
!5 = !{!6}
!6 = !DIGlobalVariableExpression(var: !7, expr: !DIExpression())
!7 = distinct !DIGlobalVariable(name: "CALLSITE", linkageName: "_ZN5tonic6status4Code9parse_err8CALLSITE17h9b2960ce3efb3ddcE", scope: null, file: !8, line: 643, type: !9, isLocal: true, isDefinition: true, align: 8)
!8 = !DIFile(filename: "/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-0.1.26/src/macros.rs", directory: "", checksumkind: CSK_MD5, checksum: "cee51202bd9d1786cc4c1abbd54af390")
!9 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "MacroCallsite", file: !10, size: 192, align: 64, elements: !2, templateParams: !2, identifier: "9dab3eee99df466fb398f8132e5da270")
!10 = !DIFile(filename: "<unknown>", directory: "")
!11 = !{i32 2, !"Debug Info Version", i32 3}
!12 = distinct !DISubprogram(name: "register", linkageName: "_ZN7tracing15__macro_support13MacroCallsite8register17h007d22f855eee8dcE", scope: !9, file: !13, line: 990, type: !14, scopeLine: 990, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, templateParams: !2, retainedNodes: !2)
!13 = !DIFile(filename: "/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-0.1.26/src/lib.rs", directory: "/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-0.1.26", checksumkind: CSK_MD5, checksum: "f809e52a135edea2c3fe009cc1d8358f")
!14 = !DISubroutineType(types: !2)
!15 = !DILocation(line: 1492, column: 26, scope: !16, inlinedAt: !18)
!16 = distinct !DISubprogram(name: "atomic_load<usize>", linkageName: "_ZN4core4sync6atomic11atomic_load17hccba9a1ebda00633E", scope: null, file: !17, line: 2349, type: !14, scopeLine: 2349, flags: DIFlagPrototyped, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !0, templateParams: !2, retainedNodes: !2)
!17 = !DIFile(filename: "/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/sync/atomic.rs", directory: "", checksumkind: CSK_MD5, checksum: "ebe96a7505715f44e7b132396b6590cc")
!18 = distinct !DILocation(line: 993, column: 19, scope: !12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment