summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-07-08Merge pull request #1215 from richardlford/rosfixJan Kotas1-1/+8
Modify conservative GC code for unaligned InlinedCallFrames
2015-07-08Modify conservative GC code for unaligned InlinedCallFramesRichard L Ford1-1/+8
When making pinvoke calls the JITs allocate InlinedCallFrames within their stack frames to record the location of the managed stack frame. These InlinedCallFrames are not necessarily 8-byte aligned. These were being used as the topStack in src/vm/gcenv.cpp, in the method GCToEEInterface::ScanStackRoots. This change checks to see if a frame is an InlinedCallFrame. If so then its GetCallSiteSP method is used to get the real top of stack. This will always be aligned. There were two problem before this change wwhen the frame was misaligned (e.g. ending with 4 or c): 1. GCToEEInterface::ScanStackRoots starts at the topStack and look at every 8-byte chunk as if it were a pointer. But if topStack is unaligned it is not really finding the pointers on the stack. 2. When it gets to the bottom the 8-byte access read the first 4 bytes ok, but the last 4 bytes go beyond mapped addresses and an access violation results.
2015-07-08Merge pull request #1211 from mmitche/improve-build-tpMatt Mitchell3-6/+6
Improve the build throughput
2015-07-08Merge pull request #1217 from mikem8361/fixassertMike McLaughlin5-46/+64
Fix recursive asserts in coreclr.
2015-07-08CR feedback.Mike McLaughlin2-5/+5
2015-07-08Fix recursive asserts in coreclr.Mike McLaughlin4-41/+59
Remove assert in VM break handler to prevent recursive asserts. Fixed problem where the DebugBreak wasn't terminating the app on an assert causing double assert messages. Restoring the SIGTRAP handler and returning was continuing the DebugBreak not terminating. Replaced this with an abort(). Cleanup the assert message formatting.
2015-07-07Merge pull request #1196 from justinvp/docs_corefxtestsRich Lander1-10/+12
Fix markdown of the "Testing with CoreFX" documentation so it renders correctly on GitHub
2015-07-07Improve the build throughputMatt Mitchell3-6/+6
Especially with the builds of the tests, the diag logging significantly reduces TP in the build and seems to reduce parallelism a bit too. Change this to normal.
2015-07-07Merge pull request #1209 from swaroop-sridhar/unusedJan Kotas1-3/+0
Remove a few Unused Definitions
2015-07-06Merge pull request #637 from justinvp/stringsplitStephen Toub1-10/+27
String.Split optimization
2015-07-06Remove a few Unused DefinitionsSwaroop Sridhar1-3/+0
Remove three unused local variable definitions -- which caused warnings in the LLILC build.
2015-07-06Merge pull request #1124 from DickvdBrink/vs2015-doc-fixMatt Mitchell4-7/+10
Document Visual Studio 2015 support
2015-07-05Document Visual Studio 2015 supportDick van den Brink4-7/+10
2015-07-03Merge pull request #1200 from erozenfeld/CrossgenFixJan Kotas1-1/+1
Allow non-RIP-relative relocations in coreclr crossgen.
2015-07-02Merge pull request #1202 from mj1856/docsStephen Toub1-1/+1
Fix broken link in documentation
2015-07-02Fix broken linkMatt Johnson1-1/+1
2015-07-02Allow non-RIP-relative relocations in coreclr crossgen.Eugene Rozenfeld1-1/+1
2015-07-02Merge pull request #1195 from mikem8361/dactableMike McLaughlin9-202/+24
Generate the dac table RVA using nm at build time.
2015-07-01Fix markdown so it renders correctly on GitHubJustin Van Patten1-10/+12
2015-07-01Fix Windows build.Mike McLaughlin1-1/+3
2015-07-01Merge pull request #1194 from ellismg/intern-jit-packages-filesMatt Ellis2743-10526/+8169
Speed up package resotre of JIT Test build
2015-07-01Generate the dac table RVA using nm at build time.Mike McLaughlin9-202/+22
Remove the temporary PAL dac table file at runtime. Replaced it with dactablerva.h file generated at build time from the libcoreclr module. nm works across Linux, OSx and FreeBSD.
2015-07-01Merge pull request #1189 from MarcelGosselin/masterStephen Toub1-4/+4
Fix broken Developer Guide documentation links
2015-07-01Fix broken Developer Guide documentation linksMarcel Gosselin1-4/+4
2015-06-30String.Split optimizationJustin Van Patten1-10/+27
- Use EmptyArray<String>.Value instead of new String[0] on .NET Core - Return early before allocating internal array(s) when count == 1
2015-06-30Speed up package resotre of JIT Test buildMatt Ellis2743-10526/+8169
We spend a fair amount of time (six wall clock minutes on my machine) doing package restore for the JIT tests. This is because each project has its own packages.config file, so during the build we call nuget restore for each project. There are only four unique packages.config files for all these tests, so this change moves them to tests/src/JIT/config and updates the project files to consume them from there. This means during the build the `EnsureDependencies` target does not need to invoke nuget restore as often and the build is much faster as a result.
2015-06-30Merge pull request #1188 from dotnet-bot/from-tfsStephen Toub2-13/+6
Merge changes from TFS
2015-06-29Replace COMPLUS_SOCExtraSpew with COMPLUS_JitFunctionTrace, and enable it ↵Bruce Forstall2-13/+6
for all architectures in RyuJIT [tfs-changeset: 1495487]
2015-06-29Merge pull request #1185 from bartonjs/x509chainJeremy Barton1-0/+152
Add wrapper functions for building X509Chains
2015-06-27Merge pull request #1180 from dotnet-bot/from-tfsMatt Ellis1-0/+16
Merge changes from TFS
2015-06-26Merge pull request #1179 from dotnet-bot/from-tfsMatt Ellis3-10/+19
Merge changes from TFS
2015-06-26Add missing include directoryMatt Ellis1-0/+2
dbgshim.cpp wants to include debugshim.h but the directory that holds this file was not on the include path when buidling with cmake. Adding this directory in line with what we had for the razzle driven internal TFS build.
2015-06-26Fix arm/arm64 builds of dbgshimEugene Zemtsov1-0/+16
[tfs-changeset: 1494755]
2015-06-26Make 64bit dump debugging possible on CoreCLREugene Zemtsov2-10/+17
[tfs-changeset: 1494731]
2015-06-25Merge pull request #1175 from mikem8361/palinit2Mike McLaughlin4-65/+86
Some more pal init cleanup missed in #1174
2015-06-25Some more pal init cleanup missed in #1174Mike McLaughlin4-65/+86
2015-06-25Merge pull request #1174 from mikem8361/palinitJan Vorlicek13-360/+356
Fixed the PAL_Initialize* order problem.
2015-06-25CR feedback from @janvorliMike McLaughlin2-39/+42
2015-06-24Fixed the PAL_Initialize* order problem.Mike McLaughlin13-324/+317
Now it doesn't matter if PAL_InitializeDLL (which doesn't pass argc/argv) is called before PAL_InitializeCoreCLR or vice-versa. The exe path and command line are updated for every PAL_Initialize or PAL_InitializeCoreCLR call. Cleaned up the pal_module initialization to get and set the module name removing the need for PAL_InitializeCoreCLR to pass the coreclr path. This required changing the process attach DllInit to be done more on demand. The signature for PAL_InitializeCoreCLR has changed to (two parameters removed): PALIMPORT DWORD PALAPI PAL_InitializeCoreCLR( const char *szExePath); Fixed a problem in the ClrStack -i command where the SP/PC displayed wasn't correctly.
2015-06-24Merge pull request #1169 from pgavlin/splittestsMatt Mitchell4423-64220/+130719
Refactor JIT test projects.
2015-06-24Refactor JIT test projects.Pat Gavlin4423-64220/+130719
This change replaces the template projects used for the ported JIT tests with a single project file per test. This refactoring is intended to clarify exactly which tests from the legacy testbed have been ported and what their dependencies are; this should make later reasoning about these tests more straightforward. This change also disables a number of innocuous warnings in the ported tests for hygenic purposes.
2015-06-24Add support for setting verification time and querying the root store directorybartonjs1-0/+101
2015-06-23Merge pull request #1159 from mikem8361/bpmdMike McLaughlin15-69/+423
Enable bpmd command (even unjitted functions work)
2015-06-22Add methods for interacting with STACK_OF(X509)Jeremy Barton1-0/+51
2015-06-19Merge pull request #1156 from romansp/fix-typosJan Kotas1-1/+1
fix typo in objectnative.cpp comments
2015-06-19Enable bpmd command even unjitted functions work.Mike McLaughlin15-69/+423
Preallocate JIT notification table on VM side (since ICLRDataTarget2->AllocVirtual isn't implemented under lldb) and implement WriteVirtual on debugger side to allow DAC to write entries. Used the special set breakpoint on exception throw lldb command to catch the special exception the VM throws when some thing is jitted. The debugger side finds the exception record by searching for the RtlpRaiseException function on the stack when the bp is hit. It also assumes that the local variable is called ExceptionRecord. Fix all the file path separators to use the platform independent defines. Ifdef all the "/d" options in the supported commands because the / char isn't supported as a command line option and /d is always the DML option that isn't supported either. Fix problem Prem run into running sos after the process stops.
2015-06-18Merge pull request #1136 from josteink/unwind-freebsdJan Vorlicek1-4/+4
Fix stack unwinding for FreeBSD.
2015-06-18Fix stack unwinding for FreeBSD.Jostein Kjønigsen1-4/+4
Fix error in stack unwinding on FreeBSD as discovered by @saper. This closes #1102 and #1113
2015-06-18fixed typo in objectnative.cpp commentsRoman Pavlov1-1/+1
2015-06-17Merge pull request #1153 from mikem8361/ctrlcMike McLaughlin1-12/+23
Allow CTRLC to work when running under lldb using the SOS plugin