Skip to content

LLVM error #56271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bjorn3 opened this issue Nov 27, 2018 · 1 comment
Closed

LLVM error #56271

bjorn3 opened this issue Nov 27, 2018 · 1 comment

Comments

@bjorn3
Copy link
Member

bjorn3 commented Nov 27, 2018

!dbg attachment points at wrong subprogram for function
!766 = distinct !DISubprogram(name: "deserialize<serde_json::de::MapKey<serde_json::read::StrRead>>", linkageName: "_ZN5serde2de5impls89_$LT$impl$u20$serde..de..Deserialize$LT$$u27$de$GT$$u20$for$u20$alloc..string..String$GT$11deserialize17h5c6b0e7c1c46966eE", scope: !768, file: !767, line: 418, type: !772, isLocal: true, isDefinition: true, scopeLine: 418, flags: DIFlagPrototyped, isOptimized: true, unit: !193, templateParams: !860, retainedNodes: !858)
void (%"core::result::Result<alloc::string::String, error::Error>"*, i64*)* @"_ZN5serde2de5impls89_$LT$impl$u20$serde..de..Deserialize$LT$$u27$de$GT$$u20$for$u20$alloc..string..String$GT$11deserialize17h5c6b0e7c1c46966eE"
  call void @llvm.dbg.value(metadata [0 x i8]* %27, metadata !1010, metadata !DIExpression(DW_OP_LLVM_fragment, 0, 64)), !dbg !1018
!1018 = !DILocation(line: 1, scope: !1011)
!1011 = distinct !DISubprogram(name: "visit_str<serde_json::error::Error>", linkageName: "_ZN85_$LT$serde..de..impls..StringVisitor$u20$as$u20$serde..de..Visitor$LT$$u27$de$GT$$GT$9visit_str17h96701e21a65abda4E", scope: !768, file: !767, line: 322, type: !1012, isLocal: true, isDefinition: true, scopeLine: 322, flags: DIFlagPrototyped, isOptimized: true, unit: !193, templateParams: !1016, retainedNodes: !1014)
!1011 = distinct !DISubprogram(name: "visit_str<serde_json::error::Error>", linkageName: "_ZN85_$LT$serde..de..impls..StringVisitor$u20$as$u20$serde..de..Visitor$LT$$u27$de$GT$$GT$9visit_str17h96701e21a65abda4E", scope: !768, file: !767, line: 322, type: !1012, isLocal: true, isDefinition: true, scopeLine: 322, flags: DIFlagPrototyped, isOptimized: true, unit: !193, templateParams: !1016, retainedNodes: !1014)
!dbg attachment points at wrong subprogram for function
!766 = distinct !DISubprogram(name: "deserialize<serde_json::de::MapKey<serde_json::read::StrRead>>", linkageName: "_ZN5serde2de5impls89_$LT$impl$u20$serde..de..Deserialize$LT$$u27$de$GT$$u20$for$u20$alloc..string..String$GT$11deserialize17h5c6b0e7c1c46966eE", scope: !768, file: !767, line: 418, type: !772, isLocal: true, isDefinition: true, scopeLine: 418, flags: DIFlagPrototyped, isOptimized: true, unit: !193, templateParams: !860, retainedNodes: !858)
void (%"core::result::Result<alloc::string::String, error::Error>"*, i64*)* @"_ZN5serde2de5impls89_$LT$impl$u20$serde..de..Deserialize$LT$$u27$de$GT$$u20$for$u20$alloc..string..String$GT$11deserialize17h5c6b0e7c1c46966eE"
  call void @llvm.dbg.value(metadata [0 x i8]* %30, metadata !1010, metadata !DIExpression(DW_OP_LLVM_fragment, 0, 64)), !dbg !1021
!1021 = !DILocation(line: 1889, column: 12, scope: !1011, inlinedAt: !1022)
!1060 = distinct !DISubprogram(name: "visit_str<serde_json::error::Error>", linkageName: "_ZN85_$LT$serde..de..impls..StringVisitor$u20$as$u20$serde..de..Visitor$LT$$u27$de$GT$$GT$9visit_str17h96701e21a65abda4E", scope: !768, file: !767, line: 322, type: !1061, isLocal: true, isDefinition: true, scopeLine: 322, flags: DIFlagPrototyped, isOptimized: true, unit: !193, templateParams: !1066, retainedNodes: !1063)
!1060 = distinct !DISubprogram(name: "visit_str<serde_json::error::Error>", linkageName: "_ZN85_$LT$serde..de..impls..StringVisitor$u20$as$u20$serde..de..Visitor$LT$$u27$de$GT$$GT$9visit_str17h96701e21a65abda4E", scope: !768, file: !767, line: 322, type: !1061, isLocal: true, isDefinition: true, scopeLine: 322, flags: DIFlagPrototyped, isOptimized: true, unit: !193, templateParams: !1066, retainedNodes: !1063)
error: Could not compile `serde_json`.

https://travis-ci.org/bjorn3/rustc_codegen_cranelift/jobs/460098080

@matthiaskrgr
Copy link
Member

Duplicate of #56265

@bjorn3 bjorn3 closed this as completed Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants