24 references to EntryPoint
ILCompiler.ReadyToRun (24)
PortableCallHelpers\PInvokeCollector.cs (2)
29
private string Identity => $"{
EntryPoint
}!{Module}!{Method.OwningType}::{Method.Name.ToString()}{Method.Signature}";
38
public override string ToString() => $"{{ EntryPoint: {
EntryPoint
}, Module: {Module}, Method: {Method}, Skip: {Skip} }}";
PortableCallHelpers\PInvokeTableGenerator.cs (22)
75
log.Verbose($"Skipping unresolved PInvoke '{pinvoke.Module}!{pinvoke.
EntryPoint
}' for method '{pinvoke.Method.OwningType}::{pinvoke.Method.Name.ToString()}' (not statically linked on wasm; will throw if called).");
101
.OrderBy(pinvoke => pinvoke.
EntryPoint
, StringComparer.Ordinal)
115
log.Warning("WASM0001", $"Found a native function ({first.
EntryPoint
}) {problem} in {first.Module}." +
165
.OrderBy(pinvoke => pinvoke.
EntryPoint
, StringComparer.Ordinal)
166
.GroupBy(pinvoke => pinvoke.
EntryPoint
, StringComparer.Ordinal)
173
return $" {{ \"{EscapeLiteral(p.
EntryPoint
)}\", (void*)&{address} }}, // {ListRefs(group)}{w.NewLine}";
271
if (identities.TryGetValue(entry.
EntryPoint
, out PInvokeInfo previous)
276
$"Native entrypoint '{entry.
EntryPoint
}' conflicts between '{previous.Method}' and '{entry.Method}'.");
278
identities[entry.
EntryPoint
] = entry;
282
.OrderBy(p => p.
EntryPoint
, StringComparer.Ordinal)
283
.DistinctBy(p => p.
EntryPoint
, StringComparer.Ordinal)
302
if (qcall.
EntryPoint
is "memmove" or "memset")
306
w.WriteLine(qcall.
EntryPoint
== "memmove"
322
if (target.OperatingSystem == TargetOS.Browser && qcall.
EntryPoint
is "memmove" or "memset")
323
w.WriteLine($" {{ \"{qcall.
EntryPoint
}\", (void*)&RuntimeHelper_{qcall.
EntryPoint
} }},");
324
else if (qcall.
EntryPoint
is "memmove" or "memset")
325
w.WriteLine($" DllImportEntry({qcall.
EntryPoint
})");
327
w.WriteLine($" {{ \"{EscapeLiteral(qcall.
EntryPoint
)}\", (void*)&RuntimeHelper_{CEntryPoint(qcall)} }},");
574
return FixupSymbolName($"{namespaceName}#{pinvoke.Module}#{pinvoke.
EntryPoint
}");
577
return FixupSymbolName(pinvoke.
EntryPoint
);
603
? $"__attribute__((import_module(\"{EscapeLiteral(pinvoke.Module)}\"),import_name(\"{EscapeLiteral(pinvoke.
EntryPoint
)}\"))) "