platform/upstream/dotnet/runtime.git
8 years agoIntroduce explicity typeforwards to internal types that are needed by WinRT
Alex Ghiondea [Tue, 7 Jun 2016 00:31:43 +0000 (17:31 -0700)]
Introduce explicity typeforwards to internal types that are needed by WinRT

GenFacades does not correcty create the type forwards for internal types even if there are internalsvisibleto attributes setup.

[tfs-changeset: 1610866]

Commit migrated from https://github.com/dotnet/coreclr/commit/aaddd31045a909ff6283f38ef54249f481807332

8 years agoFixed issue dotnet/coreclr#5391 "libsosplugin.so getting an RPATH of /usr/lib/llvm...
Mike McLaughlin [Mon, 6 Jun 2016 23:14:07 +0000 (16:14 -0700)]
Fixed issue dotnet/coreclr#5391 "libsosplugin.so getting an RPATH of /usr/lib/llvm on RHEL" (dotnet/coreclr#5482)

Commit migrated from https://github.com/dotnet/coreclr/commit/3a4711b18816c4acd526d63cc1690a5f87dd58a9

8 years agoMerge pull request dotnet/coreclr#5452 from seanshpark/fixgccover
Rahul Kumar [Mon, 6 Jun 2016 22:29:46 +0000 (15:29 -0700)]
Merge pull request dotnet/coreclr#5452 from seanshpark/fixgccover

ARM64/Linux: fix compile error 'cannot be narrowed to type int'

Commit migrated from https://github.com/dotnet/coreclr/commit/7b36de9ac7ab6801630ad6fa68ffc11a90626f81

8 years agoMerge pull request dotnet/coreclr#5529 from brianrob/spellcheck
Brian Robbins [Mon, 6 Jun 2016 22:01:49 +0000 (15:01 -0700)]
Merge pull request dotnet/coreclr#5529 from brianrob/spellcheck

Fix Incorrect URLs in Linux Tracing HOWTO

Commit migrated from https://github.com/dotnet/coreclr/commit/6f1d6b8c9ac96582a8340416155583296d2b8740

8 years agoAdd doc on how to building lldb for OS X. (dotnet/coreclr#5520)
Mike McLaughlin [Mon, 6 Jun 2016 21:55:30 +0000 (14:55 -0700)]
Add doc on how to building lldb for OS X. (dotnet/coreclr#5520)

Commit migrated from https://github.com/dotnet/coreclr/commit/ab0f3e53f530fbdd8d4dcc7f674ded89b0e74d7a

8 years agoFix incorrect URL.
Brian Robbins [Mon, 6 Jun 2016 21:50:11 +0000 (14:50 -0700)]
Fix incorrect URL.

Commit migrated from https://github.com/dotnet/coreclr/commit/b446cb5d4eccac9218570e0d068e4722dba14de1

8 years agoMerge pull request dotnet/coreclr#5513 from pgavlin/RemoveOldJITPackaging
Pat Gavlin [Mon, 6 Jun 2016 20:29:54 +0000 (20:29 +0000)]
Merge pull request dotnet/coreclr#5513 from pgavlin/RemoveOldJITPackaging

Remove the deprecated JIT packaging tools.

Commit migrated from https://github.com/dotnet/coreclr/commit/e5ee95e03050ea8f1259676db81e43d16913ef97

8 years agoMerge pull request dotnet/coreclr#5512 from pgavlin/ToplevelPrereleaseLabel
Pat Gavlin [Mon, 6 Jun 2016 20:28:47 +0000 (20:28 +0000)]
Merge pull request dotnet/coreclr#5512 from pgavlin/ToplevelPrereleaseLabel

Use top level PreReleaseLabel

Commit migrated from https://github.com/dotnet/coreclr/commit/cc8831213d39450eceb7c4f51796dc305b1655b0

8 years agoMerge pull request dotnet/coreclr#5511 from brianrob/linuxperf
Brian Robbins [Mon, 6 Jun 2016 20:03:34 +0000 (13:03 -0700)]
Merge pull request dotnet/coreclr#5511 from brianrob/linuxperf

Add Performance Tracing Documentation for Windows and Linux

Commit migrated from https://github.com/dotnet/coreclr/commit/86011d693a784a81f21b268ec625021b7d4f167d

8 years agoAdd performance tracing documentation for Windows and Linux.
Brian Robbins [Tue, 31 May 2016 21:59:47 +0000 (14:59 -0700)]
Add performance tracing documentation for Windows and Linux.

Commit migrated from https://github.com/dotnet/coreclr/commit/9c2588aa20d952dcc4214d9245d7f841b896036c

8 years agoRemove Mono section from OS X build docs (dotnet/coreclr#5499)
Peter Jas [Mon, 6 Jun 2016 19:56:21 +0000 (22:56 +0300)]
Remove Mono section from  OS X build docs (dotnet/coreclr#5499)

With some minor formatting changes.

Commit migrated from https://github.com/dotnet/coreclr/commit/988100df51ad10884ef50f26c565771b4e9cf149

8 years agoMerge pull request dotnet/coreclr#5448 from lemmaa/arm64-test-build-3
Rahul Kumar [Mon, 6 Jun 2016 17:49:58 +0000 (10:49 -0700)]
Merge pull request dotnet/coreclr#5448 from lemmaa/arm64-test-build-3

[ARM64/Linux] Fix wrong filename for case sensitive filesystem.

Commit migrated from https://github.com/dotnet/coreclr/commit/1cabb148cec4e72216c0701e4436acedd6ae6875

8 years agoRemove the deprecated JIT packaging tools.
Pat Gavlin [Mon, 6 Jun 2016 15:58:39 +0000 (08:58 -0700)]
Remove the deprecated JIT packaging tools.

Commit migrated from https://github.com/dotnet/coreclr/commit/d86a3436f6a03b8c5e39b28c106aba765ac40a8f

8 years agoUse top level PreReleaseLabel
Matt Ellis [Sun, 5 Jun 2016 08:38:54 +0000 (01:38 -0700)]
Use top level PreReleaseLabel

Some projects were overriding PreReleaseLabel instead of inheriting the
parent one in the top level dir.props. In addition, some projects had
the value set to 'rc4' instead of 'rc3'.

Clean this up so we always use the label in the root dir.props

Commit migrated from https://github.com/dotnet/coreclr/commit/7e0579420a0c268e12c7004c116548eb26cc21aa

8 years ago[ARM64/Linux] Fix 'error: 109 enumeration values not handled in switch' (dotnet/corec...
Sung-Jae Lee [Sun, 5 Jun 2016 15:01:58 +0000 (00:01 +0900)]
[ARM64/Linux] Fix 'error: 109 enumeration values not handled in switch' (dotnet/coreclr#5493)

This fixes ARM64 Linux compilation error
```
/home/sjlee/git/coreclr/src/jit/emit.h:988:61: error: 109 enumeration
values not handled in switch: 'IF_NONE', 'IF_LABEL', 'IF_EN9'...
[-Werror,-Wswitch]
```

Commit migrated from https://github.com/dotnet/coreclr/commit/f620099b3fafff396ebd43ffc54407e2a34c56ac

8 years agoLinux/ARM: Adding rpath for shared library of exception_handling.pal_sxs.test1 (dotne...
Geunsik Lim [Sat, 4 Jun 2016 15:07:05 +0000 (00:07 +0900)]
Linux/ARM: Adding rpath for shared library of exception_handling.pal_sxs.test1 (dotnet/coreclr#5328)

Let's add the 'rpath' in order to fix error happened while
'paltest_pal_sxs_test1' (ELF) of PAL test is loading a shared library.
This 'rpath' statement is derived from the existing files such as
./ToolBox/SOS/Strike/CMakeLists.txt and dlls/mscordbi/CMakeLists.txt.

Ver2:
Apply 'rpath' in case of the Linux platform only

Ver1:
Let's add 'rpath' statement to the Linux platform environment
that we have experienced issue.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
CC: Mike McLaughlin <mikem@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/5e9a125839fe9de8c26952680f77fb4c492f8159

8 years agoFix allocation failure handling (dotnet/coreclr#5473)
Jan Vorlicek [Sat, 4 Jun 2016 08:26:48 +0000 (10:26 +0200)]
Fix allocation failure handling (dotnet/coreclr#5473)

While investigating OOM related issues, I have hit two places where we were
not handling correctly the case when memory allocation failed.
In the StackString::OpenStringBuffer, when the Resize failed to allocate
properly sized buffer, we were returning the small internal buffer instead
of NULL. So the caller expected that the full requested size was prepared
and filled it with data, overwriting memory.
In CorUnix::InternalMapViewOfFile, when we have failed to allocate the
PMAPPED_VIEW_LIST to hold information on the mapping, we have unmapped
the memory again, but we have still returned the address of the now
unmapped mapping. The caller, MapViewOfFileEx, then returned this
address to its caller, since it didn't expect the CorUnix::InternalMapViewOfFile
to set its output parameter in the case of failure.

Commit migrated from https://github.com/dotnet/coreclr/commit/8b6d3715ae0c34e1c612186b587f88a88c38cbae

8 years agoFix for dotnet/coreclr#5275 Delegate Invocation On ARM Soft FP (dotnet/coreclr#5362)
papaslavik [Sat, 4 Jun 2016 07:46:15 +0000 (10:46 +0300)]
Fix for dotnet/coreclr#5275 Delegate Invocation On ARM Soft FP (dotnet/coreclr#5362)

Commit migrated from https://github.com/dotnet/coreclr/commit/ac82e4e439e94074b36df9aeeede2957824f9b0b

8 years agoUpdate new struct versioning rule (dotnet/coreclr#5429)
kingces95 [Sat, 4 Jun 2016 05:07:56 +0000 (22:07 -0700)]
Update new struct versioning rule (dotnet/coreclr#5429)

If I understand this document, any change to a struct that invalidates its layout in other versioning bubbles would be considered a breaking change. I believe this would include adding or removing a field or changing the type of a field in an internal struct if that struct is included as a (possible non-public) field in a public struct; just because a struct is internal doesn't mean it's not subject to the new versioning rule.

Commit migrated from https://github.com/dotnet/coreclr/commit/ce99897cee0014833c2c472f00825d2db0f9605a

8 years agoMerge pull request dotnet/coreclr#5468 from dotnet-bot/from-tfs
Jan Kotas [Sat, 4 Jun 2016 05:04:45 +0000 (22:04 -0700)]
Merge pull request dotnet/coreclr#5468 from dotnet-bot/from-tfs

Merge changes from TFS

Commit migrated from https://github.com/dotnet/coreclr/commit/5fe63726631a7fb593ee7381583c1ab16e595044

8 years agoAdd more opcodes to x86 stack unwinder (dotnet/coreclr#5491)
John Chen [Sat, 4 Jun 2016 05:01:13 +0000 (22:01 -0700)]
Add more opcodes to x86 stack unwinder (dotnet/coreclr#5491)

Add x86 opcodes 0x01 and 0x03 (ADD instruction) to stack unwinder.
These instructions are generated by C++ compiler as part of the
JIT_StaticFieldAddress_Dynamic method, triggering issue dotnet/coreclr#5464.

Commit migrated from https://github.com/dotnet/coreclr/commit/432c2fffd848e848f3cf81b897801c3eb84aa181

8 years agoRemove all usages of CONTRACTS_FULL from mscorlib (dotnet/coreclr#5454)
James Ko [Sat, 4 Jun 2016 04:59:49 +0000 (00:59 -0400)]
Remove all usages of CONTRACTS_FULL from mscorlib (dotnet/coreclr#5454)

* Remove CONTRACTS_FULL from Array
* Remove CONTRACTS_FULL from ArraySortHelper
* Remove CONTRACTS_FULL from ICollection
* Remove CONTRACTS_FULL from IDictionary
* Remove CONTRACTS_FULL from IEnumerable
* Remove CONTRACTS_FULL from IList
* Remove CONTRACTS_FULL from IReadOnlyCollection
* Remove CONTRACTS_FULL from IReadOnlyDictionary
* Remove CONTRACTS_FULL from IReadOnlyList
* Remove CONTRACTS_FULL from the nongeneric collections
* Remove CONTRACTS_FULL from IConvertible and IFormattable
* Remove CONTRACTS_FULL from System.IO
* Remove CONTRACTS_FULL from System.Reflection

Commit migrated from https://github.com/dotnet/coreclr/commit/1fa75e7c5d56d481a2d0b8bc4fb3bdab8e6838d5

8 years agoMerge pull request dotnet/coreclr#5486 from jashook/x86_cc_fix
Jarret Shook [Sat, 4 Jun 2016 04:28:56 +0000 (21:28 -0700)]
Merge pull request dotnet/coreclr#5486 from jashook/x86_cc_fix

Use explicit calling convention for coredistools

Commit migrated from https://github.com/dotnet/coreclr/commit/84c48256883f215d42de50a4e2d10b2204c755e0

8 years agoFix encoding of gccover.cpp. (dotnet/coreclr#5458)
Austin Wise [Sat, 4 Jun 2016 01:53:29 +0000 (18:53 -0700)]
Fix encoding of gccover.cpp. (dotnet/coreclr#5458)

This file fails to compile while under codepage 932 (Shift JIS).
This commits removes or replaces the offending chacters with ASCII.

Commit migrated from https://github.com/dotnet/coreclr/commit/6da0e82b5578b70c81d5878bdb797ab75b469fe1

8 years agoAdded JIT_Stelem_Ref helper function for Linux (dotnet/coreclr#5390)
Xiangyang (Mark) Guo [Sat, 4 Jun 2016 01:51:17 +0000 (18:51 -0700)]
Added JIT_Stelem_Ref helper function for Linux (dotnet/coreclr#5390)

Commit migrated from https://github.com/dotnet/coreclr/commit/c1c508157493c5ccef30285eaa65630254ddf479

8 years agoUse explicit calling convention for coredistools
Jarret Shook [Fri, 3 Jun 2016 23:36:17 +0000 (16:36 -0700)]
Use explicit calling convention for coredistools

coreclr is built with /Gz (stdcall), explicitly use __cdecl calling
convention for calling functions in coredistools

Commit migrated from https://github.com/dotnet/coreclr/commit/7472134ee98b3efc0f3bb0d168419f3d66f977ae

8 years agoFix for issue dotnet/coreclr#5467: [R2R] InvalidCastException in timer tests. (dotne...
Fadi Hanna [Fri, 3 Jun 2016 23:30:37 +0000 (16:30 -0700)]
Fix for issue  dotnet/coreclr#5467: [R2R] InvalidCastException in timer tests. (dotnet/coreclr#5478)

We were not using the correct MethodTable pointer when constructing delegate objects to interface methods

Commit migrated from https://github.com/dotnet/coreclr/commit/2507807811cf6a33a946c2382e6d56961e4bff74

8 years agoLimit exports on debugger modules. (dotnet/coreclr#5442)
Mike McLaughlin [Fri, 3 Jun 2016 21:15:43 +0000 (14:15 -0700)]
Limit exports on debugger modules. (dotnet/coreclr#5442)

Remove obsolete ExecuteAssembly hosting API from coreclr.

Needed to add palrt to dbi instead of trying to export from palrt.

Didn't end up adding the --no-allow-shlib-undefined linker option because Centos
and FreeBSD link with lots of undefined symbols from the C++ runtime libraries.

Commit migrated from https://github.com/dotnet/coreclr/commit/0a4675b32fee372e458852ba3ec703d3abd89831

8 years agoMerge pull request dotnet/coreclr#5462 from pefoley2/uname_p
Aditya Mandaleeka [Fri, 3 Jun 2016 20:13:47 +0000 (13:13 -0700)]
Merge pull request dotnet/coreclr#5462 from pefoley2/uname_p

Properly handle uname -p output that contains spaces

Commit migrated from https://github.com/dotnet/coreclr/commit/924b56813d3b1c7cde0c7ea9ea9d8d86370581e3

8 years agoMerge pull request dotnet/coreclr#5247 from davmason/master
David Mason [Fri, 3 Jun 2016 19:02:29 +0000 (12:02 -0700)]
Merge pull request dotnet/coreclr#5247 from davmason/master

Enable managed heap dumps on Linux

Commit migrated from https://github.com/dotnet/coreclr/commit/7d7e3c34c5ea4fdd79952a4be7a4b4d91b580cdb

8 years agoMerge pull request dotnet/coreclr#5382 from davmason/filtering
David Mason [Fri, 3 Jun 2016 19:02:08 +0000 (12:02 -0700)]
Merge pull request dotnet/coreclr#5382 from davmason/filtering

Add filtering logic to XplatEventLogger

Commit migrated from https://github.com/dotnet/coreclr/commit/5cdbe313f1f3b16c82952b58f66635e88430006c

8 years agoMerge pull request dotnet/coreclr#5432 from RussKeldorph/fix5428
Russ Keldorph [Fri, 3 Jun 2016 18:47:49 +0000 (11:47 -0700)]
Merge pull request dotnet/coreclr#5432 from RussKeldorph/fix5428

Remove unnecessary dependencies from JIT tests causing R2R failures

Commit migrated from https://github.com/dotnet/coreclr/commit/23f07a5c76cca217d9b1e537e3090b65e9a19521

8 years agoFix failing tests on Ubuntu R2R configuration (dotnet/coreclr#5435)
Fadi Hanna [Fri, 3 Jun 2016 18:29:54 +0000 (11:29 -0700)]
Fix failing tests on Ubuntu R2R configuration (dotnet/coreclr#5435)

Commit migrated from https://github.com/dotnet/coreclr/commit/f555045fbdcd482070bf9a6945f7e14b5dae1b4e

8 years agoFix desktop NGen break caused by CoreCLR change, and add a missing contract
John Chen [Fri, 3 Jun 2016 17:18:37 +0000 (10:18 -0700)]
Fix desktop NGen break caused by CoreCLR change, and add a missing contract

[tfs-changeset: 1610323]

Commit migrated from https://github.com/dotnet/coreclr/commit/5f455600c0e0155d80bd814d4a60b44f6ac6bcbb

8 years agoMerge pull request dotnet/coreclr#5453 from dotnet-bot/from-tfs
Matt Ellis [Fri, 3 Jun 2016 16:10:15 +0000 (09:10 -0700)]
Merge pull request dotnet/coreclr#5453 from dotnet-bot/from-tfs

Merge changes from TFS

Commit migrated from https://github.com/dotnet/coreclr/commit/af37c3b7bf4160f4af0f517526e304bcba271bb5

8 years agoMerge pull request dotnet/coreclr#5436 from joperezr/DisableNativeResourceCompileForM...
Jose Perez Rodriguez [Fri, 3 Jun 2016 16:09:15 +0000 (09:09 -0700)]
Merge pull request dotnet/coreclr#5436 from joperezr/DisableNativeResourceCompileForManagedCode

Disabling NativeResourceCompile Target for Managed libraries

Commit migrated from https://github.com/dotnet/coreclr/commit/9e08919cc925572f30dfc2e33a4e4c80252748b2

8 years agoProperly handle uname -p output that contains spaces
Peter Foley [Fri, 3 Jun 2016 15:11:59 +0000 (11:11 -0400)]
Properly handle uname -p output that contains spaces

e.g. Intel(R) Xeon(R) CPU E5-2603 0 @ 1.80GHz

Commit migrated from https://github.com/dotnet/coreclr/commit/9efea10043f187cb66afe9d7efaf80b7b43384b9

8 years agoFix readytorun tests asking for user input (dotnet/coreclr#5459)
mkborg [Fri, 3 Jun 2016 14:20:06 +0000 (18:20 +0400)]
Fix readytorun tests asking for user input (dotnet/coreclr#5459)

'readytorun/mainv1' and 'readytorun/mainv2' tests on Linux wait for human
response asking permission to remove write-protected file:

    rm: remove write-protected regular file 'test.dll'?

'rm' command shall be used with '-f' flag to make it non-interactive.

Commit migrated from https://github.com/dotnet/coreclr/commit/eff95d6573e851363480919b23dc3850aaca27e5

8 years agoFix CFI annotation of AMD64 assembler helpers on Unix (dotnet/coreclr#5446)
Jan Vorlicek [Fri, 3 Jun 2016 10:57:16 +0000 (12:57 +0200)]
Fix CFI annotation of AMD64 assembler helpers on Unix (dotnet/coreclr#5446)

This change fixes annotations of AMD64 assembler helpers on Unix. The helpers that
don't use RBP as a stack frame were missing setting the RSP as a CFA register and
unwinding through them was failing.
This was hit in R2R scenarios, with the DelayLoad_Helper_Obj not being unwindable.

Commit migrated from https://github.com/dotnet/coreclr/commit/80835e869ac8987eba2ef03c70f570224af33331

8 years agoAvoid calling prestub through wrong MethodDesc (dotnet/coreclr#5439)
John Chen [Fri, 3 Jun 2016 04:59:01 +0000 (21:59 -0700)]
Avoid calling prestub through wrong MethodDesc (dotnet/coreclr#5439)

While fixing up a call from a Ready-to-Run method, we don't always
have the right implementation MethodDesc for the target of the call.
Thus it is potentially unsafe to DoPrestub using the MethodDesc we have,
causing a test failue (Loader.classloader_regressions_429802_CMain)
in issue dotnet/coreclr#5366. This is fixed by not calling DoPrestub from
ExternalMethodFixupWorker.

Commit migrated from https://github.com/dotnet/coreclr/commit/4e4cac8c302b0ab6709cdc2f737a0370ca5b0026

8 years agoSome types were only supposed to be present when FEATURE_COMINTEROP was set.
Alex Ghiondea [Fri, 3 Jun 2016 02:31:04 +0000 (19:31 -0700)]
Some types were only supposed to be present when FEATURE_COMINTEROP was set.

This change fixes that.

[tfs-changeset: 1610157]

Commit migrated from https://github.com/dotnet/coreclr/commit/9804bd17ceb7c9c9e34f1091729f236f05ebc856

8 years agoLinux/ARM: Support -O3 optimization level in release build (dotnet/coreclr#5396)
Geunsik Lim [Fri, 3 Jun 2016 01:43:31 +0000 (10:43 +0900)]
Linux/ARM: Support -O3 optimization level in release build (dotnet/coreclr#5396)

Currently, we can build coreclr with -O1 flag of clang in release
build mode for Linux/ARM. This instruction is to enable -O3 optimization
level of clang on ARM/Linux by fixing the bug of llvm.

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/9efbb7a70061c7f68f1c1922daa3a0a7cc67f3b1

8 years agoARM64/Linux: fix compile error 'cannot be narrowed to type int'
SaeHie Park [Fri, 3 Jun 2016 01:40:51 +0000 (10:40 +0900)]
ARM64/Linux: fix compile error 'cannot be narrowed to type int'

This fixes ARM64 Linux compilation error
```
src/vm/gccover.cpp:1219:14: error: case value evaluates to 3134983650, which cannot be narrowed to type 'int' [-Wc++11-narrowing]
        case INTERRUPT_INSTR_PROTECT_RET:
             ^
src/vm/gccover.h:105:41: note: expanded from macro 'INTERRUPT_INSTR_PROTECT_RET'
```

Commit migrated from https://github.com/dotnet/coreclr/commit/6f452d187df765f537195ec2de4aeff942cd6c26

8 years agoMerge pull request dotnet/coreclr#5443 from swaroop-sridhar/CDTver
Swaroop Sridhar [Fri, 3 Jun 2016 01:40:43 +0000 (18:40 -0700)]
Merge pull request dotnet/coreclr#5443 from swaroop-sridhar/CDTver

CoreDisTools Package: Make minor version generic

Commit migrated from https://github.com/dotnet/coreclr/commit/7db46aa25015c9804ceecea72915bd24eb69a8cb

8 years agoMerge pull request dotnet/coreclr#5402 from AndyAyersMS/InlineAllowCpBlk
Andy Ayers [Fri, 3 Jun 2016 01:23:05 +0000 (18:23 -0700)]
Merge pull request dotnet/coreclr#5402 from AndyAyersMS/InlineAllowCpBlk

Inliner: enable inlining of methods with cpblk

Commit migrated from https://github.com/dotnet/coreclr/commit/349eb35454ed774fadd11e1fb91b69f3fa3f1e3f

8 years agoFix wrong filename for case sensitive filesystem.
Sung-Jae Lee [Thu, 2 Jun 2016 23:59:49 +0000 (08:59 +0900)]
Fix wrong filename for case sensitive filesystem.

Commit migrated from https://github.com/dotnet/coreclr/commit/f7ff1516d9a6f1fde65d9c777da028922722cb5d

8 years agoCoreDisTools Package: Make minor version generic
Swaroop Sridhar [Thu, 2 Jun 2016 23:29:11 +0000 (16:29 -0700)]
CoreDisTools Package: Make minor version generic

Change the version requirement of CoreDisTools package
from 1.0.1-prerelease-00001 to 1.0.1-prerelease-*
so that the test infrastructure picks up the latest
available version.

If only the 1.0.1-prerelease-xxxxx number changes,
there is no change in the library API. There may be
a change in the implementation.

The current need for this change is that we need to pick up
a new version of the CoreDisTools package (with an
implementation fix) for X86 testing.

Commit migrated from https://github.com/dotnet/coreclr/commit/385b282e79d186363d4ef58bbe7d5e4bf371a8d4

8 years agoIntroduce additional types to the reference assembly for mscorlib and typeforwards...
Alex Ghiondea [Thu, 2 Jun 2016 23:20:39 +0000 (16:20 -0700)]
Introduce additional types to the reference assembly for mscorlib and typeforwards for those type to the right assembly.

[tfs-changeset: 1610086]

Commit migrated from https://github.com/dotnet/coreclr/commit/0cf1848d2cf3baa4631010fa9ad8b08731423749

8 years agoMerge pull request dotnet/coreclr#5433 from jashook/abs_single
Jarret Shook [Thu, 2 Jun 2016 22:39:43 +0000 (15:39 -0700)]
Merge pull request dotnet/coreclr#5433 from jashook/abs_single

Disable perf_codequality_math_functions

Commit migrated from https://github.com/dotnet/coreclr/commit/a53a9eb2da782630f80e5f6afcf89c6cf5ea5ab5

8 years agoDisabling NativeResourceCompile Target for Managed libraries
Jose Perez Rodriguez [Thu, 2 Jun 2016 22:38:59 +0000 (15:38 -0700)]
Disabling NativeResourceCompile Target for Managed libraries

Commit migrated from https://github.com/dotnet/coreclr/commit/55cc2155b465c73552153b1528d89f684b35a0ae

8 years agoDisable perf_codequality_math_functions
Jarret Shook [Thu, 2 Jun 2016 22:22:29 +0000 (15:22 -0700)]
Disable perf_codequality_math_functions

abssingle relies on a certain level of floating point precision and fails if the diff is outside of that precision.

Commit migrated from https://github.com/dotnet/coreclr/commit/0aedd275f24b16b5b3d23f11e7749b6e451f0530

8 years agoRemove unnecessary dependencies from JIT tests causing R2R failures
Russ Keldorph [Thu, 2 Jun 2016 22:09:28 +0000 (15:09 -0700)]
Remove unnecessary dependencies from JIT tests causing R2R failures

b05623 did basically nothing so I deleted it.

I removed a presumably useless VisualBasic attribute and other unnecessary
assembly references from the other two tests.

Fixes dotnet/coreclr#5428

Commit migrated from https://github.com/dotnet/coreclr/commit/86ada24cf6c3b5b32bb325e905a9a9fa69641189

8 years agoMerge pull request dotnet/coreclr#5411 from pgavlin/RVAStaticsUnix
Pat Gavlin [Thu, 2 Jun 2016 20:03:59 +0000 (20:03 +0000)]
Merge pull request dotnet/coreclr#5411 from pgavlin/RVAStaticsUnix

Disable RVA statics tests outside Windows.

Commit migrated from https://github.com/dotnet/coreclr/commit/465373e31780477054a3d0b013a94acb54ab0b59

8 years agoMerge pull request dotnet/coreclr#5417 from kyulee1/fixdetail
Kyungwoo Lee [Thu, 2 Jun 2016 19:46:45 +0000 (12:46 -0700)]
Merge pull request dotnet/coreclr#5417 from kyulee1/fixdetail

Fix Details for ILAsm/ILDasm/ClrJit Binaries

Commit migrated from https://github.com/dotnet/coreclr/commit/e3566bfa32fe9b9d4d5588e054405de12c7b7a5f

8 years agoFixing GUID_NULL. (dotnet/coreclr#5415)
Rajkumar Janakiraman [Thu, 2 Jun 2016 19:10:13 +0000 (12:10 -0700)]
Fixing GUID_NULL. (dotnet/coreclr#5415)

Commit migrated from https://github.com/dotnet/coreclr/commit/abb000b51a24500a575461e4a8707a326a232833

8 years agoMerge pull request dotnet/coreclr#5356 from swaroop-sridhar/Trap
Swaroop Sridhar [Thu, 2 Jun 2016 19:01:57 +0000 (12:01 -0700)]
Merge pull request dotnet/coreclr#5356 from swaroop-sridhar/Trap

GCStress: Fix a race-condition

Commit migrated from https://github.com/dotnet/coreclr/commit/2fc254794c9a31d02cd995df04176e64d0c13eeb

8 years agoMerge pull request dotnet/coreclr#5394 from erozenfeld/TailCallBug5164
Eugene Rozenfeld [Thu, 2 Jun 2016 18:46:43 +0000 (11:46 -0700)]
Merge pull request dotnet/coreclr#5394 from erozenfeld/TailCallBug5164

Fix for methods that tail call via helpers

Commit migrated from https://github.com/dotnet/coreclr/commit/f22b221718f3a243d4fc3fba4e037c2a9524718c

8 years agoFixing an error in PAL_pow that caused it to return an incorrect value for a couple...
Tanner Gooding [Thu, 2 Jun 2016 18:29:59 +0000 (11:29 -0700)]
Fixing an error in PAL_pow that caused it to return an incorrect value for a couple scenarios. (dotnet/coreclr#5399)

* Fixing an error in PAL_pow that caused it to return an incorrect value for a couple scenarios.

* Adding additional PAL_pow tests.

Commit migrated from https://github.com/dotnet/coreclr/commit/3d53df24c366c8f0c44196039279d34f78f72b3e

8 years agoFix Details for ILAsm/ILDasm/ClrJit Binaries
Kyungwoo Lee [Thu, 2 Jun 2016 17:02:58 +0000 (10:02 -0700)]
Fix Details for ILAsm/ILDasm/ClrJit Binaries

Fixes https://github.com/dotnet/coreclr/issues/5408

Commit migrated from https://github.com/dotnet/coreclr/commit/1bdc6eb40691b1fd0d19f5e137815d6bcfe359f5

8 years agoMerge pull request dotnet/coreclr#5409 from gkhanna79/FixDetails
Gaurav Khanna [Thu, 2 Jun 2016 16:21:07 +0000 (09:21 -0700)]
Merge pull request dotnet/coreclr#5409 from gkhanna79/FixDetails

Fix details for CoreCLR binary

Commit migrated from https://github.com/dotnet/coreclr/commit/7ba374cb4950e0c2ea8db5b982061dde99aef45a

8 years agoMerge pull request dotnet/coreclr#5400 from weshaggard/FixPackageLicenseFiles
Wes Haggard [Thu, 2 Jun 2016 15:38:14 +0000 (08:38 -0700)]
Merge pull request dotnet/coreclr#5400 from weshaggard/FixPackageLicenseFiles

Include license files into the packages

Commit migrated from https://github.com/dotnet/coreclr/commit/e98d181d8bfe87747b6ba1113235aadc30e2c18b

8 years agoDisable RVA statics tests outside Windows.
Pat Gavlin [Thu, 2 Jun 2016 15:21:13 +0000 (08:21 -0700)]
Disable RVA statics tests outside Windows.

These tests are not supported in general and are already disabled
for Windows. Disable them for *nix as well.

Commit migrated from https://github.com/dotnet/coreclr/commit/61b4e0c7868ade97112f4478b9a706b9feb3d197

8 years agoFix details for CoreCLR binary
Gaurav Khanna [Thu, 2 Jun 2016 14:07:50 +0000 (07:07 -0700)]
Fix details for CoreCLR binary

Commit migrated from https://github.com/dotnet/coreclr/commit/63b2e2f3d3fc4e4de5e4f81892706764b58cdebe

8 years agoEnable FEATURE_HIJACK for ARM (dotnet/coreclr#5404)
Jonghyun Park [Thu, 2 Jun 2016 13:57:13 +0000 (22:57 +0900)]
Enable FEATURE_HIJACK for ARM (dotnet/coreclr#5404)

Currently, FEATURE_HIJACK is disabled for ARM, and thus CoreCLR got
stuck if GC is invoked from JITed code.

This commit attempts to port FEATURE_HIJACK from ARM (windows) in order
to fix dotnet/coreclr#5403.

Commit migrated from https://github.com/dotnet/coreclr/commit/c4075441c86e1073e2f48e61be3ed5c58f6d27d0

8 years agoValidate new object construction in Ready to Run (dotnet/coreclr#5398)
John Chen [Thu, 2 Jun 2016 13:43:23 +0000 (06:43 -0700)]
Validate new object construction in Ready to Run (dotnet/coreclr#5398)

Existing Ready to Run implementation doesn't fully validate requests
to create object instances, and allows some invalidate requests (e.g.,
to create an instance of an abstract class). This causes failure of
test case Loader.classloader_generics_Instantiation_Negative_abstract01
in issue dotnet/coreclr#5366.

Commit migrated from https://github.com/dotnet/coreclr/commit/21751dbaa36ffb621e79b4cfeb5a7db00d397511

8 years agoInclude license files into the packages
Wes Haggard [Thu, 2 Jun 2016 06:14:13 +0000 (23:14 -0700)]
Include license files into the packages

Commit migrated from https://github.com/dotnet/coreclr/commit/404aa74cab266d8c701d46eb31a63b8a52dbf6d2

8 years agoAdd filtering logic to XplatEventLogger
David Mason [Tue, 31 May 2016 22:07:09 +0000 (15:07 -0700)]
Add filtering logic to XplatEventLogger

Commit migrated from https://github.com/dotnet/coreclr/commit/75918f0a9822948f7d3a47011195b8d065682981

8 years agoMerge pull request dotnet/coreclr#5386 from briansull/arm32-hfa-fix
Brian Sullivan [Thu, 2 Jun 2016 02:49:53 +0000 (19:49 -0700)]
Merge pull request dotnet/coreclr#5386 from briansull/arm32-hfa-fix

Fix for HFA args on ARM32

Commit migrated from https://github.com/dotnet/coreclr/commit/98568fb845ccaa97e18433ac13741913d6c8ffec

8 years agoAdd limit to number of generics methods to compile by CrossGen (dotnet/coreclr#5383)
John Chen [Thu, 2 Jun 2016 01:36:23 +0000 (18:36 -0700)]
Add limit to number of generics methods to compile by CrossGen (dotnet/coreclr#5383)

Recursive generic definitions can easily make CrossGen take very
long time to complete. This is the cause of a failure in issue dotnet/coreclr#5366.
This is fixed by limiting the number of methods to compile by CrossGen.

Commit migrated from https://github.com/dotnet/coreclr/commit/4b7c2f4e64380e8286b9edc85ff477417bd62c54

8 years agoAdded additional fix for ARM32 in lvHfaSlots
Brian Sullivan [Thu, 2 Jun 2016 01:27:30 +0000 (18:27 -0700)]
Added additional fix for ARM32 in lvHfaSlots

Commit migrated from https://github.com/dotnet/coreclr/commit/b450c1733dd5e1e05e5941fe757e694121cff17e

8 years agoImprovements to System.Math InternalCall code. (dotnet/coreclr#4847)
Tanner Gooding [Thu, 2 Jun 2016 01:17:24 +0000 (18:17 -0700)]
Improvements to System.Math InternalCall code. (dotnet/coreclr#4847)

* Adding some basic System.Math performance tests.

* Renaming 'floatnative' to 'floatdouble'.

* Removing outdated workarounds in the floatdouble interop code.

* Renaming 'finite.cpp' to 'math.cpp'

* Updating the double-precision math tests.

* Updating PAL_EPSILON to be more precise.

Commit migrated from https://github.com/dotnet/coreclr/commit/08786f20e89eb5f518d8d25f3e7f886f69d994ea

8 years agoJIT_TailCall helper has an implicit assumption that all tail call arguments live
Eugene Rozenfeld [Thu, 2 Jun 2016 00:38:53 +0000 (17:38 -0700)]
JIT_TailCall helper has an implicit assumption that all tail call arguments live

on the caller's frame. If an argument lives on the caller caller's frame, it may get
overwritten if that frame is reused for the tail call. Therefore, we should always copy
struct parameters if they are passed as arguments to a tail call.

The simple il regression test has a scenario similar to that of the F# repro in dotnet/coreclr#5164.

Closes dotnet/coreclr#5164.

Commit migrated from https://github.com/dotnet/coreclr/commit/3a97871a149dc116c80710ff51ecc85f62763909

8 years agoImport `new` multi-dimmensional array using the non-vararg helper (dotnet/coreclr...
Jan Kotas [Thu, 2 Jun 2016 00:09:15 +0000 (17:09 -0700)]
Import `new` multi-dimmensional array using the non-vararg helper (dotnet/coreclr#5313)

* Factor out import of `new` multi-dimmensional array
* Implement import of `new` multi-dimmensional array using the non-vararg helper
* Delete RETURN_TYPE_IS_COMPOSITE inlining observation because of it is never hit.
* Add R2R id for non-vararg helper
* Reformat affected code to follow coding conventions

Commit migrated from https://github.com/dotnet/coreclr/commit/5b97541ab67310b7831c4f5c13be7978c0b024cd

8 years agoMerge pull request dotnet/coreclr#5375 from pgavlin/CSECleanup
Pat Gavlin [Wed, 1 Jun 2016 23:58:48 +0000 (23:58 +0000)]
Merge pull request dotnet/coreclr#5375 from pgavlin/CSECleanup

Remove some lexical-CSE-related code.

Commit migrated from https://github.com/dotnet/coreclr/commit/e85f02a0ec48154cb6fe1fa2fa2d7db5e48042cd

8 years agoGCStress: Fix a race-condition
Swaroop Sridhar [Wed, 1 Jun 2016 04:15:07 +0000 (21:15 -0700)]
GCStress: Fix a race-condition

This change ensures that calls to CORINFO_HELP_STOP_FOR_GC() themselves
are not converted to GC-Stress traps -- thus preventing the race between
the GC thread, and a managed thread under GCStress.

Identification of calls to CORINFO_HELP_STOP_FOR_GC():
Since this is a GCStress only requirement, its not worth special identification in the GcInfo
Since CORINFO_HELP_STOP_FOR_GC() calls are realized as indirect calls by the JIT, we cannot identify
them by address at the time of SprinkleBreakpoints().
So, we actually let the SprinkleBreakpoints() replace the call to CORINFO_HELP_STOP_FOR_GC()
with a trap, and revert it back to the original instruction the first time we hit the trap in
OnGcCoverageInterrupt().

Upside: No change to GCInfo or JIT is necessary
Downside: Need to decode a few bytes on every GCStress interrupt.

Fixes dotnet/coreclr#4794

Commit migrated from https://github.com/dotnet/coreclr/commit/bd9712dd6fb9761ef59bde1b00c677545707167f

8 years agoMerge pull request dotnet/coreclr#5365 from kouvel/NamedMutexTests
Koundinya Veluri [Wed, 1 Jun 2016 22:18:30 +0000 (15:18 -0700)]
Merge pull request dotnet/coreclr#5365 from kouvel/NamedMutexTests

Named mutexes: fix handle leak, add stress tests

Commit migrated from https://github.com/dotnet/coreclr/commit/e0a1e0b5f264d52471bb49aa1771ca6fb5cec1c3

8 years agoMerge pull request dotnet/coreclr#5384 from wtgodbe/publishing
William Godbe [Wed, 1 Jun 2016 22:11:37 +0000 (15:11 -0700)]
Merge pull request dotnet/coreclr#5384 from wtgodbe/publishing

Publish pkg/symbolpkg folders within Release/Debug folders

Commit migrated from https://github.com/dotnet/coreclr/commit/0ac55bad5f7e92a04b147b3d97b452eccf134af9

8 years agoPublish pkg/symbolpkg folders within Release/Debug folders
wtgodbe [Wed, 1 Jun 2016 22:04:46 +0000 (15:04 -0700)]
Publish pkg/symbolpkg folders within Release/Debug folders

Commit migrated from https://github.com/dotnet/coreclr/commit/9729128a695195af29c305ba03f9ee993c96a58a

8 years agoProposed fix for HFA args on ARM32
Brian Sullivan [Wed, 1 Jun 2016 20:50:55 +0000 (13:50 -0700)]
Proposed fix for HFA args on ARM32

Commit migrated from https://github.com/dotnet/coreclr/commit/c34a2c85e7d82663eb1cbea774872851e4f8be9d

8 years agoRemove some lexical-CSE-related code.
Pat Gavlin [Wed, 1 Jun 2016 18:11:26 +0000 (11:11 -0700)]
Remove some lexical-CSE-related code.

Lexical CSE is no more; remove some related code:
- Remove the `lexicalCSE` parameter and related checks from `optConfigDisableCSE`.
- Remove the `VALNUM_CSE_ENABLED` symbol: this symbol is unconditionally
  set to 1 and doesn't control much other than the behavior of
  `optConfigDisableCSE`

Commit migrated from https://github.com/dotnet/coreclr/commit/bf8d72f10fa139af49ccc26b2146196297f0de79

8 years agoSpeed up CreateComparer in Comparer/EqualityComparer (dotnet/coreclr#5315)
James Ko [Wed, 1 Jun 2016 20:19:47 +0000 (16:19 -0400)]
Speed up CreateComparer in Comparer/EqualityComparer (dotnet/coreclr#5315)

Commit migrated from https://github.com/dotnet/coreclr/commit/4f975716f66f235d7ed45025ed29444fb297f41b

8 years agoFix for issue 5343: Assert Failure: !"Cannot take the address of an uninstantiated...
Fadi Hanna [Wed, 1 Jun 2016 20:05:45 +0000 (13:05 -0700)]
Fix for issue 5343: Assert Failure: !"Cannot take the address of an uninstantiated generic method." (dotnet/coreclr#5347)

The problem was that the delegates code base was not correctly instantiating interface GVMs on target types
(after finding the target method on the target type using slot numbers), and ended up calling uninstantiated
generic method definitions on delegate invokes.

Commit migrated from https://github.com/dotnet/coreclr/commit/c1cf38369531d9fb98a1b26166a1e48c0c8c808d

8 years agoMerge pull request dotnet/coreclr#5372 from kyulee1/eh11
Kyungwoo Lee [Wed, 1 Jun 2016 19:37:34 +0000 (12:37 -0700)]
Merge pull request dotnet/coreclr#5372 from kyulee1/eh11

ARM64: eh11_large exclusion

Commit migrated from https://github.com/dotnet/coreclr/commit/53e54494042e7a567364725ea61d9a7e62effa9c

8 years agoMerge pull request dotnet/coreclr#5376 from wtgodbe/publishFix
William Godbe [Wed, 1 Jun 2016 19:19:32 +0000 (12:19 -0700)]
Merge pull request dotnet/coreclr#5376 from wtgodbe/publishFix

Publish packages into folders named for their configuration

Commit migrated from https://github.com/dotnet/coreclr/commit/d82c86d8f3ea87ad73d48f5280df3053bdebe44e

8 years agoPublish packages into folders named for their configuration
wtgodbe [Wed, 1 Jun 2016 19:18:33 +0000 (12:18 -0700)]
Publish packages into folders named for their configuration

Commit migrated from https://github.com/dotnet/coreclr/commit/762babfed84b8f9923cdbeb2ad1192586d657868

8 years agoMerge pull request dotnet/coreclr#5306 from jamesqo/jitdump-docs
Andy Ayers [Wed, 1 Jun 2016 19:02:21 +0000 (12:02 -0700)]
Merge pull request dotnet/coreclr#5306 from jamesqo/jitdump-docs

Add new document on how to setup/view JIT dumps

Commit migrated from https://github.com/dotnet/coreclr/commit/0589dee5247f14dd8a3dc04f5f5404228a4e98d3

8 years agoSquashed commit of the following:
David Mason [Thu, 26 May 2016 02:20:54 +0000 (19:20 -0700)]
Squashed commit of the following:

commit dotnet/coreclr@45d11dde6acdc3def0a13302c527e3c7a662b009
Author: David Mason <davmason@microsoft.com>
Date:   Wed May 25 19:00:10 2016 -0700

    Squashed commit of the following:

    commit dotnet/coreclr@f586c5552d8225f13b5a0476f5bdf9362ba9ee8d
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Wed May 25 14:17:45 2016 -0700

        Fix heap dump GC type to be Induced

        Previously we didn't set the GC type to be "Induced" when collecting a heap dump.  This would cause perfview to ignore the GC.

    commit dotnet/coreclr@78866dfdcc15ebade0a2faeb6af9a5b7f5e0a170
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Wed May 25 13:18:41 2016 -0700

        Enable LTTng events for creating a gcdump

        There were a handful of events that were not properly enabled on linux.  This change adds enables the remaining events to allow heap dumps.

    commit dotnet/coreclr@04d3d6c3d9a1c87e88bc1db91f717481f21874bc
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Tue May 24 12:57:16 2016 -0700

        Fix BulkTypeEvents

        The buffer used for BulkTypeEvents was defined as a BYTE** instead of BYTE*.  This lead to incorrectly written BulkTypeEvents.

    commit dotnet/coreclr@8ceab5828e8101b134beb0175b1842487607636c
    Author: David Mason <davmason@microsoft.com>
    Date:   Wed May 18 11:21:12 2016 -0700

        Add logic for finalizer thread to check to see if a heap dump is required.

    commit dotnet/coreclr@cd64b4884d639ce90e4192975533f5e873bd1cb3
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Thu May 19 14:24:01 2016 -0700

        Special case BulkType LTTng event

        The BulkType LTTng event does not have a real element size.  Instead each element is variable length.  This change updates the FireBulkType method to allow us to pass the correct size to LTTng.

    commit dotnet/coreclr@f8ab762106188bc124af802ec0490ef8375412b5
    Merge: 77495aa f0d9ab4
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Thu May 19 13:49:43 2016 -0700

        Merge branch 'gc-events' of github.com:leculver/coreclr into gc-events

    commit dotnet/coreclr@f0d9ab4e52c69b45d2d169983c23ab5263edb5c0
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Thu May 19 12:51:01 2016 -0700

        Enable BulkType LTTng events on linux

        Emit calls to FireBulkType events on linux.  This commit enables the code, but currently the wrong size is used in the etw subsystem (this function must be special cased).

    commit dotnet/coreclr@25c682ce49f51298f011046faa50443c569943b7
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Wed May 18 12:06:05 2016 -0700

        Fix multiple LTTng issues

        - Only emit LTTng events when LTTng is enabled.  We now use the tracepoint_enabled macro to check if an event is enabled...when the version of lttng is installed that supports it.
        - Unsplit LTTng events.  Previously we split LTTng events when they exceeded the field limit of LTTng.  Now we emit those events as a raw byte array so that it matches their windows ETW counterparts byte-for-byte.
        - Emit any event with a struct or embedded array as a raw byte array too.  The structure of memory that LTTng emits is incompatible with our ETW parsing.  Changing events with struct/array fields greatly simplifies the parsing of events.

    commit dotnet/coreclr@77495aa1b3415dcee8d4b6e8eb1d0b5cb921f821
    Merge: 754596d f77577c
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Tue May 17 18:24:55 2016 -0700

        Merge branch 'master' of github.com:leculver/coreclr

    commit dotnet/coreclr@754596d9c51d07db9267148a20f81c786f719312
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Tue May 17 18:21:54 2016 -0700

        Squashed commit of the following:

        commit dotnet/coreclr@f77577c1d7c552de9e75f6fb98a656a1d09bf8b2
        Author: Lee Culver <leculver@microsoft.com>
        Date:   Tue May 17 18:04:18 2016 -0700

            Properly handle arrays in LTTng

            Arrays were not being properly handled by the LTTng code generator.

        commit dotnet/coreclr@390e998719e050a4e61b29bef4c8f8ecbff3423f
        Author: Lee Culver <leculver@microsoft.com>
        Date:   Tue May 17 11:21:07 2016 -0700

            Manually write events with structs

            Manually write events to LTTng which have structs embedded in them.

        commit dotnet/coreclr@54ae7c79f3c96987504cece302513ac9215afbfe
        Author: Lee Culver <leculver@microsoft.com>
        Date:   Tue May 17 09:12:45 2016 -0700

            Fix issue with struct sizes

            Struct sizes were not properly calculated for manually saved events.

        commit dotnet/coreclr@d4e59b1b8b18822e551e585ebe006e5b66066bf8
        Author: Lee Culver <leculver@microsoft.com>
        Date:   Mon May 16 20:57:33 2016 -0700

            Fix tests

            Tests were not being generated properly, as they skipped a parameter.
            This is now fixed.

        commit dotnet/coreclr@91d68c7ee36f28b1d9de8d0242edcd078416dc80
        Author: Lee Culver <leculver@microsoft.com>
        Date:   Wed May 11 17:41:23 2016 -0700

            Remove excess fields in LTTng stream

            Extra fields were inserted into LTTng to calculate the size of struct
            pointers.  Now this calculation is done natively without needing to
            insert the extra fields.

        commit dotnet/coreclr@3bf826f5e36637ff5188d0205510d7236458075a
        Author: Lee Culver <leculver@microsoft.com>
        Date:   Tue May 10 10:00:39 2016 -0700

            Re-enable dynamic linking to fix a load issue

            Was getting a loader issue on startup, disabling static linking for now.

        commit dotnet/coreclr@aacb45ff675d2299df938493416f875096ec446c
        Author: Lee Culver <leculver@microsoft.com>
        Date:   Thu Apr 28 20:56:01 2016 -0700

            Unsplit lttng events

            LTTng has a limitation in that it cannot emit events with more than 9
            parameters.  Previously we would split these events into multiple
            events.  However this proves to be very difficult to consume with
            TraceEvent.  Instead we now pack the parameters into a byte array an
            emit the byte array + length as a single event, avoiding the need to
            recombine events later.

        commit dotnet/coreclr@a9a630da28d42132c2e8929909e86545fbe630c9
        Author: Lee Culver <leculver@microsoft.com>
        Date:   Wed Apr 20 13:31:33 2016 -0700

            Only emit LTTng events when they are enabeld.

            This changes adds a check for tracepoint_enabled (when that feature is available).
            This change also statically compiles against the LTTng libraries (instead of dynamically) to avoid using entrypoints that may not be there if compiled against a different lttng that lacks the tracepoint_enabled entrypoint.

    commit dotnet/coreclr@f77577c1d7c552de9e75f6fb98a656a1d09bf8b2
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Tue May 17 18:04:18 2016 -0700

        Properly handle arrays in LTTng

        Arrays were not being properly handled by the LTTng code generator.

    commit dotnet/coreclr@390e998719e050a4e61b29bef4c8f8ecbff3423f
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Tue May 17 11:21:07 2016 -0700

        Manually write events with structs

        Manually write events to LTTng which have structs embedded in them.

    commit dotnet/coreclr@54ae7c79f3c96987504cece302513ac9215afbfe
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Tue May 17 09:12:45 2016 -0700

        Fix issue with struct sizes

        Struct sizes were not properly calculated for manually saved events.

    commit dotnet/coreclr@d4e59b1b8b18822e551e585ebe006e5b66066bf8
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Mon May 16 20:57:33 2016 -0700

        Fix tests

        Tests were not being generated properly, as they skipped a parameter.
        This is now fixed.

    commit dotnet/coreclr@91d68c7ee36f28b1d9de8d0242edcd078416dc80
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Wed May 11 17:41:23 2016 -0700

        Remove excess fields in LTTng stream

        Extra fields were inserted into LTTng to calculate the size of struct
        pointers.  Now this calculation is done natively without needing to
        insert the extra fields.

    commit dotnet/coreclr@3bf826f5e36637ff5188d0205510d7236458075a
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Tue May 10 10:00:39 2016 -0700

        Re-enable dynamic linking to fix a load issue

        Was getting a loader issue on startup, disabling static linking for now.

    commit dotnet/coreclr@aacb45ff675d2299df938493416f875096ec446c
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Thu Apr 28 20:56:01 2016 -0700

        Unsplit lttng events

        LTTng has a limitation in that it cannot emit events with more than 9
        parameters.  Previously we would split these events into multiple
        events.  However this proves to be very difficult to consume with
        TraceEvent.  Instead we now pack the parameters into a byte array an
        emit the byte array + length as a single event, avoiding the need to
        recombine events later.

    commit dotnet/coreclr@a9a630da28d42132c2e8929909e86545fbe630c9
    Author: Lee Culver <leculver@microsoft.com>
    Date:   Wed Apr 20 13:31:33 2016 -0700

        Only emit LTTng events when they are enabeld.

        This changes adds a check for tracepoint_enabled (when that feature is available).
        This change also statically compiles against the LTTng libraries (instead of dynamically) to avoid using entrypoints that may not be there if compiled against a different lttng that lacks the tracepoint_enabled entrypoint.

Commit migrated from https://github.com/dotnet/coreclr/commit/223256668d2c73d2ca2a54a1373742b905755ee3

8 years agoARM64: eh11_large exclusion
Kyungwoo Lee [Wed, 1 Jun 2016 17:24:39 +0000 (10:24 -0700)]
ARM64: eh11_large exclusion

This test often fails in release run.

Commit migrated from https://github.com/dotnet/coreclr/commit/bee6da4db9323e5a94d3f8b2a4d020c56e828195

8 years agoMerge pull request dotnet/coreclr#4918 from stephentoub/task_parent_size
Stephen Toub [Wed, 1 Jun 2016 17:24:34 +0000 (13:24 -0400)]
Merge pull request dotnet/coreclr#4918 from stephentoub/task_parent_size

Shrink Task size by 10%

Commit migrated from https://github.com/dotnet/coreclr/commit/d88b3c5fba00695b92adf0f3404c0f5b07acfe63

8 years agoAdd new document on how to setup/view JIT dumps
James Ko [Wed, 1 Jun 2016 17:19:22 +0000 (17:19 +0000)]
Add new document on how to setup/view JIT dumps

Commit migrated from https://github.com/dotnet/coreclr/commit/27e4328891ca3ce83fcd6881556d57d183b2b284

8 years agoRemove duplicate avoid in comments from a few files (dotnet/coreclr#5363)
James Singleton [Wed, 1 Jun 2016 16:27:43 +0000 (17:27 +0100)]
Remove duplicate avoid in comments from a few files (dotnet/coreclr#5363)

Remove double avoid in comments

Commit migrated from https://github.com/dotnet/coreclr/commit/ed288543901c12177d9ae042bd961c6d14fcb33f

8 years agoMerge pull request dotnet/coreclr#4909 from lemmaa/unit-test-enhancement
Aditya Mandaleeka [Wed, 1 Jun 2016 16:15:10 +0000 (09:15 -0700)]
Merge pull request dotnet/coreclr#4909 from lemmaa/unit-test-enhancement

Add extra options to 'runtest.sh' for effective test monitoring.

Commit migrated from https://github.com/dotnet/coreclr/commit/02c178325e13b9e4322e864bd410d757e97b5acd

8 years agoAdd more Ready-to-Run generics tests (dotnet/coreclr#5190)
John Chen [Wed, 1 Jun 2016 14:59:52 +0000 (07:59 -0700)]
Add more Ready-to-Run generics tests (dotnet/coreclr#5190)

Commit migrated from https://github.com/dotnet/coreclr/commit/39425de33ab7eea5ce2a545063c989c68c64dd71

8 years agoAdd named mutex stress tests
Koundinya Veluri [Mon, 23 May 2016 17:42:08 +0000 (10:42 -0700)]
Add named mutex stress tests

- The existing PAL tests are run in parallel, each in a separate thread, for a specified duration

Commit migrated from https://github.com/dotnet/coreclr/commit/4c474ea9a88d2d58befecc1a4780853fc2f58017

8 years agoFix handle leak when creating or opening named mutex fails
Koundinya Veluri [Mon, 23 May 2016 17:42:08 +0000 (10:42 -0700)]
Fix handle leak when creating or opening named mutex fails

- After the pal object is registered, it gets a second reference from the handle. Upon an error after that, the handle needs to be revoked in addition to releasing the initial reference.

Commit migrated from https://github.com/dotnet/coreclr/commit/bf6e190fe6ef7289d94545304b5c409f379658b9

8 years agoARM/Linux: Fix Exception Handler PAL Test Fail (dotnet/coreclr#5360)
MyungJoo Ham [Wed, 1 Jun 2016 10:22:10 +0000 (19:22 +0900)]
ARM/Linux: Fix Exception Handler PAL Test Fail (dotnet/coreclr#5360)

The return address should be kept intact, not recovered
just yet. It is going to be recovered by libgcc's
rescore_core_regs much later, few instructions before
heading back to "catch".

Fixes dotnet/coreclr#5358

Commit migrated from https://github.com/dotnet/coreclr/commit/594b424e1328135049cf0515bc5fc58b91f07e2a

8 years agoComment typo fix: removed double word (dotnet/coreclr#5359)
Kurt Aadnoy [Wed, 1 Jun 2016 10:20:54 +0000 (12:20 +0200)]
Comment typo fix: removed double word (dotnet/coreclr#5359)

The overflow check comment for AllocateStringFastMP_InlineGetThread contained an extra "avoid".

Commit migrated from https://github.com/dotnet/coreclr/commit/959025a1ec18e6685e27c0a3ea579c78487daa25

8 years agoFix JIT PInvoke Check Failure on Linux/ARM (dotnet/coreclr#5322)
Jonghyun Park [Wed, 1 Jun 2016 10:19:55 +0000 (19:19 +0900)]
Fix JIT PInvoke Check Failure on Linux/ARM (dotnet/coreclr#5322)

Disable SP check on ARM

Commit migrated from https://github.com/dotnet/coreclr/commit/a027256a9491ad003cfd9cbd263397228ee2eefb

8 years agoMerge pull request dotnet/coreclr#5350 from pgavlin/gh5292and5286
Pat Gavlin [Wed, 1 Jun 2016 03:50:35 +0000 (03:50 +0000)]
Merge pull request dotnet/coreclr#5350 from pgavlin/gh5292and5286

Mark two tests as always optimized and exclude two others from x86/JI…

Commit migrated from https://github.com/dotnet/coreclr/commit/a123c3972c447c8bcfa1810fde0c7ffb842fa31b

8 years agoAdd options to 'runtest.sh'
Sung-Jae Lee [Wed, 11 May 2016 10:42:50 +0000 (19:42 +0900)]
Add options to 'runtest.sh'

- '--show-time'
   display execution sequence and approximate running time for each
   test cases.
- '--no-lf-conversion'
   skip LF conversion for each test case script.

Note: `date` on Mac OS X doesn't support `%N` format specifiler.
In this case, we don't need precise time, so just ignore the time
less then a second.

Commit migrated from https://github.com/dotnet/coreclr/commit/4abde702c2ad949220e1dc513338c3e51b93b85c