platform/upstream/dotnet/runtime.git
8 years agoFixed build breaks
Chuck Mitchell [Mon, 28 Mar 2016 16:27:34 +0000 (09:27 -0700)]
Fixed build breaks

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

8 years agoMerge remote-tracking branch 'upstream/master' into feature
chuckm911 [Thu, 24 Mar 2016 04:03:13 +0000 (21:03 -0700)]
Merge remote-tracking branch 'upstream/master' into feature

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

8 years agoMerge pull request dotnet/coreclr#3890 from kyulee1/removeryujitpack
Kyungwoo Lee [Thu, 24 Mar 2016 03:08:18 +0000 (20:08 -0700)]
Merge pull request dotnet/coreclr#3890 from kyulee1/removeryujitpack

Remove Old NuGet RyuJit Package from Build

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

8 years agoMerge pull request dotnet/coreclr#3888 from jkotas/platform-assemblies
Jan Kotas [Thu, 24 Mar 2016 02:31:27 +0000 (19:31 -0700)]
Merge pull request dotnet/coreclr#3888 from jkotas/platform-assemblies

Remove special casing of platform assemblies

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

8 years agoMerge pull request dotnet/coreclr#3880 from gkhanna79/R2RTestFX
Gaurav Khanna [Thu, 24 Mar 2016 00:20:38 +0000 (17:20 -0700)]
Merge pull request dotnet/coreclr#3880 from gkhanna79/R2RTestFX

Precompile FX assemblies for test run

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

8 years agoMerge pull request dotnet/coreclr#3892 from fadimounir/FixBB
Fadi Hanna [Thu, 24 Mar 2016 00:14:37 +0000 (17:14 -0700)]
Merge pull request dotnet/coreclr#3892 from fadimounir/FixBB

Fix build break

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

8 years agoMerge pull request dotnet/coreclr#3893 from wtgodbe/r2r_GCStress
William Godbe [Wed, 23 Mar 2016 23:57:23 +0000 (16:57 -0700)]
Merge pull request dotnet/coreclr#3893 from wtgodbe/r2r_GCStress

Add per-commit runs & PR trigger phrases for Pri1 R2R GCStress 15 test runs for Windows, OSX, CentOS, and Ubuntu

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

8 years agoMerge pull request dotnet/coreclr#3889 from briansull/update-tests-lst
Brian Sullivan [Wed, 23 Mar 2016 23:42:07 +0000 (16:42 -0700)]
Merge pull request dotnet/coreclr#3889 from briansull/update-tests-lst

Changed 22 UNSTABLE tests to EXPECTED_PASS

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

8 years agoAdd per-commit runs & PR trigger phrases for Pri1 R2R GCStress 15 test runs for Windo...
wtgodbe [Wed, 23 Mar 2016 23:09:41 +0000 (16:09 -0700)]
Add per-commit runs & PR trigger phrases for Pri1 R2R GCStress 15 test runs for Windows, OSX, CentOS, and Ubuntu

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

8 years agoDelete security transparency tests that are not valid on .NET Core
Jan Kotas [Wed, 23 Mar 2016 23:31:55 +0000 (16:31 -0700)]
Delete security transparency tests that are not valid on .NET Core

The security transparency rules are not enforced on .NET Core.

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

8 years agoFix build break
Fadi Hanna [Wed, 23 Mar 2016 22:58:49 +0000 (15:58 -0700)]
Fix build break

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

8 years agoMerge pull request dotnet/coreclr#3887 from rahku/master
Rahul Kumar [Wed, 23 Mar 2016 21:50:46 +0000 (14:50 -0700)]
Merge pull request dotnet/coreclr#3887 from rahku/master

Fix XunitWrapper log file generation

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

8 years agoRemove Old NuGet RyuJit Package from Build
Kyungwoo Lee [Wed, 23 Mar 2016 21:41:20 +0000 (14:41 -0700)]
Remove Old NuGet RyuJit Package from Build

This eliminates the old way of nuget package creation as a part of prep:
https://github.com/dotnet/coreclr/issues/3442.

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

8 years agoChanged 22 UNSTABLE tests to EXPECTED_PASS
Brian Sullivan [Wed, 23 Mar 2016 21:23:45 +0000 (14:23 -0700)]
Changed 22 UNSTABLE tests to EXPECTED_PASS

This reduces the number in the UNSTABLE catagory to 24 tests

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

8 years agoFix XunitWrapper log file generation
Rahul Kumar [Wed, 23 Mar 2016 19:57:40 +0000 (12:57 -0700)]
Fix XunitWrapper log file generation

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

8 years agoMerge pull request dotnet/coreclr#3881 from rahku/issue3730
Rahul Kumar [Wed, 23 Mar 2016 21:20:04 +0000 (14:20 -0700)]
Merge pull request dotnet/coreclr#3881 from rahku/issue3730

offset in epilog to match as prolog

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

8 years agoMerge pull request dotnet/coreclr#3868 from wtgodbe/xunit
Sergiy Kuryata [Wed, 23 Mar 2016 20:26:51 +0000 (13:26 -0700)]
Merge pull request dotnet/coreclr#3868 from wtgodbe/xunit

Print raw output for failed tests in CI/Jenkins failure report

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

8 years agoEnable support to precompile the FX assemblies at test invocation time.
Gaurav Khanna [Tue, 22 Mar 2016 08:18:21 +0000 (01:18 -0700)]
Enable support to precompile the FX assemblies at test invocation time.

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

8 years agoMerge pull request dotnet/coreclr#3735 from fadimounir/HashtableOfTypes
Fadi Hanna [Wed, 23 Mar 2016 20:12:00 +0000 (13:12 -0700)]
Merge pull request dotnet/coreclr#3735 from fadimounir/HashtableOfTypes

Hashtable of types for R2R modules

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

8 years agoRemove special casing of platform assemblies
Jan Kotas [Wed, 23 Mar 2016 19:38:37 +0000 (12:38 -0700)]
Remove special casing of platform assemblies

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

8 years agoTitle: Hashtable of types for R2R modules
Fadi Hanna [Sat, 5 Mar 2016 01:26:07 +0000 (17:26 -0800)]
Title: Hashtable of types for R2R modules
Description: This change replaces the hashtable of types that we dynamically build at module load time with a statically built hashtable at crossgen time, for R2R modules. Typedef tokens and exported type tokens are stored in that hashtable, hashed by their full type name.

Changes include:
- Adding support for NativeFormat hashtables (NativeFormat hashtable reader and writer + supporting functionalities)
- Changes to prevent the allocation and building of m_pAvailableClasses and m_pAvailableClassesCaseIns for a R2R module
- Logic in crossgen to build the hashtable of types, using the NativeFormat (table saved to a new section)
- Refactoring the type lookup functions to return results in a HashedTypeEntry data structure, which supports token based results, as well as EEClassHashEntry_t* based results
- Changes/Cleanup to the ClassLoader::GetClassValue to support the new lookup type
- Fixed small bugs in the std implementation
- Fallback to old hashtable lookup algorithm supported for:
1) Case insensitive type loading
2) R2R image built with older version of crossgen (not having static hashtable)

Tested following scenarios:
- Token based lookups
- Type name based lookups (Type.GetType API), including case insensitive scenarios
- Nested types
- Forwarded types (and forwarded nested types), up to 2 levels of forwarding
- Old R2R image created with previous version of crossgen

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

8 years agooffset in epilog to match as prolog
Rahul Kumar [Wed, 23 Mar 2016 17:30:30 +0000 (10:30 -0700)]
offset in epilog to match as prolog

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

8 years agoPrint raw output for failed tests in CI/Jenkins failure report
wtgodbe [Tue, 22 Mar 2016 23:31:50 +0000 (16:31 -0700)]
Print raw output for failed tests in CI/Jenkins failure report

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

8 years agoMerge pull request dotnet/coreclr#3866 from wtgodbe/CentOS
William Godbe [Wed, 23 Mar 2016 17:13:15 +0000 (10:13 -0700)]
Merge pull request dotnet/coreclr#3866 from wtgodbe/CentOS

Switch per-commit CentOS jobs from Checked to Release

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

8 years agoMerge pull request dotnet/coreclr#3876 from mjsabby/enable_rejit_on_windows
Jan Kotas [Wed, 23 Mar 2016 16:41:13 +0000 (09:41 -0700)]
Merge pull request dotnet/coreclr#3876 from mjsabby/enable_rejit_on_windows

Enable compiling ReJIT functionality in CoreCLR

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

8 years agoMerge pull request dotnet/coreclr#3853 from rahku/issue3730
Rahul Kumar [Wed, 23 Mar 2016 15:37:33 +0000 (08:37 -0700)]
Merge pull request dotnet/coreclr#3853 from rahku/issue3730

ARM64: Implementation of Thread hijacking and thread redirection requires for GCSuspension

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

8 years agoMerge pull request dotnet/coreclr#3877 from dotnet-bot/from-tfs
Jan Kotas [Wed, 23 Mar 2016 10:59:39 +0000 (03:59 -0700)]
Merge pull request dotnet/coreclr#3877 from dotnet-bot/from-tfs

Merge changes from TFS

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

8 years agoMerge pull request dotnet/coreclr#3875 from janvorli/fix-ehpatterntests
Sergiy Kuryata [Wed, 23 Mar 2016 04:32:41 +0000 (21:32 -0700)]
Merge pull request dotnet/coreclr#3875 from janvorli/fix-ehpatterntests

Fix some tests in the EHPatternTests on Unix

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

8 years agoMerge pull request dotnet/coreclr#3869 from manu-silicon/calli
Jan Kotas [Wed, 23 Mar 2016 03:06:41 +0000 (20:06 -0700)]
Merge pull request dotnet/coreclr#3869 from manu-silicon/calli

Implement GenericPInvokeCalliHelper on ARM

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

8 years agoFiles missed in last checkin
Jan Kotas [Wed, 23 Mar 2016 03:04:02 +0000 (20:04 -0700)]
Files missed in last checkin

[tfs-changeset: 1588869]

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

8 years agoMerge pull request dotnet/coreclr#3873 from janvorli/x86-release-exception-unwind
Jan Kotas [Wed, 23 Mar 2016 02:56:39 +0000 (19:56 -0700)]
Merge pull request dotnet/coreclr#3873 from janvorli/x86-release-exception-unwind

Fix x86 exception stack unwinding issue

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

8 years agoFix some tests in the EHPatternTests on Unix
Jan Vorlicek [Wed, 23 Mar 2016 01:37:13 +0000 (02:37 +0100)]
Fix some tests in the EHPatternTests on Unix

Two of the tests in this suite were failing on Unix due to the incorrect
line endings generated to the trace output.
The fix was to replace `"\r\n"` with Environment.NewLine.

I've also removed the test from the list of disabled tests for Unix

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

8 years agoEnable compiling ReJIT functionality in CoreCLR
mjsabby [Wed, 23 Mar 2016 01:18:58 +0000 (18:18 -0700)]
Enable compiling ReJIT functionality in CoreCLR

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

8 years agoMerge pull request dotnet/coreclr#3870 from briansull/issue-3756
Brian Sullivan [Wed, 23 Mar 2016 01:21:58 +0000 (18:21 -0700)]
Merge pull request dotnet/coreclr#3870 from briansull/issue-3756

Remove the define of FEATURE_INTERPRETER for ARM64

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

8 years agoARM64: Implementation of Thread hijacking and thread redirection required for GCSuspe...
Rahul Kumar [Tue, 22 Mar 2016 00:45:50 +0000 (17:45 -0700)]
ARM64: Implementation of Thread hijacking and thread redirection required for GCSuspension

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

8 years agoFix x86 exception stack unwinding issue
Jan Vorlicek [Wed, 23 Mar 2016 00:24:24 +0000 (01:24 +0100)]
Fix x86 exception stack unwinding issue

This change fixes x86 exception stack unwinding issue in release build
when the function epilog contains a call to _EH_epilog3_catch_GS. This
function has repne prefix on a call and jmp instructions and that
prevented the instruction interpreter code from entering the call, which
is vital for correct stack unwinding.

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

8 years agoMerge pull request dotnet/coreclr#3830 from leemgs/upstream-sh-to-bash
Jan Kotas [Wed, 23 Mar 2016 00:14:44 +0000 (17:14 -0700)]
Merge pull request dotnet/coreclr#3830 from leemgs/upstream-sh-to-bash

Don't use symbolic link 'sh'(/bin/sh) in ./coreclr/init-tools.sh

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

8 years agoImplement GenericPInvokeCalliHelper on ARM
Manu [Tue, 22 Mar 2016 08:36:44 +0000 (17:36 +0900)]
Implement GenericPInvokeCalliHelper on ARM

Add assemlby implementation for pinvoke stubs on ARM by porting the
Windows ARM code to Linux ARM assembly.

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

8 years agoRemove unused files from CoreCLR
Jan Kotas [Tue, 22 Mar 2016 23:27:24 +0000 (16:27 -0700)]
Remove unused files from CoreCLR

[tfs-changeset: 1588782]

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

8 years agoRemove the define of FEATURE_INTERPRETER for ARM64
Brian Sullivan [Tue, 22 Mar 2016 23:26:22 +0000 (16:26 -0700)]
Remove the define of FEATURE_INTERPRETER for ARM64

This will remove some extra conditional code that is only use to
support the IL bytecode interpreter and will disable the fallback
to the interpreter on ARM64

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

8 years agoMerge pull request dotnet/coreclr#3863 from jkotas/legacynetcf-2
Jan Kotas [Tue, 22 Mar 2016 22:32:43 +0000 (15:32 -0700)]
Merge pull request dotnet/coreclr#3863 from jkotas/legacynetcf-2

Delete legacy netcf compat support (part 2)

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

8 years agoSwitch per-commit CentOS jobs from Checked to Release
wtgodbe [Tue, 22 Mar 2016 21:39:18 +0000 (14:39 -0700)]
Switch per-commit CentOS jobs from Checked to Release

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

8 years agoMerge pull request dotnet/coreclr#3794 from mikem8361/stripsym
Mike McLaughlin [Tue, 22 Mar 2016 21:28:18 +0000 (14:28 -0700)]
Merge pull request dotnet/coreclr#3794 from mikem8361/stripsym

Strip symbols on release builds into separate binaries

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

8 years agoStrip symbols on release builds into separate binaries
Mike McLaughlin [Tue, 15 Mar 2016 23:04:06 +0000 (16:04 -0700)]
Strip symbols on release builds into separate binaries

Issue dotnet/coreclr#3669

Created a common cmake strip_symbols function that all the modules and programs
use to strip the symbols out of the main into a separate .dbg (Linux) or .dSYM (OSX)
file.

Added an install_clr cmake function to encapsulate the install logic.

Changed all the library module cmake install lines from a TARGETS to a FILES one. The
TARGETS based install directives caused cmake to relink the binary and copy the unstripped
version to the install path. Left the all programs like corerun or ildasm as TARGETS
installs because on OSX FILES type installs don't get marked as executable.

Need to use "get_property(strip_source_file TARGET ${targetName} PROPERTY LOCATION)" for
the older versions of cmake and "set(strip_source_file $<TARGET_FILE:${targetName}>)" on
newer versions (v3 or greater).

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

8 years agoMerge pull request dotnet/coreclr#3851 from briansull/update-tests-lst
Brian Sullivan [Tue, 22 Mar 2016 21:02:12 +0000 (14:02 -0700)]
Merge pull request dotnet/coreclr#3851 from briansull/update-tests-lst

ARM64: Remove the Pri2 tests from Tests.lst

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

8 years agoMerge pull request dotnet/coreclr#3862 from dotnet-bot/from-tfs
Jan Kotas [Tue, 22 Mar 2016 20:12:29 +0000 (13:12 -0700)]
Merge pull request dotnet/coreclr#3862 from dotnet-bot/from-tfs

Merge changes from TFS

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

8 years agoMerge pull request dotnet/coreclr#3858 from janvorli/fix-exception-callstack
Jan Vorlicek [Tue, 22 Mar 2016 20:06:18 +0000 (21:06 +0100)]
Merge pull request dotnet/coreclr#3858 from janvorli/fix-exception-callstack

Fix exception to string in case of exception in callstack extraction

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

8 years agoDelete legacy netcf compat support (part 2)
Jan Kotas [Mon, 21 Mar 2016 16:06:54 +0000 (09:06 -0700)]
Delete legacy netcf compat support (part 2)

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

8 years agoFix exception to string in case of exception in callstack extraction
Jan Vorlicek [Tue, 22 Mar 2016 11:05:07 +0000 (12:05 +0100)]
Fix exception to string in case of exception in callstack extraction

This change fixes a problem when exception happens while converting an exception
call stack to string. Without this change, Exception.ToString would fail and
if the exception was unhandled, it would just print "Cannot print exception string
because Exception.ToString() failed." without any details on what exception happened.
The problem happens e.g. in case when a method on the call stack has a parameter
that contains members of types from an assembly that cannot be resolved.

The fix was to catch exception from parameter info extraction and if it happens,
just exclude the parameter list from the reported frame.

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

8 years agoUpdate Runtime packages to use netstandard1.0 instead of dotnet as the TFM.
Wes Haggard [Tue, 22 Mar 2016 16:21:28 +0000 (09:21 -0700)]
Update Runtime packages to use netstandard1.0 instead of dotnet as the TFM.

CR: ericstj

[tfs-changeset: 1588560]

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

8 years agoMerge pull request dotnet/coreclr#3803 from manu-silicon/arm_struct
Carol Eidt [Tue, 22 Mar 2016 13:21:11 +0000 (06:21 -0700)]
Merge pull request dotnet/coreclr#3803 from manu-silicon/arm_struct

Fix for issue dotnet/coreclr#3754 when passing struct as argument on ARM

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

8 years agoDon't use symbolic link 'sh'(/bin/sh) in ./coreclr/init-tools.sh
Geunsik Lim [Tue, 22 Mar 2016 05:00:19 +0000 (14:00 +0900)]
Don't use symbolic link 'sh'(/bin/sh) in ./coreclr/init-tools.sh

There are a lot of different shells among the Linux distributions.
The up-to-date Ubuntu distribution uses /bin/dash without /bin/bash by default.
Also, the /bin/sh command has been using as a symbolic link without the original
/bin/sh in the some popular Linux distributions such as Ubuntu 14.04.

Ver 3:
- Don't use 'sh' command thanks to the  "#!/usr/bin/env bash" (first line)
- /bin/sh of Ubuntu 14.04 is symbolic link. It calls /bin/dash by default.

Ver 1:
- Let's replace a symbolic 'sh' with 'bash' such as
"#!/usr/bin/env bash" declaration (shebang) of ./coreclr/init-tools.sh

lgs@u14.04:~$ ls -l `which sh`
lrwxrwxrwx 1 root root 4 12 21 17:01 /bin/sh -> dash
lgs@u14.04:~$

Signed-off-by: Geunsik Lim geunsik.lim@samsung.com
Signed-off-by: MyungJoo Ham myungjoo.ham@samsung.com
Signed-off-by: Prajwal A N an.prajwal@samsung.com
Commit migrated from https://github.com/dotnet/coreclr/commit/0949aa73e7ee0a57e079317478ae2ad1ed94a27f

8 years agoMerge pull request dotnet/coreclr#3845 from erozenfeld/RegressionTests
Eugene Rozenfeld [Tue, 22 Mar 2016 05:53:32 +0000 (22:53 -0700)]
Merge pull request dotnet/coreclr#3845 from erozenfeld/RegressionTests

Add regression tests for two previously fixed bugs.

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

8 years agoMerge pull request dotnet/coreclr#3855 from jkotas/mscorlib-build
Jan Kotas [Tue, 22 Mar 2016 05:15:11 +0000 (22:15 -0700)]
Merge pull request dotnet/coreclr#3855 from jkotas/mscorlib-build

Fix intermediate directory for mscorlib build

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

8 years agoMerge pull request dotnet/coreclr#3852 from jkotas/legacynetcf-1
Jan Kotas [Tue, 22 Mar 2016 03:17:14 +0000 (20:17 -0700)]
Merge pull request dotnet/coreclr#3852 from jkotas/legacynetcf-1

Delete legacy netcf compat support (part 1)

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

8 years agoMerge pull request dotnet/coreclr#3650 from sivarv/blockSeqFix
Sivarv [Tue, 22 Mar 2016 02:57:02 +0000 (19:57 -0700)]
Merge pull request dotnet/coreclr#3650 from sivarv/blockSeqFix

Fix to Huffman benchmark decompression loop has unnecessary spills and reloads

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

8 years agoFix intermediate directory for mscorlib build
Jan Kotas [Tue, 22 Mar 2016 02:56:24 +0000 (19:56 -0700)]
Fix intermediate directory for mscorlib build

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

8 years agoMerge pull request dotnet/coreclr#3843 from AndyAyersMS/DataGathering
Andy Ayers [Tue, 22 Mar 2016 02:00:19 +0000 (19:00 -0700)]
Merge pull request dotnet/coreclr#3843 from AndyAyersMS/DataGathering

Inliner: initial data gathering for code size estimates

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

8 years agoMerge pull request dotnet/coreclr#3854 from mikem8361/docs
Mike McLaughlin [Tue, 22 Mar 2016 01:35:07 +0000 (18:35 -0700)]
Merge pull request dotnet/coreclr#3854 from mikem8361/docs

Update SOS documentation

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

8 years agoDelete legacy netcf compat support (part 1)
Jan Kotas [Mon, 21 Mar 2016 16:06:54 +0000 (09:06 -0700)]
Delete legacy netcf compat support (part 1)

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

8 years agoMerge pull request dotnet/coreclr#3847 from dotnet-bot/from-tfs
Jan Kotas [Tue, 22 Mar 2016 00:20:43 +0000 (17:20 -0700)]
Merge pull request dotnet/coreclr#3847 from dotnet-bot/from-tfs

Merge changes from TFS

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

8 years agoAdd regression tests for two previously fixed bugs.
Eugene Rozenfeld [Mon, 21 Mar 2016 20:52:23 +0000 (13:52 -0700)]
Add regression tests for two previously fixed bugs.

One of the repros is in il rather than C# because the
repro was sensitive to what different versions of C#
compiler generated.

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

8 years agoFix for issue dotnet/coreclr#3754 when passing struct as argument on ARM
Manu [Fri, 18 Mar 2016 02:59:12 +0000 (11:59 +0900)]
Fix for issue dotnet/coreclr#3754 when passing struct as argument on ARM

When enabling Unix AMD64 struct passing, we broke ARM we were need to
check if the register is an HFA one or not, and if so uses the HFA type
instead.

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

8 years agoUpdate SOS documentation.
Mike McLaughlin [Mon, 21 Mar 2016 23:58:20 +0000 (16:58 -0700)]
Update SOS documentation.

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

8 years agoRemove the Pri2 tests from Tests.lst
Brian Sullivan [Mon, 21 Mar 2016 23:47:37 +0000 (16:47 -0700)]
Remove the Pri2 tests from Tests.lst

These tests are not run by the CI automation for the other architectures
Removing them will eliminate 26 failing tests

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

8 years agoMerge pull request dotnet/coreclr#3815 from briansull/struct16-fp-args
Brian Sullivan [Mon, 21 Mar 2016 23:11:43 +0000 (16:11 -0700)]
Merge pull request dotnet/coreclr#3815 from briansull/struct16-fp-args

Fixes issue 3750 - passing fp arguments

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

8 years agoInliner: initial data gathering for code size estimates
Andy Ayers [Fri, 18 Mar 2016 00:23:19 +0000 (17:23 -0700)]
Inliner: initial data gathering for code size estimates

Some initial work to gather data to drive the modelling of inline
code size impact. See dotnet/coreclr#3775 for context.

Update the `DiscretionaryPolicy` to capture more observations.

Add a limit feature `JitInlineLimit` so the jit will stop inlining after
a given number of successful inlines.

Add a `DumpData` method to `InlinePolicy` which will display all the
observations that were made to evaluate an inline. Implement this for the
`DiscretionaryPolicy`. Add a matching `DumpSchema` that writes out
column headers for each of the observations.

Modify `InlineResult` to cache the last successful policy on the root
compiler instance. Use that along with the `JitInlineLimit` and
`DumpData` to display detailed information about the last sucessful
inline along with the code size for the method. All this is displayed
if `JitInlineDumpData ` is enabled.

This allows for isolating code size measurements as follows. Compile or
jit something with `JitInlineLimit = 0` and `JitInlineDumpData =1` (and
for now, `JitInlinePolicyDiscretionary = 1`, since other policies do not
implement any interesting data dumping).

Record the this root set of method sizes and IDs. Repeat with
`JitInlineLimit=1`. For each method where there was an inline, the size
impact of that inline can be computed by comparing this version versus
the version from the root set. Repeat with `JitInlineLimit=2`, comparing
versus the `=1` versions.

Currently the method token is used to identify the root method. This is
not sufficiently unique but unfortunately there currently aren't
substantially better alternatives. See dotnet/coreclr#1957 for some discussion.

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

8 years agoMerge pull request dotnet/coreclr#3840 from wtgodbe/HardwareEh
William Godbe [Mon, 21 Mar 2016 22:37:10 +0000 (15:37 -0700)]
Merge pull request dotnet/coreclr#3840 from wtgodbe/HardwareEh

Disable OutOfMemoryException test in HardwareEh test

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

8 years agoMerge pull request dotnet/coreclr#3841 from kyulee1/exclusion
Kyungwoo Lee [Mon, 21 Mar 2016 22:24:12 +0000 (15:24 -0700)]
Merge pull request dotnet/coreclr#3841 from kyulee1/exclusion

ARM64: Apply exclusion list to Tests.lst file

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

8 years agoTrim Windows-specific System.Security.Principal types from CoreCLR mscorlib
Jan Kotas [Mon, 21 Mar 2016 21:02:42 +0000 (14:02 -0700)]
Trim Windows-specific System.Security.Principal types from CoreCLR mscorlib

[tfs-changeset: 1588225]

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

8 years agoDisable OutOfMemoryException test in HardwareEh test
wtgodbe [Mon, 21 Mar 2016 17:10:16 +0000 (10:10 -0700)]
Disable OutOfMemoryException test in HardwareEh test

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

8 years agoTests and fixes for struct16 arguments and floating point arguments
Brian Sullivan [Fri, 18 Mar 2016 23:58:50 +0000 (16:58 -0700)]
Tests and fixes for struct16 arguments and floating point arguments

Updated Tests.lst with 50 new passing tests
Updated this fix to be under #ifdef ARM64 only

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

8 years agoARM64: Apply exclusion list to Tests.lst file
Kyungwoo Lee [Mon, 21 Mar 2016 17:48:14 +0000 (10:48 -0700)]
ARM64: Apply exclusion list to Tests.lst file

Currently ARM64 tests run all tests even if those are excluded in
issues.targets, which is not only waste of resource but also confusing
ourselves to track such issues.
This adds a script to apply excluded tests specified in issues.targets to
Tests.lst file. Also new Tests.lst file is accordingly updated with 101
tests removed.

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

8 years agoMerge pull request dotnet/coreclr#3833 from JohnChen0/master
John Chen [Mon, 21 Mar 2016 14:54:23 +0000 (07:54 -0700)]
Merge pull request dotnet/coreclr#3833 from JohnChen0/master

Add documentation for CrossGen

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

8 years agoAdd documentation for CrossGen
John Chen [Fri, 18 Mar 2016 22:48:41 +0000 (15:48 -0700)]
Add documentation for CrossGen

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

8 years agoMerge pull request dotnet/coreclr#3563 from adityamandaleeka/threading_test_port_2
Sergiy Kuryata [Sun, 20 Mar 2016 23:39:36 +0000 (16:39 -0700)]
Merge pull request dotnet/coreclr#3563 from adityamandaleeka/threading_test_port_2

Open source even more threading tests

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

8 years agoMove all new tests to Pri 1.
Aditya Mandaleeka [Sun, 20 Mar 2016 03:53:43 +0000 (20:53 -0700)]
Move all new tests to Pri 1.

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

8 years agoAdd waitallex8 and waitallex8a to x86 legacy issues.
Aditya Mandaleeka [Sat, 19 Mar 2016 17:46:26 +0000 (10:46 -0700)]
Add waitallex8 and waitallex8a to x86 legacy issues.

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

8 years agoDelete tests that rely on Thread Abort functionality
Aditya Mandaleeka [Fri, 18 Mar 2016 18:16:45 +0000 (11:16 -0700)]
Delete tests that rely on Thread Abort functionality

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

8 years agoUpdate project.json files.
Aditya Mandaleeka [Tue, 15 Mar 2016 23:03:33 +0000 (16:03 -0700)]
Update project.json files.

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

8 years agoAdd some new threading tests to testsUnsupportedOutsideWindows
Aditya Mandaleeka [Mon, 7 Mar 2016 23:35:14 +0000 (15:35 -0800)]
Add some new threading tests to testsUnsupportedOutsideWindows

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

8 years agoOpen source more threading tests.
Aditya Mandaleeka [Mon, 7 Mar 2016 23:16:27 +0000 (15:16 -0800)]
Open source more threading tests.

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

8 years agoMerge pull request dotnet/coreclr#3831 from dotnet-bot/from-tfs
Sergiy Kuryata [Sat, 19 Mar 2016 23:37:29 +0000 (16:37 -0700)]
Merge pull request dotnet/coreclr#3831 from dotnet-bot/from-tfs

Merge changes from TFS

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

8 years agoFix a CrossGen CreatePDB issue that caused a Windows build break
John Chen [Sat, 19 Mar 2016 16:53:24 +0000 (09:53 -0700)]
Fix a CrossGen CreatePDB issue that caused a Windows build break

CrossGen /CreatePDB command gives preference to the TPA list while loading assemblies. So if the TPA contains the IL version of the input assembly but not the NI version, we would end up loading the IL instead of NI. This causes the CreatePDB command to fail, since it can't operate on IL images. This is fixed by putting the input file as the first entry in the TPA list.

Another issue is when the above error does occur, the error message is very unclear (it only shows "Unspecified error"). This is fixed with a better error message.

[tfs-changeset: 1587876]

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

8 years agoMerge pull request dotnet/coreclr#3810 from kyulee1/FixPath
Kyungwoo Lee [Sat, 19 Mar 2016 04:22:01 +0000 (21:22 -0700)]
Merge pull request dotnet/coreclr#3810 from kyulee1/FixPath

ARM64: Prepend toolset path

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

8 years agoMerge pull request dotnet/coreclr#3655 from sejongoh/fix_u64_to_f64_cast
Sejong Oh [Sat, 19 Mar 2016 02:23:15 +0000 (19:23 -0700)]
Merge pull request dotnet/coreclr#3655 from sejongoh/fix_u64_to_f64_cast

Fix inconsistent uint64-to-double cast

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

8 years agoMerge pull request dotnet/coreclr#3813 from briansull/update-tests-lst
Brian Sullivan [Fri, 18 Mar 2016 23:35:31 +0000 (16:35 -0700)]
Merge pull request dotnet/coreclr#3813 from briansull/update-tests-lst

ARM64: Native test build -  Update Tests.lst with passing/failing Interop tests

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

8 years agoFix inconsistent uint64-to-double cast
Sejong OH [Fri, 11 Mar 2016 07:30:23 +0000 (23:30 -0800)]
Fix inconsistent uint64-to-double cast

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

8 years agoMerge pull request dotnet/coreclr#3812 from janvorli/fix-stub
Jan Vorlicek [Fri, 18 Mar 2016 22:37:56 +0000 (23:37 +0100)]
Merge pull request dotnet/coreclr#3812 from janvorli/fix-stub

Fix instantiating stub for methods of value types

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

8 years agoRemoving Tests.sav
Brian Sullivan [Fri, 18 Mar 2016 22:23:10 +0000 (15:23 -0700)]
Removing Tests.sav

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

8 years agoUpdated one UNSTABLE test
Brian Sullivan [Fri, 18 Mar 2016 22:10:00 +0000 (15:10 -0700)]
Updated one UNSTABLE test

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

8 years agoMerge branch 'master' into update-tests-lst
Brian Sullivan [Fri, 18 Mar 2016 22:09:17 +0000 (15:09 -0700)]
Merge branch 'master' into update-tests-lst

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

8 years agoMerge pull request dotnet/coreclr#3809 from wtgodbe/utf8
Jan Vorlicek [Fri, 18 Mar 2016 21:31:30 +0000 (22:31 +0100)]
Merge pull request dotnet/coreclr#3809 from wtgodbe/utf8

Ported managed Utf8/Unicode encoder/decoder to C++ for usage in PAL

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

8 years agoUpdate with passing Interop tests
Brian Sullivan [Fri, 18 Mar 2016 20:08:35 +0000 (13:08 -0700)]
Update with passing Interop tests

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

8 years agoARM64: Prepend toolset path
Kyungwoo Lee [Fri, 18 Mar 2016 19:41:04 +0000 (12:41 -0700)]
ARM64: Prepend toolset path

Currently ARM64 build requires a plain CMD environment which often causes
a trouble when we use a different CMD or other native tools are in the path.
The fix is to simply prepend the tool path instead of appending it.

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

8 years agoFix instantiating stub for methods of value types
Jan Vorlicek [Fri, 18 Mar 2016 14:46:20 +0000 (15:46 +0100)]
Fix instantiating stub for methods of value types

This change fixes a problem with instantiating stubs for methods of value types.
The problem was that the CreateInstantiatingILStub didn't take into account the
fact that methods of value types need to have "this" passed "byref".
The issue manifested itself as a rare corruption of references in array of structs
that were thin wrappers for string reference during GC stack scan. GC thought that
the reference to an array entry is an object reference that starts with method table.
GC marks method table pointers by setting their bit zero to 1. But in this case,
it has accidentally modified an object reference instead and a test was crashing
with wrong object address.

The root cause of the problem is that the instantiating stubs were placed on a global
singleton reference class no matter whether the target method was on a reference class
or a value type.

I have fixed it by putting the stubs on the instantiated target generic type instead.

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

8 years agoPorted managed Utf8/Unicode encoder/decoder to C++ for usage in PAL
William Godbe [Thu, 21 Jan 2016 23:14:48 +0000 (15:14 -0800)]
Ported managed Utf8/Unicode encoder/decoder to C++ for usage in PAL

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

8 years agoMerge pull request dotnet/coreclr#3808 from mmitche/arm64-cross-label
Matt Mitchell [Fri, 18 Mar 2016 17:32:26 +0000 (10:32 -0700)]
Merge pull request dotnet/coreclr#3808 from mmitche/arm64-cross-label

Update label for arm and arm64 cross builds on Ubuntu

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

8 years agoUpdate label for arm and arm64 cross builds on Ubuntu
Matt Mitchell [Fri, 18 Mar 2016 17:23:13 +0000 (10:23 -0700)]
Update label for arm and arm64 cross builds on Ubuntu

Update the label to the newer image which contains the required rootfs.

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

8 years agoMerge pull request dotnet/coreclr#3757 from leemgs/upstream-crossgen-skip-for-arm
Jan Kotas [Fri, 18 Mar 2016 16:22:23 +0000 (09:22 -0700)]
Merge pull request dotnet/coreclr#3757 from leemgs/upstream-crossgen-skip-for-arm

The architecture of host pc must be same architecture with target.

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