platform/upstream/coreclr.git
8 years agoMerge pull request #1850 from dotnet-bot/from-tfs
Matt Ellis [Fri, 23 Oct 2015 00:42:48 +0000 (17:42 -0700)]
Merge pull request #1850 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #1849 from janvorli/fix-fp-registers-offset
Jan Vorlicek [Thu, 22 Oct 2015 23:52:57 +0000 (16:52 -0700)]
Merge pull request #1849 from janvorli/fix-fp-registers-offset

Fix floatingpoint register offsets in TransitionBlock for Unix

8 years agoMerge pull request #1830 from erozenfeld/RotateBits
Eugene Rozenfeld [Thu, 22 Oct 2015 22:37:41 +0000 (15:37 -0700)]
Merge pull request #1830 from erozenfeld/RotateBits

     Generate efficient code for rotation patterns.

8 years agoMerge pull request #1848 from dotnet-bot/from-tfs
Matt Ellis [Thu, 22 Oct 2015 22:35:03 +0000 (15:35 -0700)]
Merge pull request #1848 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoadding more context
Rama Krishnan Raghupathy [Thu, 22 Oct 2015 22:07:33 +0000 (15:07 -0700)]
adding more context

[tfs-changeset: 1540889]

8 years agoAddressing Desktop Build break due to addition of a new non windows event in Clretwal...
Rama Krishnan Raghupathy [Thu, 22 Oct 2015 21:10:15 +0000 (14:10 -0700)]
Addressing Desktop Build break due to addition of a new non windows event in Clretwall.man

[tfs-changeset: 1540865]

8 years agoMerge pull request #1816 from stephentoub/string_indexof_perf
Stephen Toub [Thu, 22 Oct 2015 20:47:51 +0000 (16:47 -0400)]
Merge pull request #1816 from stephentoub/string_indexof_perf

Improve string.{Last}IndexOf perf on Unix for Ordinal/OrdinalIgnoreCase

8 years agoMerge pull request #1840 from caslan/customnotificationfix
Cagri Aslan [Thu, 22 Oct 2015 20:20:23 +0000 (13:20 -0700)]
Merge pull request #1840 from caslan/customnotificationfix

Fixed an issue with getting event size not working for custom notific…

8 years agoUpdate IndexOfOrdinalIgnoreCase to use full code units
stephentoub [Wed, 21 Oct 2015 02:32:14 +0000 (22:32 -0400)]
Update IndexOfOrdinalIgnoreCase to use full code units

8 years agoImprove string.{Last}IndexOf perf on Unix for Ordinal/OrdinalIgnoreCase
stephentoub [Tue, 20 Oct 2015 19:34:38 +0000 (15:34 -0400)]
Improve string.{Last}IndexOf perf on Unix for Ordinal/OrdinalIgnoreCase

Our current implementation of IndexOfOrdinal for strings on Unix uses Substring to get the piece of the source string we care about; this results in an unnecessary allocation / string copy.  When using OrdinalIgnoreCase, we also convert both the source and search strings to upper-case using ToUpperInvariant, resulting in more allocations.  And our LastIndexOfOrdinal implementation delegates to IndexOfOrdinal repeatedly, incurring such allocations potentially multiple times.

This change reimplements Ordinal searching in managed code to not use Substring, and it implements OrdinalIgnoreCase searching via new functions exposed in the native globalization shim, so as to use ICU without having to make managed/native transitions for each character.

With the changes, {Last}IndexOf with Ordinal/OrdinalIgnoreCase are now allocateion-free (as you'd expect), and throughput when startIndex/count and/or OrdinalIgnoreCase are used is increased significantly, on my machine anywhere from 20% to 3x, depending on the inputs.

8 years agoMerge pull request #1833 from kouvel/Inline2
Koundinya Veluri [Thu, 22 Oct 2015 18:03:04 +0000 (11:03 -0700)]
Merge pull request #1833 from kouvel/Inline2

Move some functions to allow them to be inlined with clang

8 years agoFix floatingpoint register offsets in TransitionBlock for Unix
Jan Vorlicek [Thu, 22 Oct 2015 17:55:02 +0000 (10:55 -0700)]
Fix floatingpoint register offsets in TransitionBlock for Unix

The conversion between floating point register index and offset was incorrectly
multiplying the the index by 8 instead of 16. The xmm registers in the
TransitionBlock on Unix take 16 bytes each, not 8.

8 years agoMerge pull request #1839 from mmitche/fix-linux-coreclr-tests
Matt Mitchell [Thu, 22 Oct 2015 15:45:48 +0000 (08:45 -0700)]
Merge pull request #1839 from mmitche/fix-linux-coreclr-tests

A couple tweaks to coreclr linux tests

8 years agoA couple tweaks to coreclr linux tests
Matt Mitchell [Thu, 22 Oct 2015 15:40:34 +0000 (08:40 -0700)]
A couple tweaks to coreclr linux tests

8 years agoFixed an issue with getting event size not working for custom notification event
Cagri Aslan [Sat, 17 Oct 2015 00:43:39 +0000 (17:43 -0700)]
Fixed an issue with getting event size not working for custom notification event

8 years agoMerge pull request #1820 from richlander/rich-cleanup
Matt Ellis [Thu, 22 Oct 2015 05:43:32 +0000 (22:43 -0700)]
Merge pull request #1820 from richlander/rich-cleanup

Update license attribution

8 years agoMove some functions to allow them to be inlined with clang
Koundinya Veluri [Tue, 20 Oct 2015 17:37:01 +0000 (10:37 -0700)]
Move some functions to allow them to be inlined with clang

For the moment, GetThread, _rotl/_rotr, Interlocked..., and similar functions were moved to allow inlining them with clang.

The plan is to eventually enable link-time optimization (LTO) to cover inlining across translation units.

Renamed some code files in PAL tests to compile as C++ to use the C++ inline semantics.

8 years agoMerge pull request #1827 from brianrob/tracinginit
Brian Robbins [Thu, 22 Oct 2015 03:03:38 +0000 (20:03 -0700)]
Merge pull request #1827 from brianrob/tracinginit

Initialize LTTng tracepoint providers automatically

8 years agoMerge pull request #1751 from ramarag/eventsource
Rama krishnan Raghupathy [Thu, 22 Oct 2015 03:00:57 +0000 (20:00 -0700)]
Merge pull request #1751 from ramarag/eventsource

Enable EventSource Logging in Linux via Lttng

8 years ago Generate efficient code for rotation patterns.
Eugene Rozenfeld [Tue, 13 Oct 2015 01:36:25 +0000 (18:36 -0700)]
 Generate efficient code for rotation patterns.

     This change adds code to recognize rotation idioms and generate efficient instructions for them.

     Two new operators are added: GT_ROL and GT_ROR.

     The patterns recognized:
     (x << c1) | (x >>> c2) => x rol c1
     (x >>> c1) | (x << c2) => x ror c2

     where c1 and c2  are constant and c1 + c2 == bitsize(x)

     (x << y) | (x >>> (N - y)) => x rol y
     (x >>> y) | (x << (N - y)) => x ror y

     where N == bitsize(x)

     (x << y & M1) | (x >>> (N - y) & M2) => x rol y
     (x >>> y & M1) | (x << (N - y) & M2) => x ror y

     where N == bitsize(x)
     M1 & (N - 1) == N - 1
     M2 & (N - 1) == N - 1

     For a simple benchmark with 4 rotation patterns in a tight loop
     time goes from 7.324 to 2.600 (2.8 speedup).

     Rotations found and optimized in mscorlib:
     System.Security.Cryptography.SHA256Managed::RotateRight
     System.Security.Cryptography.SHA384Managed::RotateRight
     System.Security.Cryptography.SHA512Managed::RotateRight
     System.Security.Cryptography.RIPEMD160Managed:MDTransform (320 instances!)
     System.Diagnostics.Tracing.EventSource.Sha1ForNonSecretPurposes::Rol1
     System.Diagnostics.Tracing.EventSource.Sha1ForNonSecretPurposes::Rol5
     System.Diagnostics.Tracing.EventSource.Sha1ForNonSecretPurposes::Rol30
     System.Diagnostics.Tracing.EventSource.Sha1ForNonSecretPurposes::Drain
     (9 instances of Sha1ForNonSecretPurposes::Rol* inlined)

     Closes #1619.

8 years agoMerge pull request #1828 from ellismg/fix-directory-casing
Matt Ellis [Thu, 22 Oct 2015 01:46:58 +0000 (18:46 -0700)]
Merge pull request #1828 from ellismg/fix-directory-casing

Fix directory casing of `regressions' in test/src

8 years agoEnable EventSource Logging in Linux via Lttng
Rama [Mon, 12 Oct 2015 23:09:40 +0000 (16:09 -0700)]
Enable EventSource Logging in Linux via Lttng

8 years agoFix directory casing of `regressions' in test/src
Matt Ellis [Thu, 22 Oct 2015 00:42:33 +0000 (17:42 -0700)]
Fix directory casing of `regressions' in test/src

We had both tests/src/Regressions and tests/src/regressions which causes
problems because the on disc casing of files now differs based on if you
have a case insensitive file system or not.

This was confusing the the mirror a great deal because the casing of the
files is unified on the TFS side but the mirror was seeing these files
as renames.

8 years agoInitialize LTTng tracepoint provider as part of loading libcoreclr.so.
Brian Robbins [Wed, 21 Oct 2015 23:34:42 +0000 (16:34 -0700)]
Initialize LTTng tracepoint provider as part of loading libcoreclr.so.

8 years agoMerge pull request #1809 from mmitche/add-x86-builds
Matt Mitchell [Wed, 21 Oct 2015 23:26:36 +0000 (16:26 -0700)]
Merge pull request #1809 from mmitche/add-x86-builds

Add x86 builds to CI (most off by default)

8 years agoAdd x86 builds to CI (most off by default)
Matt Mitchell [Tue, 20 Oct 2015 18:20:45 +0000 (11:20 -0700)]
Add x86 builds to CI (most off by default)

* Builds are available through trigger phrases
* x86 windows_nt on for pushes by default
Additionally:
 * fixes workspace parameter quoting for Linux coreclr tests

8 years agoMerge pull request #1788 from naamunds/UpdateXplatDoc
Nate Amundson [Wed, 21 Oct 2015 22:45:44 +0000 (17:45 -0500)]
Merge pull request #1788 from naamunds/UpdateXplatDoc

Update Linux and OS X build instructions

8 years agoUpdate Linux and OS X build instructions
Nate Amundson [Wed, 21 Oct 2015 22:43:26 +0000 (17:43 -0500)]
Update Linux and OS X build instructions

CoreClr (including mscorlib) and CoreFx can now be built using Mono on
both Linux and OS X; this change updates the instructions to reflect
that.  It also moves the instructions for the alternative option of
building the x-plat bits on Windows to cross-building.md.

This change also adds System.Globalization.Native, which is now
necessary.

At some point the FreeBSD documentation should also be updated to be
consistent with the Linux and OS X instructions; ideally, they should be
combined into one file, as discussed in https://github.com/dotnet/coreclr/issues/1590.

8 years agoMerge pull request #1780 from adityamandaleeka/librarySearchPaths
Aditya Mandaleeka [Wed, 21 Oct 2015 22:26:49 +0000 (15:26 -0700)]
Merge pull request #1780 from adityamandaleeka/librarySearchPaths

Fix DllImport search logic with respect to prefixes/suffixes

8 years agoAdd STANDARD_VM_CONTRACT and remove loop that's no longer needed.
Aditya Mandaleeka [Wed, 21 Oct 2015 20:58:52 +0000 (13:58 -0700)]
Add STANDARD_VM_CONTRACT and remove loop that's no longer needed.

8 years agoMerge pull request #1824 from Priya91/fixbug
Lakshmi Priya [Wed, 21 Oct 2015 20:01:37 +0000 (13:01 -0700)]
Merge pull request #1824 from Priya91/fixbug

Fix lpFileName leak in InternalCreateProcess.

8 years agoAlways attempt to load specified DLL name first before trying variations
Aditya Mandaleeka [Tue, 20 Oct 2015 03:53:05 +0000 (20:53 -0700)]
Always attempt to load specified DLL name first before trying variations

8 years agoRemove ReversePInvoke test from failing tests list.
Aditya Mandaleeka [Thu, 15 Oct 2015 22:30:36 +0000 (15:30 -0700)]
Remove ReversePInvoke test from failing tests list.

8 years agoMove prefix/suffix logic to dllimport
Aditya Mandaleeka [Thu, 15 Oct 2015 22:09:51 +0000 (15:09 -0700)]
Move prefix/suffix logic to dllimport

8 years agoFix lpFileName leak in InternalCreateProcess.
Lakshmi Priya Sekar [Wed, 21 Oct 2015 15:57:23 +0000 (08:57 -0700)]
Fix lpFileName leak in InternalCreateProcess.

8 years agoMerge pull request #1822 from janvorli/fix-pal-new-usage
Stephen Toub [Wed, 21 Oct 2015 16:19:58 +0000 (12:19 -0400)]
Merge pull request #1822 from janvorli/fix-pal-new-usage

Remove new operator usage in PAL

8 years agoRemove new operator usage in PAL
Jan Vorlicek [Wed, 21 Oct 2015 14:49:45 +0000 (07:49 -0700)]
Remove new operator usage in PAL

This change fixes an issue caused by recent change in filename buffers
allocations. It was using the operator new, but it should not be used
in PAL since it invokes overriden operator new in the coreclr.
The fix is to use InternalMalloc instead.

8 years agoMerge pull request #1808 from om3n07/master
Stephen Toub [Wed, 21 Oct 2015 14:34:21 +0000 (10:34 -0400)]
Merge pull request #1808 from om3n07/master

Correct comments on Array sorting methods

8 years agoMerge pull request #1804 from dotnet-bot/from-tfs
Matt Ellis [Wed, 21 Oct 2015 06:58:01 +0000 (23:58 -0700)]
Merge pull request #1804 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #1817 from bryanar/pri1testfix
Bryan P. Arant [Wed, 21 Oct 2015 06:13:07 +0000 (23:13 -0700)]
Merge pull request #1817 from bryanar/pri1testfix

Fixing test infrastructure that affects pri1 tests.

8 years agoRemove bad wording
Richard Lander [Wed, 21 Oct 2015 06:02:19 +0000 (23:02 -0700)]
Remove bad wording
One team borrowed code from another.

8 years agoAdd attribution for lookup3.c
Richard Lander [Tue, 20 Oct 2015 04:08:32 +0000 (21:08 -0700)]
Add attribution for lookup3.c

8 years agoRemove duplicate license
Richard Lander [Tue, 20 Oct 2015 03:27:30 +0000 (20:27 -0700)]
Remove duplicate license

8 years agoAdd attribution for RFC 3492
Richard Lander [Tue, 20 Oct 2015 05:25:51 +0000 (22:25 -0700)]
Add attribution for RFC 3492

8 years agoCorrect attribution for UUIDs and GUIDs
Richard Lander [Mon, 19 Oct 2015 22:35:15 +0000 (15:35 -0700)]
Correct attribution for UUIDs and GUIDs

8 years agoRemove NR reference
Richard Lander [Mon, 19 Oct 2015 16:26:00 +0000 (09:26 -0700)]
Remove NR reference
After speaking to the authors, the attribution comment is not required for this instance. However, Numerical Recipes in C is an awesome book written by some very smart and classy folks. It's a great book.

8 years agoMerge pull request #1744 from Priya91/palstring-rest
Lakshmi Priya [Wed, 21 Oct 2015 02:02:33 +0000 (19:02 -0700)]
Merge pull request #1744 from Priya91/palstring-rest

Use StackString in PAL file apis.

8 years agoMerge pull request #1813 from adityamandaleeka/pal_cleanup
Aditya Mandaleeka [Wed, 21 Oct 2015 00:18:49 +0000 (17:18 -0700)]
Merge pull request #1813 from adityamandaleeka/pal_cleanup

Clean up cleanup code in PAL

8 years agoFix boundary bugs on buffer lengths. Include null char in MAX_LONGPATH.
Lakshmi Priya Sekar [Mon, 19 Oct 2015 18:01:24 +0000 (11:01 -0700)]
Fix boundary bugs on buffer lengths. Include null char in MAX_LONGPATH.

8 years agoFixing some pri1 tests.
Bryan Arant [Tue, 20 Oct 2015 23:03:04 +0000 (16:03 -0700)]
Fixing some pri1 tests.

8 years agoMerge pull request #1806 from LLITCHEV/SystemVStructs
Lubomir Litchev [Tue, 20 Oct 2015 23:14:16 +0000 (16:14 -0700)]
Merge pull request #1806 from LLITCHEV/SystemVStructs

Implementation of System V ABI struct passing.

8 years agoImplementation of System V ABI struct passing.
Lubomir Litchev [Thu, 19 Feb 2015 19:42:30 +0000 (11:42 -0800)]
Implementation of System V ABI struct passing.

This PR adds support for System V x86_64 ABI classification and calling
convention to the VM and the Jit, including, but not limited to Ubuntu
Linux and Mac OS X.
The general rules outlined in the System V x86_64 ABI (described at
http://www.x86-64.org/documentation/abi.pdf) are followed with a few
little exceptions, described below:
1. The hidden argument for by-value passed structs is always after
the ÎéÎíthisÎéÎí parameter (if there is one.). This is a difference with
the Sysetem V ABI and affects only the internal jit calling conventions.
For PInvoke calls the hidden argument is always the first parameter since
there is no ÎéÎíthisÎéÎí parameter in this case.
2. Managed structs that have no fields are always passed by-value on
the stack.
3. The jit proactively generates frame register frames (with RBP as a
frame register) in order to aid the native OS tooling for stack unwinding
and the like.

8 years agoRemove unused full_cleanup parameter
Aditya Mandaleeka [Tue, 20 Oct 2015 21:20:15 +0000 (14:20 -0700)]
Remove unused full_cleanup parameter

8 years agoMerge pull request #1811 from mikem8361/exceptfix
Mike McLaughlin [Tue, 20 Oct 2015 21:12:31 +0000 (14:12 -0700)]
Merge pull request #1811 from mikem8361/exceptfix

Managed unhandled exceptions for debugging and other fixes

8 years agoMerge pull request #1805 from sergiy-k/nodebugmsgs
Jan Vorlicek [Tue, 20 Oct 2015 21:02:54 +0000 (14:02 -0700)]
Merge pull request #1805 from sergiy-k/nodebugmsgs

Disable DEBUG_MESSAGES in release build of CoreCLR PAL

8 years agoFix issue #1782 unhanded exceptions don't generate core dumps by changing HandleFatal...
Mike McLaughlin [Tue, 20 Oct 2015 01:38:26 +0000 (18:38 -0700)]
Fix issue #1782 unhanded exceptions don't generate core dumps by changing HandleFatalError to end up calling TerminateProcess (which calls the unix abort()) instead of ExitProcess.

8 years agoFix assert when unhandled exception is unwound and restored some previous code in...
Mike McLaughlin [Tue, 20 Oct 2015 00:20:56 +0000 (17:20 -0700)]
Fix assert when unhandled exception is unwound and restored some previous code in the first pass dispatcher so the managed debugger notification is sent at the right time (during the first pass instead after everything is unwound).

Also fixed issue #1799 by not masking SIGTERM anymore.

8 years agoMerge pull request #1775 from mmitche/add-coreclr-linux-tests
Matt Mitchell [Tue, 20 Oct 2015 16:06:31 +0000 (09:06 -0700)]
Merge pull request #1775 from mmitche/add-coreclr-linux-tests

Add coreclr Linux tests to CI definition

8 years agoFixup
Matt Mitchell [Tue, 20 Oct 2015 15:52:36 +0000 (08:52 -0700)]
Fixup

8 years agoCorrect comments on Array sorting methods
Matt [Tue, 20 Oct 2015 13:50:54 +0000 (09:50 -0400)]
Correct comments on Array sorting methods

Changed "recrusively" to "recursively" and "subtrack" to "subtract".

https://github.com/dotnet/coreclr/issues/1801

8 years agoMerge pull request #1803 from adityamandaleeka/fix_4cf34fe
Aditya Mandaleeka [Tue, 20 Oct 2015 06:23:43 +0000 (23:23 -0700)]
Merge pull request #1803 from adityamandaleeka/fix_4cf34fe

Revert some changed files from an incorrectly merged commit

8 years agoDisable DEBUG_MESSAGES in release build of CoreCLR PAL
Sergiy Kuryata [Tue, 20 Oct 2015 04:13:01 +0000 (21:13 -0700)]
Disable DEBUG_MESSAGES in release build of CoreCLR PAL

This reduces the size of libcoreclr by 1.3MB and improves performace results by a few percent on some benchmarks.

8 years agoMerge pull request #1802 from jkotas/networking
Jan Kotas [Tue, 20 Oct 2015 02:11:20 +0000 (19:11 -0700)]
Merge pull request #1802 from jkotas/networking

Delete remaining vestiges of PAL networking support

8 years agoMerge pull request #1800 from stephentoub/invariant_casing_fix
Stephen Toub [Tue, 20 Oct 2015 01:53:35 +0000 (21:53 -0400)]
Merge pull request #1800 from stephentoub/invariant_casing_fix

Fix Turkish i casing with invariant culture on Unix

8 years agoRevert some changed files from an incorrectly merged commit.
Aditya Mandaleeka [Tue, 20 Oct 2015 01:21:36 +0000 (18:21 -0700)]
Revert some changed files from an incorrectly merged commit.

Commit 4cf34fe seems to have included some unintentional changes which are
affecting the product. This reverts those files to what they should be.

8 years agoaddressing desktop build failure
Rama Krishnan Raghupathy [Tue, 20 Oct 2015 01:22:07 +0000 (18:22 -0700)]
addressing desktop build failure

Code which does not have FEATURE_EVENT_TRACE defined is using artifacts from it

[tfs-changeset: 1539531]

8 years agoDelete remaining vestiges of PAL networking support
Jan Kotas [Tue, 20 Oct 2015 00:49:57 +0000 (17:49 -0700)]
Delete remaining vestiges of PAL networking support

8 years agoFix Turkish i casing with invariant culture
stephentoub [Mon, 19 Oct 2015 20:35:36 +0000 (16:35 -0400)]
Fix Turkish i casing with invariant culture

It turns out there are some differences in the casing data used by Windows and ICU for our invariant culture.  In particular, Turkish 'i' is handled differently.

This change splits the shim ChangeCase function into three: ChangeCaseTurkish (used for Turkish culture), ChangeCaseInvariant (used for Invariant culture), and ChangeCase (used for everything else.  ChangeCaseInvariant includes the new special cases.  Call sites in the  managed code are localized to a single function that determines which native function to invoke.

8 years agoMerge pull request #1785 from bryanar/managed-test-port
Bryan P. Arant [Mon, 19 Oct 2015 08:11:21 +0000 (01:11 -0700)]
Merge pull request #1785 from bryanar/managed-test-port

Managed Test Port

8 years agoRemoved #ifndef CORECLR blocks from shmemory.
Lakshmi Priya Sekar [Mon, 19 Oct 2015 07:37:21 +0000 (00:37 -0700)]
Removed #ifndef CORECLR blocks from shmemory.

8 years agoRemove MAX_LONGPATH constraint checks from file name string length.
Lakshmi Priya Sekar [Mon, 19 Oct 2015 07:11:49 +0000 (00:11 -0700)]
Remove MAX_LONGPATH constraint checks from file name string length.

8 years agoUse StackString in PAL file apis.
Lakshmi Priya Sekar [Wed, 7 Oct 2015 01:19:32 +0000 (18:19 -0700)]
Use StackString in PAL file apis.

8 years agoManaged Test Port
dotnet-bot [Wed, 30 Sep 2015 19:20:52 +0000 (12:20 -0700)]
Managed Test Port

This is a collection of managed runtime tests from an internal legacy test tree.

8 years agoFix build break with WindowsOS CRT
Jan Kotas [Sat, 17 Oct 2015 01:54:12 +0000 (18:54 -0700)]
Fix build break with WindowsOS CRT

_get_wpgmptr is not available in WindowsOS CRT. Replace it with GetModuleFileName.

[tfs-changeset: 1538931]

8 years agoMerge pull request #1789 from jkotas/crsttypetool
Jan Kotas [Sat, 17 Oct 2015 00:11:30 +0000 (17:11 -0700)]
Merge pull request #1789 from jkotas/crsttypetool

Add CrstTypeTool source code

8 years agoAdd CrstTypeTool source code
Jan Kotas [Fri, 16 Oct 2015 23:41:55 +0000 (16:41 -0700)]
Add CrstTypeTool source code

This tool is required for updating autogenerated crsttypes.h file

8 years agoMerge pull request #1779 from ramarag/control_xplat_event_logging
Rama krishnan Raghupathy [Fri, 16 Oct 2015 23:01:37 +0000 (16:01 -0700)]
Merge pull request #1779 from ramarag/control_xplat_event_logging

Controlling Xplat Event logging

8 years agoFix Windows x86 build - use macro for friend declaration
dotnet-bot [Fri, 16 Oct 2015 22:10:29 +0000 (15:10 -0700)]
Fix Windows x86 build - use macro for friend declaration

The friend declaration conflicted with the extern declaration on x86 because the macro uses fastcall.

[tfs-changeset: 1538868]

8 years agoMerge pull request #1786 from kouvel/BuildFix
Koundinya Veluri [Fri, 16 Oct 2015 22:03:20 +0000 (15:03 -0700)]
Merge pull request #1786 from kouvel/BuildFix

Fix Windows x86 build - use macro for friend declaration

8 years agoControlling Xplat Event logging:
Rama [Thu, 15 Oct 2015 22:16:24 +0000 (15:16 -0700)]
Controlling Xplat Event logging:
Adding an environment variable COMPlus_EnableEventLog to turn on/off
Xplat Event Logging, by default Xplat Event logging is turned off

8 years agoMerge pull request #1783 from nguerrera/explicit-location-model
Nick Guerrera [Fri, 16 Oct 2015 20:41:10 +0000 (13:41 -0700)]
Merge pull request #1783 from nguerrera/explicit-location-model

Be explicit about exposing Assembly.Location in model.xml

8 years agoFix Windows x86 build - use macro for friend declaration
Koundinya Veluri [Fri, 16 Oct 2015 20:37:57 +0000 (13:37 -0700)]
Fix Windows x86 build - use macro for friend declaration

8 years agoMerge pull request #1781 from nguerrera/expose-mvid
Nick Guerrera [Fri, 16 Oct 2015 18:41:39 +0000 (11:41 -0700)]
Merge pull request #1781 from nguerrera/expose-mvid

Expose Module.ModuleVersionId

8 years agoPass __IntermediatesDir to msbuild in build.sh
Nate Amundson [Fri, 16 Oct 2015 16:32:06 +0000 (11:32 -0500)]
Pass __IntermediatesDir to msbuild in build.sh

Currently, building coreclr x-plat fails if not running as root due to
the build trying to copy files to "/ToolRuntime".  The issue is that
$(IntermediatesOutputRootPath) is not set when running from build.sh,
and testruntime.targets in buildtools defines ToolRuntimePath as
"$(IntermediateOutputRootPath)ToolRuntime\".  The fix is to pass
__IntermediatesDir to msbuild in build_mscorlib, which results in
$(IntermediatesOutputRootPath) being properly set.

This change also adds a skipcoreclr flag to allow the user to skip the
CoreCLR part of the build, similar to the existing skipmscorlib flag.

8 years agoBe explicit about exposing Assembly.Location in model.xml
Nick Guerrera [Fri, 16 Oct 2015 01:07:29 +0000 (18:07 -0700)]
Be explicit about exposing Assembly.Location in model.xml

8 years agoRemove unnecessary condemnation and suspension in PALCommonCleanup.
Aditya Mandaleeka [Fri, 16 Oct 2015 00:46:19 +0000 (17:46 -0700)]
Remove unnecessary condemnation and suspension in PALCommonCleanup.

8 years agoRemove CPalSynchronizationManager::Shutdown
Aditya Mandaleeka [Fri, 16 Oct 2015 00:19:52 +0000 (17:19 -0700)]
Remove CPalSynchronizationManager::Shutdown

8 years agoRemove unused step logic from PALCommonCleanup.
Aditya Mandaleeka [Fri, 16 Oct 2015 00:13:38 +0000 (17:13 -0700)]
Remove unused step logic from PALCommonCleanup.

8 years agoFixup
Matt Mitchell [Thu, 15 Oct 2015 23:26:46 +0000 (16:26 -0700)]
Fixup

8 years agoFixup
Matt Mitchell [Thu, 15 Oct 2015 23:22:36 +0000 (16:22 -0700)]
Fixup

8 years agoFixup
Matt Mitchell [Thu, 15 Oct 2015 23:22:15 +0000 (16:22 -0700)]
Fixup

8 years agoFixup
Matt Mitchell [Thu, 15 Oct 2015 23:19:21 +0000 (16:19 -0700)]
Fixup

8 years agoExpose Module.ModuleVersionId
Nick Guerrera [Thu, 15 Oct 2015 23:15:14 +0000 (16:15 -0700)]
Expose Module.ModuleVersionId

8 years agoMerge pull request #1778 from swaroop-sridhar/comment
Jan Kotas [Thu, 15 Oct 2015 21:24:29 +0000 (14:24 -0700)]
Merge pull request #1778 from swaroop-sridhar/comment

Fix a comment in GcInfoEncoder.h

8 years agoMerge pull request #1777 from dotnet-bot/from-tfs
Matt Ellis [Thu, 15 Oct 2015 21:18:51 +0000 (14:18 -0700)]
Merge pull request #1777 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoFix a comment in GcInfoEncoder.h
Swaroop Sridhar [Thu, 15 Oct 2015 20:44:32 +0000 (13:44 -0700)]
Fix a comment in GcInfoEncoder.h

Fix a stale comment about stack-slot-base
in the GcInfo Encoder interface.

8 years agoMerge pull request #1690 from bryanar/changes-to-test-tree
Bryan P. Arant [Thu, 15 Oct 2015 20:24:28 +0000 (20:24 +0000)]
Merge pull request #1690 from bryanar/changes-to-test-tree

Changes to Test Tree Infrastructure

8 years agoAdd missing .gitmirror file.
Matt Ellis [Thu, 15 Oct 2015 19:11:32 +0000 (12:11 -0700)]
Add missing .gitmirror file.

This new folder was introduced in 465f56ef0c9c4b125d890e7ac0757e77d54e193c and needs a .gitmirror file.

[tfs-changeset: 1538359]

8 years agoFixup
Matt Mitchell [Thu, 15 Oct 2015 17:30:08 +0000 (10:30 -0700)]
Fixup

8 years agoMerge pull request #1770 from adiaaida/addSkipMscorlib
Michelle McDaniel [Thu, 15 Oct 2015 17:30:03 +0000 (10:30 -0700)]
Merge pull request #1770 from adiaaida/addSkipMscorlib

Add skipmscorlib option to build.cmd