Skip to content

Commit bff1425

Browse files
committed
Hide find_pinvoke
1 parent 81d2c3a commit bff1425

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Xamarin.Android.Build.Tasks/Utilities/PreservePinvokesNativeAssemblyGenerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ void AddFindPinvoke<T> (LlvmIrModule module, List<Component> components, bool is
192192

193193
var func = new LlvmIrFunction (sig, MakeFindPinvokeAttributeSet (module)) {
194194
CallingConvention = LlvmIrCallingConvention.Fastcc,
195+
Visibility = LlvmIrVisibility.Hidden,
195196
};
196197
LlvmIrLocalVariable retval = func.CreateLocalVariable (typeof(IntPtr), "retval");
197198
var state = new ConstructionState {

0 commit comments

Comments
 (0)