llvm-project
llvm-project copied to clipboard
DIE address ranges are not contained in its parent's ranges when use LTO
When linking these two LLVM IRs, dsymutil will report no mapping for range or inconsistent range data warnings.
foo.swift
import AppKit.NSLayoutConstraint
public class Foo {
public var c: Int {
get {
Int(NSLayoutConstraint().constant)
}
set {
}
}
}
main.swift
// no mapping for range
let f: Foo! = nil
// inconsistent range data
//let l: Foo = Foo()
I made an Xcode project for this example.
And https://reviews.llvm.org/D136039 should fix the issue.
@llvm/issue-subscribers-debuginfo
FWIW, You don't need to file bugs for issues already under review - you can attach extra info/etc to the review & it's probably easier to keep all the discussion in one place when that happens.
Okay, I closed the issue.