public DebugDirectoryNode(EcmaModule sourceModule, string outputFileName) { _module = sourceModule; string pdbNameRoot = Path.GetFileNameWithoutExtension(outputFileName); if (sourceModule != null) { pdbNameRoot = sourceModule.Assembly.GetName().Name; } _nativeEntry = new NativeDebugDirectoryEntryNode(pdbNameRoot + ".ni.pdb"); }
public DebugDirectoryNode(EcmaModule sourceModule, string outputFileName) { _module = sourceModule; _insertDeterministicEntry = sourceModule == null; // Mark module as deterministic if generating composite image string pdbNameRoot = Path.GetFileNameWithoutExtension(outputFileName); if (sourceModule != null) { pdbNameRoot = sourceModule.Assembly.GetName().Name; } _nativeEntry = new NativeDebugDirectoryEntryNode(pdbNameRoot + ".ni.pdb"); }
public DebugDirectoryNode(EcmaModule sourceModule, string outputFileName, bool shouldAddNiPdb, bool shouldGeneratePerfmap) { _module = sourceModule; _insertDeterministicEntry = sourceModule == null; // Mark module as deterministic if generating composite image string pdbNameRoot = Path.GetFileNameWithoutExtension(outputFileName); if (sourceModule != null) { pdbNameRoot = sourceModule.Assembly.GetName().Name; } if (shouldAddNiPdb) { _nativeEntry = new NativeDebugDirectoryEntryNode(pdbNameRoot + ".ni.pdb"); } if (shouldGeneratePerfmap) { _perfMapEntry = new PerfMapDebugDirectoryEntryNode(pdbNameRoot + ".ni.r2rmap"); } }