summaryrefslogtreecommitdiff
path: root/src/tools/crossgen/crossgen.cpp
AgeCommit message (Collapse)AuthorFilesLines
2018-03-31[Arm64] Add x64_arm64 crossgen to tools packageSteve MacLean1-2/+2
2018-03-12Disable fragile NGen when compiling SPC.dll for _TARGET_ARM_Egor Chesakov1-0/+3
2018-03-10crossgen plumbing cleanup (#16883)Jan Kotas1-22/+1
* Delete unused ForceFullTrust command line option for crossgen * Delete ALLOW_LOCAL_WORKER define * Delete Zapper::m_legacyMode * Delete ngenparser.inl
2018-03-09Revert "Disable fragile NGen for System.Private.CoreLib.dll on ARM" (#16863)Sergey Andreenko1-2/+0
This reverts commit bc3b01b5612b21fdb8f11ec6917e5ec4503f1dcc.
2018-03-09Disable fragile NGen for System.Private.CoreLib.dll on ARMEgor Chesakov1-0/+2
2017-06-29Implement a /verbose flag to show the verbose output from crossgenBrian Sullivan1-1/+6
Added info on /verbose option to PrintUsageHelper() Convert printf(ascii) to wide strings in methodtable.cpp In build.cmd echo the crossgen /CreatePdb command line
2017-04-27[WIP] Enable binding to CoreLib as NI image (#11040)Gaurav Khanna1-23/+4
Enable binding to CoreLib as NI image
2017-03-21Add /silent option to crossgen (#10350)Bruce Forstall1-0/+5
This sets the NGenOptions.fSilent flag, which prevents displaying the final output message. This is useful for JIT asm diff generation.
2017-03-13Work for IBC profiling with ReadyToRun imagesBrian Sullivan1-8/+0
Incremented ReadyToRun version to 2.2 Implemented caching for IsInstrumented using IS_INSTRUMENTED_UNSET Added method Module::InitializeForProfiling() Added full support for method profile counts in ReadyToRun image
2017-02-12Remove remainder of FEATURE_CORECLR (tool missed some files, also comments)danmosemsft1-5/+5
2017-02-10Remove always defined FEATURE_CORECLRdanmosemsft1-37/+5
2016-12-09Fix path separator in CrossGen help on LinuxJohn Chen1-7/+8
2016-08-08Modify "crossgen -createpdb" to skip loading clrjit.dll (#6607)John Chen (CLR)1-3/+36
The -JITPath option doesn't work properly when CrossGen is used to create a PDB file (issue #6607). Since clrjit.dll isn't really needed for creating PDB files, the issue is fixed by modifying CrossGen to skip loading clrjit.dll when -createpdb option is given. Also following suggestion from issue #6607, added a new switch -diasymreaderPath to CrossGen, to allow loading diasymreader.dll from an alternative path.
2016-05-16Initial change to support System.Private.CoreLib.dll as Core Library.Gaurav Khanna1-9/+9
2016-05-02Enable crossgen to load JIT from a custom locationGaurav Khanna1-1/+24
Continue to link the JIT in for Windows Arm64 builds until 4717 is fixed.
2016-03-21Delete legacy netcf compat support (part 1)Jan Kotas1-11/+0
2016-03-19Fix a CrossGen CreatePDB issue that caused a Windows build breakJohn Chen1-0/+8
CrossGen /CreatePDB command gives preference to the TPA list while loading assemblies. So if the TPA contains the IL version of the input assembly but not the NI version, we would end up loading the IL instead of NI. This causes the CreatePDB command to fail, since it can't operate on IL images. This is fixed by putting the input file as the first entry in the TPA list. Another issue is when the above error does occur, the error message is very unclear (it only shows "Unspecified error"). This is fixed with a better error message. [tfs-changeset: 1587876]
2016-03-09Delete dead codeJan Kotas1-89/+0
- Delete BINDER, STANDALONE_BINDER and MDIL ifdefs
2016-02-29Support long paths in CoreCLR runtime on WindowsJohn Chen (JOCHEN7)1-34/+6
The CoreCLR runtime is updated to support long file paths on Windows. Pending updates to mscorlib.dll, the following scenarios are supported: * Run managed apps from a long path. * Load CoreCLR runtime and framework from a long path. * Load user assemblies from a long path. * Run CrossGen from a long path, with its input/output from a long path. * Generate debug log file at a long path. The following scenarios are not yet supported, and will be fixed in future commits: * Mscorlib.dll and framework assemblies are not yet long path compatible. Note that until mscorlib.dll is fixed, most of the runtime changes can't actually be used. * Support on non-Windows platforms. * Support for debugging and error reporting. * Tools such as ilasm or ildasm.
2016-02-23Update crossgen /CreatePerfMap to clear NGENWORKER_FLAGS_READYTORUN.Brian Robbins1-1/+4
2016-02-19This Change Adds initial Support for LongFiles in the VM,Rama Krishnan Raghupathy1-18/+19
They are: 1. Wrappers for OS APIs which take or return PATHS 2. Fixing the usage of following Api's: GetEnvironmentVariableW SearchPathW GetShortPathNameW GetLongPathNameW GetModuleFileName Work remaining: Remove fixed size buffers in the VM
2016-02-12Fix build issue #788907: crossgen /createpdb not workingdotnet-bot1-1/+1
[tfs-changeset: 1575079]
2016-02-10Change crossgen defaultsJan Kotas1-2/+14
Change crossgen to generate R2R images by default
2016-02-01Fix OACR errors for ProjectKdotnet-bot1-3/+4
[tfs-changeset: 1570939]
2016-01-27Update license headersdotnet-bot1-4/+3
2015-11-12Enable offline generation of text-based symbol tables for native images. ↵Brian Robbins1-2/+58
This is needed in order to profile applications on Linux using perf_event. This change also modifies the runtime to emit a perfmap entry when a native image is loaded so that offline trace processing tools can identify when a perfmap file for a native image is needed and generate it.
2015-09-23Fix crossgen command line handling on UnixJan Kotas1-9/+9
Replace hardcoded Windows directory and path separators with symbolic constants.
2015-09-08Replace MAX_PATH with new defines, rest of coreclr.Lakshmi Priya Sekar1-4/+4
2015-05-20ReadyToRun bugfixesJan Kotas1-0/+4
Fix bugs found by desktop tests [tfs-changeset: 1474260]
2015-05-07Enable crossgen CreatePDB for desktopJan Kotas1-3/+3
[tfs-changeset: 1466606]
2015-04-29Fix build breakJan Kotas1-1/+1
[tfs-changeset: 1462132]
2015-04-28Build crossgen for LinuxJohn Chen (JOCHEN7)1-11/+40
- Crossgen is now built as part of coreclr - Crossgen successfully compiles mscorlib.dll - Resulting mscorlib.ni.dll not yet usable
2015-04-20Enable build crossgen.exe from build.cmd.John Chen1-7/+8
Adds and modifies CMakeLists.txt files to enable building of crossgen.exe from build.cmd for x64 processor on Windows. Also adds a step in build.cmd to generate native image for mscorlib. [tfs-changeset: 1456454]
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+989
[tfs-changeset: 1407945]