platform/upstream/coreclr.git
9 years agoSome more pal init cleanup missed in #1174
Mike McLaughlin [Thu, 25 Jun 2015 21:34:08 +0000 (14:34 -0700)]
Some more pal init cleanup missed in #1174

9 years agoCR feedback from @janvorli
Mike McLaughlin [Thu, 25 Jun 2015 19:18:23 +0000 (12:18 -0700)]
CR feedback from @janvorli

9 years agoFixed the PAL_Initialize* order problem.
Mike McLaughlin [Sat, 20 Jun 2015 00:37:48 +0000 (17:37 -0700)]
Fixed the PAL_Initialize* order problem.

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.

9 years agoMerge pull request #1159 from mikem8361/bpmd
Mike McLaughlin [Tue, 23 Jun 2015 21:40:38 +0000 (14:40 -0700)]
Merge pull request #1159 from mikem8361/bpmd

Enable bpmd command (even unjitted functions work)

9 years agoMerge pull request #1156 from romansp/fix-typos
Jan Kotas [Sat, 20 Jun 2015 00:40:14 +0000 (17:40 -0700)]
Merge pull request #1156 from romansp/fix-typos

fix typo in objectnative.cpp comments

9 years agoEnable bpmd command even unjitted functions work.
Mike McLaughlin [Wed, 17 Jun 2015 00:43:04 +0000 (17:43 -0700)]
Enable bpmd command even unjitted functions work.

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.

9 years agoMerge pull request #1136 from josteink/unwind-freebsd
Jan Vorlicek [Thu, 18 Jun 2015 21:37:16 +0000 (23:37 +0200)]
Merge pull request #1136 from josteink/unwind-freebsd

Fix stack unwinding for FreeBSD.

9 years agoFix stack unwinding for FreeBSD.
Jostein Kjønigsen [Mon, 15 Jun 2015 06:17:01 +0000 (08:17 +0200)]
Fix stack unwinding for FreeBSD.

Fix error in stack unwinding on FreeBSD as discovered by @saper.

This closes #1102 and #1113

9 years agofixed typo in objectnative.cpp comments
Roman Pavlov [Thu, 18 Jun 2015 14:24:59 +0000 (17:24 +0300)]
fixed typo in objectnative.cpp comments

9 years agoMerge pull request #1153 from mikem8361/ctrlc
Mike McLaughlin [Thu, 18 Jun 2015 00:48:37 +0000 (17:48 -0700)]
Merge pull request #1153 from mikem8361/ctrlc

Allow CTRLC to work when running under lldb using the SOS plugin

9 years agoAllow CTRLC to work when running under lldb using the SOS plugin and debugger dlls
Mike McLaughlin [Wed, 17 Jun 2015 01:26:11 +0000 (18:26 -0700)]
Allow CTRLC to work when running under lldb using the SOS plugin and debugger dlls
by only setting the SIGINT/SIGQUIT handlers if the signal handler thread is started.

9 years agoMerge pull request #1107 from krk/master
Andy Ayers [Wed, 17 Jun 2015 19:48:04 +0000 (12:48 -0700)]
Merge pull request #1107 from krk/master

ObjectDisposedException handled in test wrapper.

9 years agoMerge pull request #1141 from mikem8361/dbgshim
Mike McLaughlin [Wed, 17 Jun 2015 00:43:44 +0000 (17:43 -0700)]
Merge pull request #1141 from mikem8361/dbgshim

Fully implement dbgshim so it doesn't depend on LD_LIBRARY_PATH (issue #650)

9 years agoMerge pull request #1149 from rehrumesh/Fix_1148
Jan Kotas [Tue, 16 Jun 2015 23:25:17 +0000 (16:25 -0700)]
Merge pull request #1149 from rehrumesh/Fix_1148

Fixed #1148. Corrected links for Instructions

9 years agoMerge pull request #1143 from jkotas/GetAssemblyName
Jan Kotas [Tue, 16 Jun 2015 23:23:13 +0000 (16:23 -0700)]
Merge pull request #1143 from jkotas/GetAssemblyName

Allow AssemblyLoadContext.GetAssemblyName for native images on CoreCLR

9 years agoFixed FreeBSD build.
Mike McLaughlin [Tue, 16 Jun 2015 20:52:07 +0000 (13:52 -0700)]
Fixed FreeBSD build.

9 years agoCode review feedback.
Mike McLaughlin [Tue, 16 Jun 2015 17:49:54 +0000 (10:49 -0700)]
Code review feedback.

9 years agoCorrected links for Instructions
Rumesh Eranga [Tue, 16 Jun 2015 17:36:51 +0000 (23:06 +0530)]
Corrected links for Instructions

9 years agoMerge pull request #1142 from dotnet-bot/from-tfs
Jan Kotas [Tue, 16 Jun 2015 03:05:29 +0000 (20:05 -0700)]
Merge pull request #1142 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoAllow AssemblyLoadContext.GetAssemblyName for native images on CoreCLR
Jan Kotas [Tue, 16 Jun 2015 03:03:00 +0000 (20:03 -0700)]
Allow AssemblyLoadContext.GetAssemblyName for native images on CoreCLR

9 years agoMake sure dbgshim can attach to processes from other sessions
Eugene Zemtsov [Tue, 16 Jun 2015 00:03:23 +0000 (17:03 -0700)]
Make sure dbgshim can attach to processes from other sessions

[tfs-changeset: 1488695]

9 years agoFully implement dbgshim so it doesn't depend on LD_LIBRARY_PATH (issue #650).
Mike McLaughlin [Wed, 10 Jun 2015 23:54:02 +0000 (16:54 -0700)]
Fully implement dbgshim so it doesn't depend on LD_LIBRARY_PATH (issue #650).

It finds and uses the path coreclr is in to load dbi/dac.

EnumProcessModules returns an array of module base addresses and GetModuleFileNameEx
takes the base address and returns the module name string.

Fixed directory separator in dbgshim.

9 years agoMerge pull request #1140 from dotnet/blackdwarf-patch-1
Rich Lander [Mon, 15 Jun 2015 17:43:47 +0000 (10:43 -0700)]
Merge pull request #1140 from dotnet/blackdwarf-patch-1

Fix the ECMA standard link

9 years agoFix the ECMA standard link
Zlatko Knezevic [Mon, 15 Jun 2015 17:12:29 +0000 (10:12 -0700)]
Fix the ECMA standard link

On README.md, the intro to .NET Core had a wrong link.
Missing the directory portion.

9 years agoMerge pull request #1134 from tvlooy/patch-2
Stephen Toub [Sat, 13 Jun 2015 11:49:24 +0000 (07:49 -0400)]
Merge pull request #1134 from tvlooy/patch-2

Fix typo

9 years agoFix typo
Tom Van Looy [Sat, 13 Jun 2015 06:13:09 +0000 (08:13 +0200)]
Fix typo

9 years agoMerge pull request #1130 from pgavlin/ILTests
Pat Gavlin [Thu, 11 Jun 2015 15:56:46 +0000 (08:56 -0700)]
Merge pull request #1130 from pgavlin/ILTests

Import the first batch of IL tests.

9 years agoMerge pull request #1129 from dotnet-bot/from-tfs
Jan Kotas [Thu, 11 Jun 2015 11:07:32 +0000 (04:07 -0700)]
Merge pull request #1129 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #1125 from mikem8361/removelibpath
Mike McLaughlin [Thu, 11 Jun 2015 07:35:01 +0000 (00:35 -0700)]
Merge pull request #1125 from mikem8361/removelibpath

Remove the dependency on LD_LIBRARY_PATH in the sos code (issue #820)

9 years agoImport the first batch of IL tests.
Pat Gavlin [Wed, 10 Jun 2015 20:11:59 +0000 (13:11 -0700)]
Import the first batch of IL tests.

This set of tests is comprised of IL tests that:
- only reference APIs in .Net Core's System.Runtime,
  System.Runtime.Extensions, and System.Threading contracts
- compile to a single executable,
- and expect no command line arguments at runtime.

9 years agoMerge pull request #1120 from libengu/RestOfRegression
Bengu Li [Wed, 10 Jun 2015 22:57:12 +0000 (15:57 -0700)]
Merge pull request #1120 from libengu/RestOfRegression

Add all remaining JIT/Regression test cases for JIT

9 years agoFix Exception Propagation issue for NetCoreForCoreCLR Non-AppX case
Luqun Lou [Wed, 10 Jun 2015 22:53:48 +0000 (15:53 -0700)]
Fix Exception Propagation issue for NetCoreForCoreCLR Non-AppX case

Currently in CoreCLR, We don't propagate managed exception from Managed->Native->Managed correctly for non-appx case--- if you throw a managed exception, then during M->N, the managed exception is stored in thread, later during N->M, we will try to fetch this stored exception if it is managed exception by checking IsManagedObject()

The logical for IsManagedObject should be just check its IUnknown slots first no matter whether it is appx or not; If doesn't match, try to QI IManagedObject.

[tfs-changeset: 1486094]

9 years agoMerge pull request #1114 from dotnet/docs-subfolders
Zlatko Knezevic [Wed, 10 Jun 2015 18:00:37 +0000 (11:00 -0700)]
Merge pull request #1114 from dotnet/docs-subfolders

Add subfolders to Documentation folder

9 years agoFixing for comments in #1114
Zlatko Knezevic [Wed, 10 Jun 2015 14:43:33 +0000 (07:43 -0700)]
Fixing for comments in #1114

9 years agoAdd subfolders to Documentation folder
Zlatko Knezevic [Sun, 7 Jun 2015 03:29:39 +0000 (20:29 -0700)]
Add subfolders to Documentation folder

As raised in #1075 by @akoeplinger, the Documentation folder's file
list forces the user to scroll way down to see the README.md. This
PR fixes that by storing the documents in separate sub-folders one
per hierarchy of related documents. Also changed
Documentation\README.md and root README.md to take into account
the new paths.

9 years agoMerge pull request #1127 from ronyb29/master
Jan Kotas [Wed, 10 Jun 2015 15:05:36 +0000 (08:05 -0700)]
Merge pull request #1127 from ronyb29/master

fixed typo in BufferedStream comments

9 years agoMerge pull request #1126 from stephentoub/reflectionemit_writeline
Jan Kotas [Wed, 10 Jun 2015 15:04:54 +0000 (08:04 -0700)]
Merge pull request #1126 from stephentoub/reflectionemit_writeline

Implement ILGenerator on Unix to use System.Console.dll

9 years agoImplement ILGenerator on Unix to use System.Console.dll
stephentoub [Wed, 10 Jun 2015 13:24:43 +0000 (09:24 -0400)]
Implement ILGenerator on Unix to use System.Console.dll

The System.Console type in mscorlib on Unix is internal and lacks any ability to write out.  As such, System.Reflection.Emit.ILGenerator.EmitWriteLine needs to use the System.Console from System.Console.dll.

9 years agofixed typo in BufferedStream comments
Rony Batista [Wed, 10 Jun 2015 07:04:41 +0000 (03:04 -0400)]
fixed typo in BufferedStream comments

9 years agoMerge pull request #1046 from thefoojoo/master
Rich Lander [Wed, 10 Jun 2015 03:00:54 +0000 (20:00 -0700)]
Merge pull request #1046 from thefoojoo/master

Added VS2013 "Update 3 or later" requirement to windows-instructions.md

9 years agoRemove the dependency on LD_LIBRARY_PATH in the sos code (issue #820). Uses the corec...
Mike McLaughlin [Mon, 8 Jun 2015 21:50:40 +0000 (14:50 -0700)]
Remove the dependency on LD_LIBRARY_PATH in the sos code (issue #820). Uses the coreclr path found by the lldb sos plugin when loading the sos module.

Preload the DAC module in the lldb sos plugin so SOS and DBI can still use DAC's PAL.

Fix the HMODULE handle passed to DLLMain to be a handle in the target module's PAL context (issue #931).

9 years agoMerge pull request #1123 from pgavlin/ILTestSupport
Pat Gavlin [Tue, 9 Jun 2015 22:02:57 +0000 (15:02 -0700)]
Merge pull request #1123 from pgavlin/ILTestSupport

Add support for IL tests.

9 years agoMerge pull request #1121 from erozenfeld/CrossgenFix
Jan Kotas [Tue, 9 Jun 2015 20:28:50 +0000 (13:28 -0700)]
Merge pull request #1121 from erozenfeld/CrossgenFix

Fix crossgen so that it doesn't attempt to get clr callbacks.

9 years agoAdd support for IL tests.
Pat Gavlin [Tue, 9 Jun 2015 19:40:18 +0000 (12:40 -0700)]
Add support for IL tests.

This change is comprised of two parts:
- A new property in dir.targets, ProjectLanguage, that allows test
  projects to specify the language in which they are written. If unset,
  this property is inferred from the extension, defaulting to C# if all
  else fails. The only lanugages currently supported are C# and IL, but
  it should be easy to support others (e.g. Visual Basic) if necessary.
- A copy of IL.targets from Microsoft.DotNet.BuildTools. This should be
  removed once CoreCLR has been moved to a version of the build tools
  package that contains IL.targets; this work is tracked by
  https://github.com/dotnet/coreclr/issues/1122.

This work is necessary to support a large number of JIT tests that are
written in IL and have yet to be ported.

9 years agoAdd all remaining JIT/Regression test cases for JIT
Bengu Li [Tue, 9 Jun 2015 19:45:27 +0000 (12:45 -0700)]
Add all remaining JIT/Regression test cases for JIT

Add all remaining JIT/Regression test cases for JIT. All under CLR-x86-JIT.
Related proj, config files added. AllTestProjects.sln update delayed for a
batch adding. Passed build, buildtest, runtest.

9 years agoFix crossgen so that it doesn't attempt to get clr callbacks.
Eugene Rozenfeld [Tue, 9 Jun 2015 18:45:12 +0000 (11:45 -0700)]
Fix crossgen so that it doesn't attempt to get clr callbacks.

This was preventing llilc from being used as an ngen jit. The fix is from Jan Kotas.

9 years agoMerge pull request #1118 from libengu/testv1m09
Bengu Li [Tue, 9 Jun 2015 03:38:30 +0000 (20:38 -0700)]
Merge pull request #1118 from libengu/testv1m09

Add JIT/Regression/CLR-x86-JIT/V1-M09 test cases for JIT

9 years agoMerge pull request #1117 from hadibrais/master
Jan Vorlicek [Mon, 8 Jun 2015 22:29:13 +0000 (00:29 +0200)]
Merge pull request #1117 from hadibrais/master

Build, Windows: Use Config instead of Build Type

9 years agoAdd JIT/Regression/CLR-x86-JIT/V1-M09 test cases for JIT
Bengu Li [Mon, 8 Jun 2015 18:31:51 +0000 (11:31 -0700)]
Add JIT/Regression/CLR-x86-JIT/V1-M09 test cases for JIT

Add JIT/Regression/CLR-x86-JIT/V1-M09 test cases for JIT. Related proj, config files added.
AllTestProjects.sln update delayed for a batch adding. Passed build, buildtest, runtest.

9 years agoMerge pull request #1116 from jasonwilliams200OK/master
Matt Mitchell [Mon, 8 Jun 2015 16:23:45 +0000 (09:23 -0700)]
Merge pull request #1116 from jasonwilliams200OK/master

build,freebsd: Adds freebsdmscorlib to build.cmd

9 years agoBuild, Windows: Use Config instead of Build Type
Hadi Brais [Mon, 8 Jun 2015 13:22:23 +0000 (18:52 +0530)]
Build, Windows: Use Config instead of Build Type

CMAKE_BUILD_TYPE should not be used with multi-configuration toolsets like Visual Studio. This commit removes the dependence of the Windows build on CMAKE_BUILD_TYPE.

See (https://github.com/dotnet/coreclr/pull/1111#commitcomment-11562822).

9 years agobuild,freebsd: Adds freebsdmscorlib to build.cmd.
Peter Jas [Sun, 7 Jun 2015 18:04:01 +0000 (18:04 +0000)]
build,freebsd: Adds freebsdmscorlib to build.cmd.

9 years agoMerge pull request #1112 from josteink/freebsd-pal-tests
Jan Kotas [Sun, 7 Jun 2015 18:45:51 +0000 (11:45 -0700)]
Merge pull request #1112 from josteink/freebsd-pal-tests

Fix timing in PAL-tests for FreeBSD on hypervisors.

9 years agoFix timing in PAL-tests for FreeBSD on hypervisors.
Jostein Kjønigsen [Thu, 4 Jun 2015 06:29:55 +0000 (16:29 +1000)]
Fix timing in PAL-tests for FreeBSD on hypervisors.

9 years agoMerge pull request #1111 from hadibrais/master
Jan Kotas [Sun, 7 Jun 2015 15:51:41 +0000 (08:51 -0700)]
Merge pull request #1111 from hadibrais/master

Enable Whole Program Optimization (WPO) for the Release build on Windows

9 years agoMerge pull request #1115 from stephentoub/build_windowsmscorlib
Jan Kotas [Sun, 7 Jun 2015 14:19:12 +0000 (07:19 -0700)]
Merge pull request #1115 from stephentoub/build_windowsmscorlib

Add windowsmscorlib option to build.cmd

9 years agobuild,win: Enables Whole Program Optimization.
Hadi Brais [Sat, 6 Jun 2015 13:48:06 +0000 (19:18 +0530)]
build,win: Enables Whole Program Optimization.

* Enables whole program optimization for release configuration
  on Windows.

* Fixes all messages "/LTCG specified but no code generation required;
  remove /LTCG from link command line to improve linker performance"
  which slow down the build process.

* Fixes all messages "MSIL .netmodule or module compiled with /GL
  found; restarting link with /LTCG; add /LTCG to the link command
  line to improve linker performance" which slow down the build
  process.

* The previous two fixes work in Release and Debug builds on Windows.

Issue-URL: #1086

9 years agoAdd windowsmscorlib option to build.cmd
stephentoub [Sun, 7 Jun 2015 11:22:41 +0000 (07:22 -0400)]
Add windowsmscorlib option to build.cmd

9 years agoMerge pull request #1108 from dotnet-bot/from-tfs
Jan Kotas [Sat, 6 Jun 2015 22:59:37 +0000 (15:59 -0700)]
Merge pull request #1108 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoObjectDisposedException handled in test wrapper.
krk [Fri, 5 Jun 2015 20:56:49 +0000 (23:56 +0300)]
ObjectDisposedException handled in test wrapper.

Process output and error event handlers are being called after a
timeout has expired but the process has not exited.

* ObjectDisposedException is handled around AutoResetEvent.Set() method
  calls in CoreclrTestWrapperLib class.

Fix #1039

9 years agoMerge pull request #1105 from janvorli/fix-ctrlc-handling-2
Jan Vorlicek [Sat, 6 Jun 2015 05:45:15 +0000 (07:45 +0200)]
Merge pull request #1105 from janvorli/fix-ctrlc-handling-2

Fix SIGINT and SIGQUIT handling on Linux / FreeBSD

9 years agoMerge pull request #1109 from mikem8361/verifyheap
Mike McLaughlin [Sat, 6 Jun 2015 00:16:30 +0000 (17:16 -0700)]
Merge pull request #1109 from mikem8361/verifyheap

Enable VerifyHeap and DumpHeap.

9 years agoEnable VerifyHeap and DumpHeap.
Mike McLaughlin [Thu, 4 Jun 2015 19:00:51 +0000 (12:00 -0700)]
Enable VerifyHeap and DumpHeap.

Fix error output. The lldb function cached all the error output separately from the normal output so the error/normal text are not properly intermixed.

Fixed calculation in CardIsSet getting the lowest address from card table header. Use the ALIGN_DOWN macro to make it a little more clear what is going on in CardIsSet.  Couldn't include stdmacros.h (containing this macro) in the sos context so the macro has been copied to the beginning of the file.

Changed some "unsigned long" in sos to "ULONG" because it is different between Linux and Windows.

9 years agoFix SIGINT and SIGQUIT handling on Linux / FreeBSD
Jan Vorlicek [Fri, 5 Jun 2015 17:23:55 +0000 (19:23 +0200)]
Fix SIGINT and SIGQUIT handling on Linux / FreeBSD

This change changes the way the SIGINT and SIGQUIT are handled. First, it
makes sure that when the signal is not handled, we call the default signal
handler that takes care of the proper default behavior.
And second, it makes debugging experience better. Before, in the external events
handler thread we were waiting for these signals and then spawning a console event
handling thread. That caused the signals to be detected in that thread even when
running under the debugger, effectively making ctrl-c break-in unusable, since
an attempt to continue after the ctrl-c caused the process to exit.
I have modified it so that the SIGINT and SIGQUIT are now handled by regular signal
handlers and use pipe to notify the external events handler thread about the
events. That way, the debugger has a chance to swallow the SIGINT signal and work
as expected.

9 years agoFix bug: CoreCLR debugger couldn't make more than one EnC edit to a method. Second...
Eugene Zemtsov [Fri, 5 Jun 2015 22:03:44 +0000 (15:03 -0700)]
Fix bug: CoreCLR debugger couldn't make more than one EnC edit to a method. Second and all further attempts failed, moreover sometimes VS debugger would crash with AV trying to do EnC. (TFS bug #1172983)

[tfs-changeset: 1483755]

9 years agoMerge pull request #1106 from dotnet-bot/from-tfs
Jan Kotas [Fri, 5 Jun 2015 20:31:20 +0000 (13:31 -0700)]
Merge pull request #1106 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agofix typo reported in OSG bug 1017856
Rahul Kumar [Fri, 5 Jun 2015 18:21:03 +0000 (11:21 -0700)]
fix typo reported in OSG bug 1017856

[tfs-changeset: 1483634]

9 years agoMerge pull request #1101 from bgribaudo/bgribaudo-raw-instruction-updates
Jan Kotas [Fri, 5 Jun 2015 01:57:55 +0000 (18:57 -0700)]
Merge pull request #1101 from bgribaudo/bgribaudo-raw-instruction-updates

Revising raw demo instructions

9 years agoMerge pull request #1100 from dotnet-bot/from-tfs
Jan Kotas [Fri, 5 Jun 2015 01:53:52 +0000 (18:53 -0700)]
Merge pull request #1100 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoRevising raw demo instructions
Ben Gribaudo [Thu, 4 Jun 2015 23:16:02 +0000 (18:16 -0500)]
Revising raw demo instructions

* Revised package version to reflect versions currently available from the MyGet (most versions listed were no longer available).
* Fixed command line `for...` statement so that it works with paths containing spaces and doesn't accidentally copy reference assemblies.
* Added NETCore.Runtime.ApiSets-x64 package and copying instructions so that the tutorial works for Windows 7 users.
* Minor edits, including formatting adjustments and a spelling fix.

9 years agoMerge pull request #1092 from dotnet-bot/from-tfs
Jan Kotas [Thu, 4 Jun 2015 22:22:12 +0000 (15:22 -0700)]
Merge pull request #1092 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #1085 from fieryorc/pal_cpp
Prem Ramanathan [Thu, 4 Jun 2015 21:41:14 +0000 (14:41 -0700)]
Merge pull request #1085 from fieryorc/pal_cpp

Make PAL headers compatible with C++11 headers.

9 years agoChanges necessary to make PAL headers compatible with c++ headers,
Prem Ramanathan [Tue, 19 May 2015 07:58:47 +0000 (00:58 -0700)]
Changes necessary to make PAL headers compatible with c++ headers,
allowing them to be used side by side with c++11 headers.

Contains few fixes to PAL library as well.

9 years agoMerge pull request #1095 from stephentoub/console_ctrlhandler
Stephen Toub [Thu, 4 Jun 2015 20:27:51 +0000 (16:27 -0400)]
Merge pull request #1095 from stephentoub/console_ctrlhandler

Initialize signal-handling thread in PAL initialization

9 years agoInitialize signal-handling thread in PAL initialization
stephentoub [Thu, 4 Jun 2015 19:06:10 +0000 (15:06 -0400)]
Initialize signal-handling thread in PAL initialization

Without this, ctrl-C will not interrupt a program, nor
will Console.CancelKeyPress in corefx work.

9 years agoaddressing arm64 build break- renabling uwp for arm64. conditionally excluding a...
Rama Krishnan Raghupathy [Thu, 4 Jun 2015 16:24:28 +0000 (09:24 -0700)]
addressing arm64 build break- renabling uwp for arm64. conditionally excluding a lib file- api-ms-win-core-winrt-l1-1-0.lib

[tfs-changeset: 1482794]

9 years agoMerge pull request #1087 from stephentoub/path_altchar
Jan Vorlicek [Thu, 4 Jun 2015 15:17:40 +0000 (17:17 +0200)]
Merge pull request #1087 from stephentoub/path_altchar

Fix Path.AltDirectorySeparatorChar to be '/' on Unix

9 years agodisabling uwp infrastruture for arm64 builds for now
Rama Krishnan Raghupathy [Thu, 4 Jun 2015 01:52:24 +0000 (18:52 -0700)]
disabling uwp infrastruture for arm64 builds for now

[tfs-changeset: 1482465]

9 years agoMerge pull request #1008 from BruceForstall/docs
Stephen Toub [Wed, 3 Jun 2015 23:49:15 +0000 (19:49 -0400)]
Merge pull request #1008 from BruceForstall/docs

Update some paths, fix typos

9 years agoUpdate some paths, fix typos
Bruce Forstall [Fri, 15 May 2015 23:09:18 +0000 (16:09 -0700)]
Update some paths, fix typos

9 years agoMerge pull request #1090 from BruceForstall/JitCodingConventions
Bruce Forstall [Wed, 3 Jun 2015 23:09:15 +0000 (16:09 -0700)]
Merge pull request #1090 from BruceForstall/JitCodingConventions

Rename JIT coding conventions doc to lower case

9 years agoRename JIT coding conventions doc to lower case and match other docs naming convention
Bruce Forstall [Wed, 3 Jun 2015 23:02:40 +0000 (16:02 -0700)]
Rename JIT coding conventions doc to lower case and match other docs naming convention

Fixes bad link from README.md.

9 years agoMerge pull request #1088 from libengu/AddDev11Test
Bengu Li [Wed, 3 Jun 2015 22:13:55 +0000 (15:13 -0700)]
Merge pull request #1088 from libengu/AddDev11Test

Add multiple smaller test directories under JIT/Regression

9 years agoAdd multiple smaller test directories under JIT/Regression
Bengu Li [Wed, 3 Jun 2015 18:42:28 +0000 (11:42 -0700)]
Add multiple smaller test directories under JIT/Regression

Add all other test directories under JIT/Regression except for CLR-x86-JIT which is
a big one. Related proj, config files added. AllTestProjects.sln is updated.
Passed build, buildtest, runtest.

9 years agoFix Path.AltDirectorySeparatorChar to be '/' on Unix
stephentoub [Wed, 3 Jun 2015 14:17:52 +0000 (10:17 -0400)]
Fix Path.AltDirectorySeparatorChar to be '/' on Unix

9 years agoMerge pull request #1075 from richlander/rich-docs-update2
Rich Lander [Wed, 3 Jun 2015 04:16:21 +0000 (21:16 -0700)]
Merge pull request #1075 from richlander/rich-docs-update2

Move wiki files to coreclr repo

9 years agoMerge pull request #1084 from mikem8361/resourcelib
Mike McLaughlin [Tue, 2 Jun 2015 23:56:11 +0000 (16:56 -0700)]
Merge pull request #1084 from mikem8361/resourcelib

Fix unresolved symbol in dbgshim by adding the native resource lib.

9 years agoFix unresolved symbol by adding the native resource lib.
Mike McLaughlin [Tue, 2 Jun 2015 22:51:17 +0000 (15:51 -0700)]
Fix unresolved symbol by adding the native resource lib.

9 years agoRe-work wiki as Repo docs
Richard Lander [Tue, 2 Jun 2015 04:33:41 +0000 (21:33 -0700)]
Re-work wiki as Repo docs

9 years agoMerge pull request #1081 from dotnet-bot/from-tfs
Jan Kotas [Tue, 2 Jun 2015 04:07:37 +0000 (21:07 -0700)]
Merge pull request #1081 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoFix 1176647: Jit does invalid reordering of left and right side
Carol Eidt [Mon, 1 Jun 2015 23:36:26 +0000 (16:36 -0700)]
Fix 1176647: Jit does invalid reordering of left and right side

This bug occurs in the Lowering of the code for a compare, where op1 is an indirection, and op2 is a call.  It chooses to make op1 "contained" (i.e. do the load as part of the compare op), but this is invalid because the call may modify op1.

This also fixes a similar issue with RMW operators (e.g. +=).

Fixing this causes numerous regressions (a few improvements, due to keeping fewer things live across the call), but they look valid - that is, they are a similar case of delaying a load past a call.

[tfs-changeset: 1480705]

9 years agoMerge pull request #1080 from mikem8361/cleanup
Mike McLaughlin [Mon, 1 Jun 2015 23:30:51 +0000 (16:30 -0700)]
Merge pull request #1080 from mikem8361/cleanup

General SOS support cleanup

9 years agoCR feedback: corhost.h is private.
Mike McLaughlin [Mon, 1 Jun 2015 23:29:34 +0000 (16:29 -0700)]
CR feedback: corhost.h is private.

9 years agoGeneral cleanup. Don't install libdebug-pal.a. Ifdef some DEBUG only code.
Mike McLaughlin [Tue, 31 Mar 2015 22:58:17 +0000 (15:58 -0700)]
General cleanup. Don't install libdebug-pal.a. Ifdef some DEBUG only code.

Use the coreclr module path from the target process to load the sos module.

9 years agoMerge pull request #1047 from justinvp/readerwriter
Aditya Mandaleeka [Mon, 1 Jun 2015 20:09:46 +0000 (13:09 -0700)]
Merge pull request #1047 from justinvp/readerwriter

Avoid unnecessary delegate allocations in TextReader & TextWriter

9 years agoUpdate Contributor and Developer Guides and other docs
Rich Lander [Wed, 11 Mar 2015 17:50:06 +0000 (10:50 -0700)]
Update Contributor and Developer Guides and other docs

9 years agoLink to performance requirements
Brian Robbins [Tue, 24 Feb 2015 16:07:09 +0000 (08:07 -0800)]
Link to performance requirements

9 years agoCreate Testing across repos
Alexandru Ghiondea [Fri, 20 Feb 2015 20:18:14 +0000 (12:18 -0800)]
Create Testing across repos

9 years agoUpdate Performance
Brian Robbins [Thu, 12 Feb 2015 17:48:47 +0000 (09:48 -0800)]
Update Performance

9 years agoUpdate wording and links for Visual Studio 2013
Rich Lander [Wed, 11 Feb 2015 17:00:01 +0000 (09:00 -0800)]
Update wording and links for Visual Studio 2013