mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Ensure collocation by recording the dependence between witness table and witness before functions are processed. Debug info of inlined function scopes can reference the witness and will cause the wrong IRGenModule to be associated before lazy witness tables are processed. No, I am not sure that this is the only instance of this but the same solution can apply to other instances if we find them. rdar://39116991
4 lines
52 B
Swift
4 lines
52 B
Swift
public func test() {
|
|
inlineThis(Character("1"))
|
|
}
|