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
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.
Stephen Toub [Sat, 13 Jun 2015 11:49:24 +0000 (07:49 -0400)]
Merge pull request #1134 from tvlooy/patch-2
Fix typo
Tom Van Looy [Sat, 13 Jun 2015 06:13:09 +0000 (08:13 +0200)]
Fix typo
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.
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
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)
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.
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
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]
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
Zlatko Knezevic [Wed, 10 Jun 2015 14:43:33 +0000 (07:43 -0700)]
Fixing for comments in #1114
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.
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
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
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.
Rony Batista [Wed, 10 Jun 2015 07:04:41 +0000 (03:04 -0400)]
fixed typo in BufferedStream comments
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
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).
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.
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.
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.
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.
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.
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
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
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.
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
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).
Peter Jas [Sun, 7 Jun 2015 18:04:01 +0000 (18:04 +0000)]
build,freebsd: Adds freebsdmscorlib to build.cmd.
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.
Jostein Kjønigsen [Thu, 4 Jun 2015 06:29:55 +0000 (16:29 +1000)]
Fix timing in PAL-tests for FreeBSD on hypervisors.
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
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
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
stephentoub [Sun, 7 Jun 2015 11:22:41 +0000 (07:22 -0400)]
Add windowsmscorlib option to build.cmd
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
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
Mike McLaughlin [Sat, 6 Jun 2015 00:16:30 +0000 (17:16 -0700)]
Merge pull request #1109 from mikem8361/verifyheap
Enable 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.
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.
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]
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
Rahul Kumar [Fri, 5 Jun 2015 18:21:03 +0000 (11:21 -0700)]
fix typo reported in OSG bug 1017856
[tfs-changeset: 1483634]
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
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
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.
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
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.
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.
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
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.
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]
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
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]
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
Bruce Forstall [Fri, 15 May 2015 23:09:18 +0000 (16:09 -0700)]
Update some paths, fix typos
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
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.
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
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.
stephentoub [Wed, 3 Jun 2015 14:17:52 +0000 (10:17 -0400)]
Fix Path.AltDirectorySeparatorChar to be '/' on Unix
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
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.
Mike McLaughlin [Tue, 2 Jun 2015 22:51:17 +0000 (15:51 -0700)]
Fix unresolved symbol by adding the native resource lib.
Richard Lander [Tue, 2 Jun 2015 04:33:41 +0000 (21:33 -0700)]
Re-work wiki as Repo docs
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
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]
Mike McLaughlin [Mon, 1 Jun 2015 23:30:51 +0000 (16:30 -0700)]
Merge pull request #1080 from mikem8361/cleanup
General SOS support cleanup
Mike McLaughlin [Mon, 1 Jun 2015 23:29:34 +0000 (16:29 -0700)]
CR feedback: corhost.h is private.
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.
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
Rich Lander [Wed, 11 Mar 2015 17:50:06 +0000 (10:50 -0700)]
Update Contributor and Developer Guides and other docs
Brian Robbins [Tue, 24 Feb 2015 16:07:09 +0000 (08:07 -0800)]
Link to performance requirements
Alexandru Ghiondea [Fri, 20 Feb 2015 20:18:14 +0000 (12:18 -0800)]
Create Testing across repos
Brian Robbins [Thu, 12 Feb 2015 17:48:47 +0000 (09:48 -0800)]
Update Performance
Rich Lander [Wed, 11 Feb 2015 17:00:01 +0000 (09:00 -0800)]
Update wording and links for Visual Studio 2013
Immo Landwerth [Tue, 10 Feb 2015 01:18:29 +0000 (17:18 -0800)]
Update Contribution guidelines
Alexandru Ghiondea [Tue, 10 Feb 2015 00:32:25 +0000 (16:32 -0800)]
Update contribution guidelines
Jan Kotas [Sat, 7 Feb 2015 10:47:36 +0000 (02:47 -0800)]
Update Contribution guidelines
Alexandru Ghiondea [Fri, 6 Feb 2015 22:38:17 +0000 (14:38 -0800)]
Create Contribution guidelines
Brian Robbins [Tue, 3 Feb 2015 20:07:53 +0000 (12:07 -0800)]
Update Performance
Gaurav Khanna [Tue, 3 Feb 2015 17:46:37 +0000 (09:46 -0800)]
Update Developer and Contributor Guides
Brian Robbins [Tue, 3 Feb 2015 15:57:04 +0000 (07:57 -0800)]
Create Garbage Collector Contributions
Gaurav Khanna [Tue, 3 Feb 2015 11:27:03 +0000 (03:27 -0800)]
Update Developer and Contributor Guides
Brian Robbins [Tue, 3 Feb 2015 00:12:18 +0000 (16:12 -0800)]
Create Performance
Gaurav Khanna [Sat, 31 Jan 2015 01:18:06 +0000 (17:18 -0800)]
Create Developer and Contributor Guides
Eugene Zemtsov [Sat, 30 May 2015 10:49:13 +0000 (03:49 -0700)]
Merge pull request #1073 from Djuffin/icastable
Fix an issue in implementation of ICastable
Eugene Zemtsov [Sat, 30 May 2015 02:38:19 +0000 (19:38 -0700)]
Fix a bug in implementation of ICastable when CoreCLR throws exception on IL isinst if IsInstanceOfInterface() sets the exception out param.
Correct behavior: If false is returned when IsInstanceOfInterface() called as part of a castclass then the usual InvalidCastException
will be thrown unless an alternate exception is assigned to the castError output parameter.
This parameter is ignored on successful casts or during the evaluation of an isinst (which returns null rather than throwing on error).
Jan Vorlicek [Sat, 30 May 2015 07:52:06 +0000 (09:52 +0200)]
Merge pull request #1074 from janvorli/minimize-coreclr-exports-fix
Add missing EnsureOpenSslInitialized to the export list of coreclr
Jan Vorlicek [Sat, 30 May 2015 07:15:22 +0000 (09:15 +0200)]
Add missing EnsureOpenSslInitialized to the export list of coreclr
Jan Vorlicek [Fri, 29 May 2015 21:53:29 +0000 (23:53 +0200)]
Merge pull request #1065 from janvorli/minimize-coreclr-exports
Limit the libcoreclr.so exports to the necessary minimum
Jan Kotas [Fri, 29 May 2015 21:16:10 +0000 (14:16 -0700)]
Merge pull request #1071 from dotnet-bot/from-tfs
Merge changes from TFS
Bengu Li [Fri, 29 May 2015 21:07:41 +0000 (14:07 -0700)]
Merge pull request #1069 from libengu/UpdateAllProjectSolution
Update AllTestProjects.sln for Regression tests
Nick Guerrera [Fri, 29 May 2015 20:24:28 +0000 (13:24 -0700)]
Expose EventAttribute.ActivityOptions from CoreCLR mscorlib
This is required for compatibility with the latest tracing contract.
[tfs-changeset: 1479360]
Stephen Toub [Fri, 29 May 2015 15:01:33 +0000 (11:01 -0400)]
Merge pull request #1068 from stephentoub/executeassembly_exitcode
Fix exitCode from ExecuteAssembly
stephentoub [Thu, 28 May 2015 19:02:40 +0000 (15:02 -0400)]
Fix exitCode from ExecuteAssembly
ExecuteAssembly is initializing exitCode to 0 on entrance to the function. If it then fails prior to exitCode being set when invoking the entry point, the exitCode remains 0 even though there was a failure, and corerun ends up returning a successful exit code.
Jan Vorlicek [Thu, 28 May 2015 00:15:00 +0000 (02:15 +0200)]
Limit the libcoreclr.so exports to the required minimum
This change limits the libcoreclr.so exports on Unix to functions that are PInvoked
by the managed mscorlib / corefx and the DllMain, CoreDllMain and ExecuteAssembly.
Bengu Li [Thu, 28 May 2015 21:55:10 +0000 (14:55 -0700)]
Update AllTestProjects.sln for Regression tests
Add all Regression\VS-ia64-JIT projects to AllTestProjects.sln.
Jan Kotas [Thu, 28 May 2015 20:13:28 +0000 (13:13 -0700)]
Merge pull request #1066 from jkotas/gcsample
Fix GCSample