summaryrefslogtreecommitdiff
path: root/src/tools
AgeCommit message (Collapse)AuthorFilesLines
2016-01-22Use coreclr buildtools nuget package instead of compiling the tools used ↵Rahul Kumar1-5/+0
during build. This only applies to windows build.
2016-01-21FIx the incremental build for WindowsJan Vorlicek1-1/+1
Conflicts: build.cmd src/dlls/clretwrc/CMakeLists.txt Cleanup
2016-01-16Merge pull request #2707 from dotnet-bot/from-tfsMatt Ellis3-0/+14
Merge changes from TFS
2016-01-15rollback 1565534 and also fix build breakRahul Kumar1-0/+6
[tfs-changeset: 1565674]
2016-01-15Rollback changeset 1565223.Wes Haggard1-6/+0
[tfs-changeset: 1565534]
2016-01-14Fix for Build Issue #785302:Rahul Kumar1-0/+6
tools were still not getting built for projectK build....fixed that. Verified on local machine using below command msbuild /t:rebuild /p:ProductGroupsToBuild=PK dirs.proj [tfs-changeset: 1565223]
2016-01-14Enable the fPIE compiler option for executables in the coreclr repo on Unix ↵Sergiy Kuryata1-0/+4
platforms
2016-01-14Add OSS license headers to all new files in githubRahul Kumar2-0/+8
[tfs-changeset: 1565108]
2016-01-13coreclr BuildTools for github builds - instead of building the tools (which ↵Rahul Kumar5-3/+21
do not change) create a nuget package This contains changes for following: 1. Binplace & sign following binaries a. pdbtypematch.exe (only build in x86 ret .... build errors for other flavors) b. dactableGen.exe c. dialib.dll d. GenClrDebugResource.exe e. InjectResource.exe 2. add sources of PdbTypeMatch tools in github 3. bump up the version of coreclr buildtools package to 1.0.4 4. add above tools to coreclr buildtools package 5. remove bclrewriter from coreclr buildtools package 6. build dotnet.builtools.coreclr package only for x86 ret builds as pdbtypematch.exe only builds for ret flavor. [tfs-changeset: 1564332]
2015-12-14PAL Module/shutdown cleanup.Mike McLaughlin1-8/+0
Added a PAL_Shutdown function that cleans/shutdowns the PAL without exiting/terminating the process doing exactly what ExitProcess/TerminateProcess before exiting the process. Removed the PAL_InitializeCoreCLR export. The new coreclr_* hosting apis should be used. Moved the "is module manager initialized" check (exe_module.prev != NULL) inside the module lock to prevent races during shutdown in LOADCallDllMain. Removed LOADFreeModules so we never try to call the DLL_PROCESS_DETACH handlers. Most of this cleanup happened because I was trying to getting the DLL_PROCESS_DETACH notifications working, but there were too many opportunities for deadlock. Emulating Windows behavior isn't that important and in this case will cause more problems that it fixes. Removed PAL_RegisterLibrary*/PAL_UnregisterLibrary. They were only used in one place to load modules that don't exist anymore (rotor_palrt and sscoree). Renamed LOAD_SEH_CallDllMain to LoadCallDllMainSafe (we don't usually use _ in names) and use this function in all the places we call the DllMain handler. This combines some code in a common place and protects all DllMain calls from exceptions. Source code formatting cleanup and moved internal functions around to be next to the rest of the internal functions. Initialize pDllMain to NULL in LOADAllocModule. Get the DllMain function address into LOADAddModule so that it is initialized in the PAL_RegisterModule path. Changed PAL_UnregisterModule not to call the DllMain function.
2015-12-11Port of all JIT changes for .NET Framework 4.6.1 changesBrian Sullivan1-7/+2
http://blogs.msdn.com/b/dotnet/archive/2015/11/30/net-framework-4-6-1-is-now-available.aspx .NET Framework list of changes in 4.6.1 https://github.com/Microsoft/dotnet/blob/master/releases/net461/dotnet461-changes.md Additional changes including - Working ARM64 JIT compiler - Additional JIT Optimizations o Tail call recursion optimization o Array length tracking optimization o CSE for widening casts o Smaller encoding for RIP relative and absolute addresses in addressing modes o Tracked Local Variable increased to 512 o Improved handling of Intrinsics System.GetType() o Improved handling of Math intrinsics - Work for the X86 Ryu-JIT compiler [tfs-changeset: 1557101]
2015-12-07Enable ildasm for *nixKyungwoo Lee3-46/+75
This enables ildasm for cross-platforms. Unlike Window (where initialization is done when DLL attach), CoreCLR is explciltly hosted/initialized to get the Metadata related APIs. This also eliminates the need of setting dynamic library path. Currently, ildasm binary is assumed to be located same as CoreCLR binary. I added a simple CoreCLRLoader (not meant to run an assembly file) for just direct uses of APIs. Since I expect this library to be used for ilasm work. Resource string is also handled using a static string table based on my prior check-in. Other changes are mostly mechanic with regard to wide constant string.
2015-11-27Fix mismatched use of new and deleteJuergen Hoetzel1-1/+1
Clang > 2.7.0 emits warnings for mismatched uses of new and delete (-Wmismatched-new-delete). Refs #2135
2015-11-25Enable ILDASM for WindowsKyungwoo Lee1-0/+4
This enables building ILDASM with Cmake for Windows. This ILDASM now depends on CoreCLR targeting cross-platform and thus I dropped some features like GUI/PDB -- default output is console. Metadata related APIs in CoreCLR are directly exported, and used in ILDASM: MetaDataGetDispenser GetMetaDataInternalInterface GetMetaDataInternalInterfaceFromPublic GetMetaDataPublicInterfaceFromInternal The code path is diverged by a definition FEATURE_CORECLR. There are still Window specific components. Among others, resource file/dll generation is the one that should be ported.
2015-11-24Open sourcing ILDASMdotnet-bot7-0/+5076
[tfs-changeset: 1551732]
2015-11-18Replace most windows style types by c++ typesJan Vorlicek1-0/+1
This change replaces DWORD, LONGLONG, ULONGLONG, SIZE_T, BYTE, LONG32 and few more by standard c++ types. The DWORD still remains present in signatures of Windows APIs used by the GC. There are few issues with those that need to get fixed.
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-10-07correct word spellingあまみや ゆうこ2-7/+7
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 Sekar2-7/+7
2015-07-29Fix prefast warnings in CLR codeEugene Zemtsov2-6/+6
[tfs-changeset: 1507366]
2015-05-20ReadyToRun bugfixesJan Kotas1-0/+4
Fix bugs found by desktop tests [tfs-changeset: 1474260]
2015-05-18Ensure fallback to English resources on non-Windows platformsAditya Mandaleeka1-0/+1
Take the resources in RC files and build a static library that contains the ID->English string mappings. Use those strings as the key to gettext so that when gettext is not able to find a suitable string in the desired language, it falls back on returning the English string.
2015-05-07Merge pull request #957 from dotnet-bot/from-tfsJan Kotas1-3/+3
Merge changes from TFS
2015-05-07Enable crossgen CreatePDB for desktopJan Kotas1-3/+3
[tfs-changeset: 1466606]
2015-05-07Changes for building using VS2015Jan Kotas1-0/+1
2015-04-29Fix build breakJan Kotas1-1/+1
[tfs-changeset: 1462132]
2015-04-28Build crossgen for LinuxJohn Chen (JOCHEN7)5-79/+132
- 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 Chen9-7/+1426
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-04-17Add missing MIT license headersJan Vorlicek1-0/+5
.rc and .def files were missing the MIT license headers, so this change adds them.
2015-04-07Merge changes from parent branchdotnet-bot1-2/+8
[tfs-changeset: 1448103]
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot16-0/+1790
[tfs-changeset: 1407945]