Skip to content

Commit f0c0e36

Browse files
authored
Updated DIBuilder constructor to accept an unowned module as it does not take ownership. (#286)
1 parent 06e83a5 commit f0c0e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity.NET.Llvm/DebugInfo/DIBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed class DIBuilder
3333
{
3434
/// <summary>Initializes a new instance of the <see cref="DIBuilder"/> class.</summary>
3535
/// <param name="owningModule">Module that owns this builder</param>
36-
public DIBuilder( Module owningModule )
36+
public DIBuilder( IModule owningModule )
3737
: this( owningModule, true )
3838
{
3939
}

0 commit comments

Comments
 (0)