using Internal.IL;
using Internal.IL.Stubs;
using Internal.JitInterface;
+using Internal.ReadyToRunConstants;
using Internal.TypeSystem;
using ILCompiler.DependencyAnalysis;
Directory.CreateDirectory(Path.GetDirectoryName(outputFile));
+ ReadyToRunFlags flags =
+ ReadyToRunFlags.READYTORUN_FLAG_Component |
+ ReadyToRunFlags.READYTORUN_FLAG_NonSharedPInvokeStubs;
+
+ if (inputModule.IsPlatformNeutral)
+ {
+ flags |= ReadyToRunFlags.READYTORUN_FLAG_PlatformNeutralSource;
+ }
+
CopiedCorHeaderNode copiedCorHeader = new CopiedCorHeaderNode(inputModule);
DebugDirectoryNode debugDirectory = new DebugDirectoryNode(inputModule, outputFile);
NodeFactory componentFactory = new NodeFactory(
copiedCorHeader,
debugDirectory,
win32Resources: new Win32Resources.ResourceData(inputModule),
- Internal.ReadyToRunConstants.ReadyToRunFlags.READYTORUN_FLAG_Component |
- Internal.ReadyToRunConstants.ReadyToRunFlags.READYTORUN_FLAG_NonSharedPInvokeStubs);
+ flags);
IComparer<DependencyNodeCore<NodeFactory>> comparer = new SortableDependencyNode.ObjectNodeComparer(new CompilerComparer());
DependencyAnalyzerBase<NodeFactory> componentGraph = new DependencyAnalyzer<NoLogStrategy<NodeFactory>, NodeFactory>(componentFactory, comparer);
<ExcludeList Include="$(XunitTestBinBase)/Loader/AssemblyDependencyResolver/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests/*">
<Issue>https://github.com/dotnet/runtime/issues/34905</Issue>
</ExcludeList>
- <ExcludeList Include="$(XunitTestBinBase)/Loader/binding/tracing/BinderTracingTest.ResolutionFlow/*">
- <Issue>https://github.com/dotnet/runtime/issues/38290</Issue>
- </ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)/Loader/binding/tracing/BinderTracingTest.Basic/*">
<Issue>https://github.com/dotnet/runtime/issues/38290</Issue>
</ExcludeList>