platform/upstream/dotnet/runtime.git
8 years agoMerge remote-tracking branch 'upstream/master'
Mike McLaughlin [Sat, 9 Apr 2016 18:26:05 +0000 (11:26 -0700)]
Merge remote-tracking branch 'upstream/master'

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

8 years agoMerge pull request dotnet/coreclr#4248 from dotnet/revert-4199-struct16-abi
Matt Ellis [Sat, 9 Apr 2016 06:08:54 +0000 (23:08 -0700)]
Merge pull request dotnet/coreclr#4248 from dotnet/revert-4199-struct16-abi

Revert "ARM64 Work Item 3817, 3524 - Struct16 decomposition"

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

8 years agoRevert "ARM64 Work Item 3817, 3524 - Struct16 decomposition"
Jan Kotas [Sat, 9 Apr 2016 04:34:40 +0000 (18:34 -1000)]
Revert "ARM64 Work Item 3817, 3524 - Struct16 decomposition"

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

8 years agoMerge pull request dotnet/coreclr#4162 from ramarag/ResolveWorkerChainLookupAsmStub
Rama krishnan Raghupathy [Sat, 9 Apr 2016 04:33:40 +0000 (21:33 -0700)]
Merge pull request dotnet/coreclr#4162 from ramarag/ResolveWorkerChainLookupAsmStub

[Arm64]:Fixing the Logic of ResolveWorkerChainLookupAsmStub for VSD

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

8 years agoMerge pull request dotnet/coreclr#4202 from MichalStrehovsky/applicationException
Michal Strehovský [Sat, 9 Apr 2016 02:10:55 +0000 (19:10 -0700)]
Merge pull request dotnet/coreclr#4202 from MichalStrehovsky/applicationException

Remove usage of ApplicationException in tests

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

8 years ago[Arm64]:Fixing the Logic of ResolveWorkerChainLookupAsmStub
Rama Krishnan Raghupathy [Fri, 8 Apr 2016 02:40:30 +0000 (19:40 -0700)]
[Arm64]:Fixing the Logic of ResolveWorkerChainLookupAsmStub

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

8 years agoMerge pull request dotnet/coreclr#4207 from swgillespie/437657
Sean Gillespie [Sat, 9 Apr 2016 00:24:08 +0000 (17:24 -0700)]
Merge pull request dotnet/coreclr#4207 from swgillespie/437657

Remove a test that doesn't provide much value, fails in parallel test…

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

8 years agoMerge pull request dotnet/coreclr#4199 from briansull/struct16-abi
Brian Sullivan [Fri, 8 Apr 2016 23:59:18 +0000 (16:59 -0700)]
Merge pull request dotnet/coreclr#4199 from briansull/struct16-abi

ARM64 Work Item 3817, 3524 - Struct16 decomposition

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

8 years agoMerge remote-tracking branch 'upstream/master'
Mike McLaughlin [Fri, 8 Apr 2016 22:28:04 +0000 (15:28 -0700)]
Merge remote-tracking branch 'upstream/master'

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

8 years agoMerge pull request dotnet/coreclr#4205 from mikem8361/sosfx2
Mike McLaughlin [Fri, 8 Apr 2016 22:27:29 +0000 (15:27 -0700)]
Merge pull request dotnet/coreclr#4205 from mikem8361/sosfx2

Better sos message for runtime not initialized

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

8 years agoMerge remote-tracking branch 'upstream/master'
Mike McLaughlin [Fri, 8 Apr 2016 22:23:43 +0000 (15:23 -0700)]
Merge remote-tracking branch 'upstream/master'

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

8 years agoMerge pull request dotnet/coreclr#4163 from pgavlin/GCInfoQSort
Pat Gavlin [Fri, 8 Apr 2016 22:20:11 +0000 (15:20 -0700)]
Merge pull request dotnet/coreclr#4163 from pgavlin/GCInfoQSort

Replace CQuickSort with qsort in GC info encoders.

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

8 years agoARM64 Work Item 3817, 3524 - Struct16 decomposition
Brian Sullivan [Fri, 8 Apr 2016 19:08:24 +0000 (12:08 -0700)]
ARM64 Work Item 3817, 3524 - Struct16 decomposition

Changes to support passing of MultiReg structs using GT_LISTs
Optional support for  struct promotion for multireg structs:
To enable set  FEATURE_MULTIREG_STRUCT_PROMOTE to 1
Morphs the 16-byte structs at the end of fgMorphArgs
Careful refactoring to avoid changes to UNIX_AMD64 code
Covers all of the 16-byte struct expansion cases in fgMorph
Added function header comments
Passing the tests for Arm64
No AsmDiffs for non-Arm64 targets.
Codegen uses Contained nodes for PUTARG_STK 16-byte stack args
Created a genPutArgStk method for Arm64

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

8 years agoRemove a test that doesn't provide much value, fails in parallel test environments...
Sean Gillespie [Fri, 8 Apr 2016 21:43:31 +0000 (14:43 -0700)]
Remove a test that doesn't provide much value, fails in parallel test environments, and p/invokes to kernel32.dll

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

8 years agoMerge pull request dotnet/coreclr#4198 from dotnet-bot/from-tfs
Matt Ellis [Fri, 8 Apr 2016 21:03:49 +0000 (14:03 -0700)]
Merge pull request dotnet/coreclr#4198 from dotnet-bot/from-tfs

Merge changes from TFS

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

8 years agoMerge pull request dotnet/coreclr#4203 from mmitche/remove-unused
Matt Mitchell [Fri, 8 Apr 2016 20:56:30 +0000 (13:56 -0700)]
Merge pull request dotnet/coreclr#4203 from mmitche/remove-unused

Remove unecessary jobs

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

8 years agoBetter sos message for runtime not initialized
Mike McLaughlin [Fri, 8 Apr 2016 20:45:28 +0000 (13:45 -0700)]
Better sos message for runtime not initialized

Also fixed the corerun sos command checked build problem.

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

8 years agoRemove unecessary jobs
Matt Mitchell [Fri, 8 Apr 2016 20:35:34 +0000 (13:35 -0700)]
Remove unecessary jobs

The jobs that involve multiple build stages (like most things xplat) always use the native bits from the default scenario.  Remove builds that are unused

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

8 years agoRemove usage of ApplicationException in tests
Michal Strehovský [Fri, 8 Apr 2016 18:51:23 +0000 (11:51 -0700)]
Remove usage of ApplicationException in tests

ApplicationException is not in the .NET Core profile. Most of these
tests only use it to crash the test with an unhandled exception and it
doesn't matter what exception type it is.

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

8 years agoAdd missing .gitmirrorall file
Matt Ellis [Fri, 8 Apr 2016 18:33:47 +0000 (11:33 -0700)]
Add missing .gitmirrorall file

[tfs-changeset: 1594511]

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

8 years agoMerge branch 'botaberg-port_interop_tests'
Tijoy Tom Kalathiparambil [Fri, 8 Apr 2016 17:50:34 +0000 (10:50 -0700)]
Merge branch 'botaberg-port_interop_tests'

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

8 years agoMerge branch 'port_interop_tests' of https://github.com/botaberg/coreclr into botaber...
Tijoy Tom Kalathiparambil [Fri, 8 Apr 2016 17:50:00 +0000 (10:50 -0700)]
Merge branch 'port_interop_tests' of https://github.com/botaberg/coreclr into botaberg-port_interop_tests

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

8 years agoMerge pull request dotnet/coreclr#4164 from yizhang82/lpstr_test_fix
tijoytom [Fri, 8 Apr 2016 17:43:56 +0000 (10:43 -0700)]
Merge pull request dotnet/coreclr#4164 from yizhang82/lpstr_test_fix

Fix LPSTR test failure due to incorrect implementation of strncpy_s.

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

8 years agoMerge pull request dotnet/coreclr#4160 from tijoytom/master
tijoytom [Fri, 8 Apr 2016 17:28:43 +0000 (10:28 -0700)]
Merge pull request dotnet/coreclr#4160 from tijoytom/master

Windows specific Marshal APIs test.

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

8 years agoReplace CQuickSort with qsort in GC info encoders.
Pat Gavlin [Fri, 8 Apr 2016 02:19:53 +0000 (19:19 -0700)]
Replace CQuickSort with qsort in GC info encoders.

This removes another utilcode dependency from the GC info encoders.

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

8 years agoMerge pull request dotnet/coreclr#3642 from dagood/remove-hardcoded-versions
Davis Goodin [Fri, 8 Apr 2016 15:22:12 +0000 (10:22 -0500)]
Merge pull request dotnet/coreclr#3642 from dagood/remove-hardcoded-versions

Remove hardcoded versions from runtests.proj

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

8 years agoMerge pull request dotnet/coreclr#4165 from myungjoo/trivialfix/doc1
Jan Kotas [Fri, 8 Apr 2016 14:01:03 +0000 (04:01 -1000)]
Merge pull request dotnet/coreclr#4165 from myungjoo/trivialfix/doc1

Typo: incorrect pathname in documentation

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

8 years agoTypo: incorrect pathname in documentation
MyungJoo Ham [Fri, 8 Apr 2016 06:19:06 +0000 (15:19 +0900)]
Typo: incorrect pathname in documentation

build-rootfs.sh is at ./cross/, not ./ .

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/c93ca508150196a506dd31f782c8866ab6fe3a97

8 years agoFix LPSTR test failure due to incorrect implementation of strncpy_s. It was implement...
Yi Zhang (CLR) [Fri, 8 Apr 2016 05:12:06 +0000 (22:12 -0700)]
Fix LPSTR test failure due to incorrect implementation of strncpy_s. It was implemented using snprintf and didn't account for the null terminator behavioral difference. Test is now passing after the fix. We should see if we can always use xplat helpers in all platforms for easier debugging.

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

8 years agoMerge pull request dotnet/coreclr#4155 from MichalStrehovsky/debuggableAttribute
Michal Strehovský [Fri, 8 Apr 2016 05:07:10 +0000 (22:07 -0700)]
Merge pull request dotnet/coreclr#4155 from MichalStrehovsky/debuggableAttribute

Remove mscorlib 1.x strong references from tests

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

8 years agoMerge pull request dotnet/coreclr#4161 from yizhang82/remove-marshal
Jan Kotas [Fri, 8 Apr 2016 03:56:04 +0000 (17:56 -1000)]
Merge pull request dotnet/coreclr#4161 from yizhang82/remove-marshal

Remove Marshal.Read/Write (AsAny object) overload from CoreCLR.

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

8 years agoMerge pull request dotnet/coreclr#4134 from MichalStrehovsky/junkAttributes
Michal Strehovský [Fri, 8 Apr 2016 03:39:01 +0000 (20:39 -0700)]
Merge pull request dotnet/coreclr#4134 from MichalStrehovsky/junkAttributes

Delete junk attributes in tests

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

8 years agoRemove Marshal.Read/Write (AsAny object) overload from CoreCLR. I don't expect anyone...
Yi Zhang (CLR) [Thu, 7 Apr 2016 23:04:23 +0000 (16:04 -0700)]
Remove Marshal.Read/Write (AsAny object) overload from CoreCLR. I don't expect anyone to use these overloads and it doesn't make sense to keep them. Their semantics are rather convoluted and most likely not what you might expect.

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

8 years agoWindows specific Marshal APIs test.
Tijoy Tom Kalathiparambil [Fri, 8 Apr 2016 00:17:43 +0000 (17:17 -0700)]
Windows specific Marshal APIs test.

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

8 years agoMerge pull request dotnet/coreclr#4159 from kyulee1/update3
Kyungwoo Lee [Fri, 8 Apr 2016 00:03:21 +0000 (17:03 -0700)]
Merge pull request dotnet/coreclr#4159 from kyulee1/update3

ARM64: Update email notification3 -- testing

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

8 years agoARM64: Update email notification3 -- testing
Kyungwoo Lee [Fri, 8 Apr 2016 00:01:01 +0000 (17:01 -0700)]
ARM64: Update email notification3 -- testing

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

8 years agoMerge pull request dotnet/coreclr#4125 from wtgodbe/errLog
William Godbe [Thu, 7 Apr 2016 23:38:33 +0000 (16:38 -0700)]
Merge pull request dotnet/coreclr#4125 from wtgodbe/errLog

Add error logging to 4 PAL tests that fail periodically on OSX

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

8 years agoMerge pull request dotnet/coreclr#4149 from wtgodbe/triggerPhrases
William Godbe [Thu, 7 Apr 2016 23:23:35 +0000 (16:23 -0700)]
Merge pull request dotnet/coreclr#4149 from wtgodbe/triggerPhrases

Add documentation for CI Trigger Phrases

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

8 years agoAdd documentation for CI Trigger Phrases
wtgodbe [Thu, 7 Apr 2016 19:50:14 +0000 (12:50 -0700)]
Add documentation for CI Trigger Phrases

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

8 years agoMerge pull request dotnet/coreclr#4131 from dotnet/Petermarcu-patch-2
Matt Ellis [Thu, 7 Apr 2016 23:09:17 +0000 (16:09 -0700)]
Merge pull request dotnet/coreclr#4131 from dotnet/Petermarcu-patch-2

Updating Readme to point to .NET Core SDK

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

8 years agoMerge pull request dotnet/coreclr#4153 from kyulee1/update2
Kyungwoo Lee [Thu, 7 Apr 2016 23:07:47 +0000 (16:07 -0700)]
Merge pull request dotnet/coreclr#4153 from kyulee1/update2

ARM64: Update email notification2

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

8 years agoARM64: Update email notification2
Kyungwoo Lee [Thu, 7 Apr 2016 22:00:59 +0000 (15:00 -0700)]
ARM64: Update email notification2

Only for arm64 group (both PR/Push) -- testing.

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

8 years agoMerge pull request dotnet/coreclr#4148 from AndyAyersMS/InlineOpcodeBins
Andy Ayers [Thu, 7 Apr 2016 22:44:21 +0000 (15:44 -0700)]
Merge pull request dotnet/coreclr#4148 from AndyAyersMS/InlineOpcodeBins

Inliner: update DiscretionaryPolicy to look at opcodes and arg info

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

8 years agoRemove mscorlib 1.x strong references from tests
Michal Strehovský [Thu, 7 Apr 2016 22:28:04 +0000 (15:28 -0700)]
Remove mscorlib 1.x strong references from tests

Referencing mscorlib 1.x forces ILASM to emit a reference to the legacy
DebuggableAttribute constructor (the one that takes bools). That
constructor is not in the .NET Core profile and not all core base class
libraries will have it.

See src/ilasm/asmman.cpp#L389.

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

8 years agoFixing failures of CscBench, Serialization and Deserialization perf tests (dotnet...
Deepak Shankargouda [Thu, 7 Apr 2016 22:22:00 +0000 (15:22 -0700)]
Fixing failures of CscBench, Serialization and Deserialization perf tests (dotnet/coreclr#4151)

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

8 years agoMerge pull request dotnet/coreclr#4152 from kyulee1/updateemail
Kyungwoo Lee [Thu, 7 Apr 2016 21:44:08 +0000 (14:44 -0700)]
Merge pull request dotnet/coreclr#4152 from kyulee1/updateemail

ARM64: Update email notification

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

8 years agoMerge pull request dotnet/coreclr#4037 from pgavlin/SimplerHashTable
Pat Gavlin [Thu, 7 Apr 2016 21:40:04 +0000 (14:40 -0700)]
Merge pull request dotnet/coreclr#4037 from pgavlin/SimplerHashTable

Remove non-portable dependencies from SimplerHashTable.

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

8 years agoInliner: update DiscretionaryPolicy to look at opcodes and arg info
Andy Ayers [Thu, 31 Mar 2016 23:29:09 +0000 (16:29 -0700)]
Inliner: update DiscretionaryPolicy to look at opcodes and arg info

Have the `DiscretionaryPolicy` do some simple opcode histogramming
to try and provide better observations for code size estimation.

Likewise, look at the types and sizes of arguments and report those.

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

8 years agoARM64: Update email notification
Kyungwoo Lee [Thu, 7 Apr 2016 20:23:58 +0000 (13:23 -0700)]
ARM64: Update email notification

Only sending email for Windows run when push occurs.
Skip sending email for private run (PR).

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

8 years agoMerge pull request dotnet/coreclr#4106 from janvorli/add-hosting-api-header
Jan Vorlicek [Thu, 7 Apr 2016 20:16:53 +0000 (22:16 +0200)]
Merge pull request dotnet/coreclr#4106 from janvorli/add-hosting-api-header

Add header file for the hosting API

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

8 years agoMerge pull request dotnet/coreclr#4144 from kyulee1/email
Kyungwoo Lee [Thu, 7 Apr 2016 18:19:14 +0000 (11:19 -0700)]
Merge pull request dotnet/coreclr#4144 from kyulee1/email

ARM64: Add email notification for failing job

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

8 years agoMerge pull request dotnet/coreclr#4146 from mmitche/fix-trigger-phrases
Matt Mitchell [Thu, 7 Apr 2016 17:34:03 +0000 (17:34 +0000)]
Merge pull request dotnet/coreclr#4146 from mmitche/fix-trigger-phrases

Trigger phrase currently has invalid regex

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

8 years agoTrigger phrase currently has invalid regex
Matt Mitchell [Thu, 7 Apr 2016 17:30:18 +0000 (10:30 -0700)]
Trigger phrase currently has invalid regex

Should be double quoted for string interpolation

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

8 years agoARM64: Add email notification for failing job
Kyungwoo Lee [Thu, 7 Apr 2016 17:01:38 +0000 (10:01 -0700)]
ARM64: Add email notification for failing job

Similar to roslyn job, added an email publisher to the job.
Fixed job title to reflect "Test" for Checked/Release case.
Refined triggered message to enable individual configuration.
So, instead of "test Windows_NT arm64" that runs all configurations,
just "test Windows_NT arm64 Checked" for instance.

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

8 years agoMerge pull request dotnet/coreclr#4139 from kyulee1/launcher
Kyungwoo Lee [Thu, 7 Apr 2016 13:45:52 +0000 (06:45 -0700)]
Merge pull request dotnet/coreclr#4139 from kyulee1/launcher

ARM64: Launch test build and run in parallel

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

8 years agoMerge pull request dotnet/coreclr#4061 from jamesqo/use-roslyn
Jan Kotas [Thu, 7 Apr 2016 04:27:30 +0000 (18:27 -1000)]
Merge pull request dotnet/coreclr#4061 from jamesqo/use-roslyn

Remove UseRoslynCompiler variable from the build system

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

8 years agoMerge pull request dotnet/coreclr#4136 from yizhang82/castable_fix
Yi Zhang (CLR) [Thu, 7 Apr 2016 04:01:45 +0000 (21:01 -0700)]
Merge pull request dotnet/coreclr#4136 from yizhang82/castable_fix

Re-enable ICastable test now that it is passing on Mac

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

8 years agoMerge pull request dotnet/coreclr#4099 from ramarag/gcstackwalk
Kyungwoo Lee [Thu, 7 Apr 2016 03:52:10 +0000 (20:52 -0700)]
Merge pull request dotnet/coreclr#4099 from ramarag/gcstackwalk

[ARM64] Fixes Updating Registers for managed frames in GC stack walks

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

8 years agoARM64: Launch test build and run in parallel
Kyungwoo Lee [Thu, 7 Apr 2016 03:33:39 +0000 (20:33 -0700)]
ARM64: Launch test build and run in parallel

This change allows to buildtest.cmd for arm64 in separate.
Currently we build coreclr and tests for arm64 and then run tests in
sequence even though we run the pre-built test suite.
This change pushes down the test built part into the lab post script that
launches buildtests.cmd and arm64postbuild.cmd concurrently. The latter
part is mostly waiting for the results from arm64 box. So we can almost
hide the test build time which is around 30 min.

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

8 years agoMerge pull request dotnet/coreclr#4137 from AndyAyersMS/RelModeILTests
Andy Ayers [Thu, 7 Apr 2016 02:50:29 +0000 (19:50 -0700)]
Merge pull request dotnet/coreclr#4137 from AndyAyersMS/RelModeILTests

Set DebugType to PdbOnly for rel-mode IL tests

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

8 years agoMerge pull request dotnet/coreclr#3874 from swaroop-sridhar/CDT
Swaroop Sridhar [Thu, 7 Apr 2016 02:48:37 +0000 (19:48 -0700)]
Merge pull request dotnet/coreclr#3874 from swaroop-sridhar/CDT

Add CoreDisTools header

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

8 years agoSet DebugType to PdbOnly for rel-mode IL tests
Andy Ayers [Wed, 6 Apr 2016 22:33:20 +0000 (15:33 -0700)]
Set DebugType to PdbOnly for rel-mode IL tests

Ensures that execution of these tests always invokes the jit's optimizer,
regardless of the build configuration.

See issue dotnet/coreclr#4124.

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

8 years agoFixes Updating Registers for managed frames in stack walks
Rama Krishnan Raghupathy [Wed, 6 Apr 2016 00:35:02 +0000 (17:35 -0700)]
Fixes Updating Registers for managed frames in stack walks

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

8 years agoRe-enable ICastable test now that it is passing on Mac
Yi Zhang (CLR) [Thu, 7 Apr 2016 00:12:21 +0000 (17:12 -0700)]
Re-enable ICastable test now that it is passing on Mac

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

8 years agoDelete junk attributes in tests
Michal Strehovský [Thu, 7 Apr 2016 00:00:53 +0000 (17:00 -0700)]
Delete junk attributes in tests

There is no such thing as
`Microsoft.VisualBasic.Globals$StandardModuleAttribute` and
`System.Security.SecurityRulesAttribute` in mscorlib. Presence of these
unresolvable references just trips up static compilers.

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

8 years agoMerge pull request dotnet/coreclr#4111 from kyulee1/customlauncher
Kyungwoo Lee [Wed, 6 Apr 2016 23:52:57 +0000 (16:52 -0700)]
Merge pull request dotnet/coreclr#4111 from kyulee1/customlauncher

Restore CustomLauncher to Test Population

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

8 years agoMerge pull request dotnet/coreclr#4119 from tarekgh/FixAsyncCurrentCulture
Tarek Mahmoud Sayed [Wed, 6 Apr 2016 23:24:35 +0000 (16:24 -0700)]
Merge pull request dotnet/coreclr#4119 from tarekgh/FixAsyncCurrentCulture

 Make current culture travel with async operations on Linux

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

8 years agoAdd error logging to 4 PAL tests that fail periodically on OSX
wtgodbe [Wed, 6 Apr 2016 22:18:04 +0000 (15:18 -0700)]
Add error logging to 4 PAL tests that fail periodically on OSX

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

8 years agoMerge pull request dotnet/coreclr#4086 from swgillespie/gc-env-vars
Sean Gillespie [Wed, 6 Apr 2016 22:04:28 +0000 (15:04 -0700)]
Merge pull request dotnet/coreclr#4086 from swgillespie/gc-env-vars

Fix an issue where COREHOST_SERVER_GC and COREHOST_CONCURRENT_GC were…

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

8 years agoMerge pull request dotnet/coreclr#4120 from joperezr/FixInternalBuild
Jose Perez Rodriguez [Wed, 6 Apr 2016 21:04:34 +0000 (14:04 -0700)]
Merge pull request dotnet/coreclr#4120 from joperezr/FixInternalBuild

Fix Internal builds where ToolsDir doesn't exist

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

8 years agoFix Internal builds where ToolsDir doesn't exist
Jose Perez Rodriguez [Wed, 6 Apr 2016 21:01:41 +0000 (14:01 -0700)]
Fix Internal builds where ToolsDir doesn't exist

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

8 years agoMerge pull request dotnet/coreclr#4110 from kyulee1/testupdate
Kyungwoo Lee [Wed, 6 Apr 2016 20:54:59 +0000 (13:54 -0700)]
Merge pull request dotnet/coreclr#4110 from kyulee1/testupdate

ARM64: Test.lst update with the latest lab run

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

8 years agoMerge pull request dotnet/coreclr#4117 from LLITCHEV/Issue4115
Lubomir Litchev [Wed, 6 Apr 2016 20:53:37 +0000 (13:53 -0700)]
Merge pull request dotnet/coreclr#4117 from LLITCHEV/Issue4115

Fix for bad *nix optimization in CopyObj morphing.

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

8 years agoARM64: Test.lst update with the latest lab run
Kyungwoo Lee [Wed, 6 Apr 2016 16:23:31 +0000 (09:23 -0700)]
ARM64: Test.lst update with the latest lab run

Fixes https://github.com/dotnet/coreclr/issues/4028
Enabled a few more PASS tests as well based on the lab results.

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

8 years agoRestore CustomLauncher to Test Population
Kyungwoo Lee [Wed, 6 Apr 2016 16:43:40 +0000 (09:43 -0700)]
Restore CustomLauncher to Test Population

Fixes https://github.com/dotnet/coreclr/issues/4076.
Custom launcher is needed for CoreRT tests.

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

8 years agoMerge pull request dotnet/coreclr#4078 from joperezr/AddVersioningInOpenBuilds
Jose Perez Rodriguez [Wed, 6 Apr 2016 20:45:33 +0000 (13:45 -0700)]
Merge pull request dotnet/coreclr#4078 from joperezr/AddVersioningInOpenBuilds

Adding Common versioning to managed and Native components of coreclr

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

8 years agoMerge pull request dotnet/coreclr#3929 from papaslavik/arm_softfp
Bruce Forstall [Wed, 6 Apr 2016 20:38:05 +0000 (13:38 -0700)]
Merge pull request dotnet/coreclr#3929 from papaslavik/arm_softfp

Arm softfp For Issue dotnet/coreclr#3785

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

8 years agoAdding Common versioning to managed and Native components of coreclr
Jose Perez Rodriguez [Mon, 4 Apr 2016 23:59:41 +0000 (16:59 -0700)]
Adding Common versioning to managed and Native components of coreclr

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

8 years agoFix Current Culture to make it travel in async operations
Tarek mahmoud Sayed [Wed, 6 Apr 2016 20:22:16 +0000 (13:22 -0700)]
Fix Current Culture to make it travel in async operations

In Windows code we'll already having the current culture travel in
the async operation. this feature was missing in Linux code.

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

8 years agoMerge pull request dotnet/coreclr#4112 from steveharter/GlobalizationBufferO
Steve Harter [Wed, 6 Apr 2016 20:14:03 +0000 (15:14 -0500)]
Merge pull request dotnet/coreclr#4112 from steveharter/GlobalizationBufferO

Avoid debug assert on buffer overflow when obtaining invalid locale

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

8 years agoEnable execution of Perflab perf tests
Deepak Shankargouda [Wed, 6 Apr 2016 20:10:50 +0000 (13:10 -0700)]
Enable execution of Perflab perf tests

Added additional dependencies to the project.json for perflab projects that should enable generation of an assemblylist with all the packages required to execute the tests on the end machine

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

8 years agoMerge pull request dotnet/coreclr#3913 from wtgodbe/groovy
William Godbe [Wed, 6 Apr 2016 19:45:29 +0000 (12:45 -0700)]
Merge pull request dotnet/coreclr#3913 from wtgodbe/groovy

Various changes to the CI

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

8 years agoVarious changes to the CI
wtgodbe [Thu, 24 Mar 2016 20:23:56 +0000 (13:23 -0700)]
Various changes to the CI

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

8 years agoFix for bad *nix optimization in CopyObj morphing.
Lubomir Litchev [Wed, 6 Apr 2016 18:26:11 +0000 (11:26 -0700)]
Fix for bad *nix optimization in CopyObj morphing.

A bad optimization for*nix was introduced some time ago which is
incorrectly setting the type of a temp var created for spilling.
This cahne removes this optimization and uses the same code used for all
other OSs.

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

8 years agoMerge pull request dotnet/coreclr#4095 from BruceForstall/IgnoreBrowseVCdb2
Bruce Forstall [Wed, 6 Apr 2016 18:10:27 +0000 (11:10 -0700)]
Merge pull request dotnet/coreclr#4095 from BruceForstall/IgnoreBrowseVCdb2

Ignore browse.VC.db files from C/C++ extension for Visual Studio Code

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

8 years agoDisable MarshalStructAsLayoutSeq.sh outside of Windows
John Bottenberg [Wed, 6 Apr 2016 17:55:10 +0000 (10:55 -0700)]
Disable MarshalStructAsLayoutSeq.sh outside of Windows

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

8 years agoAvoid assert on buffer overflow
Steve Harter [Wed, 6 Apr 2016 17:11:21 +0000 (12:11 -0500)]
Avoid assert on buffer overflow

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

8 years agoFix a typo in a comment in SimplerHashTable.
Pat Gavlin [Fri, 1 Apr 2016 18:50:03 +0000 (11:50 -0700)]
Fix a typo in a comment in SimplerHashTable.

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

8 years agoReplace SimplerHash with SHash in the interpreter.
Pat Gavlin [Fri, 1 Apr 2016 18:46:15 +0000 (11:46 -0700)]
Replace SimplerHash with SHash in the interpreter.

This removes the only usage of SimplerHashTable outside of the JIT
and the GC info encoder.

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

8 years agoAdd JIT and GC info SimplerHashTable behaviors.
Pat Gavlin [Fri, 1 Apr 2016 00:23:30 +0000 (17:23 -0700)]
Add JIT and GC info SimplerHashTable behaviors.

These behaviors override the default out-of-memory handling
s.t. it is appropriate for the JIT.

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

8 years agoRemove non-portable dependencies from SimplerHash.
Pat Gavlin [Thu, 31 Mar 2016 22:59:27 +0000 (15:59 -0700)]
Remove non-portable dependencies from SimplerHash.

- Remove contracts. Pre- and post-conditions have been replaced
  with asserts.
- Hang the "no memory" callback off of Behavior instead of
  calling ThrowOutOfMemory directly
- Remove operator new overloads that defer to the global
  operator new.

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

8 years agoMerge pull request dotnet/coreclr#4089 from tijoytom/master
tijoytom [Wed, 6 Apr 2016 16:28:23 +0000 (09:28 -0700)]
Merge pull request dotnet/coreclr#4089 from tijoytom/master

Fixing tests for non-windows platform.

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

8 years agoAdd header file for the hosting API
Jan Vorlicek [Wed, 23 Mar 2016 17:01:31 +0000 (18:01 +0100)]
Add header file for the hosting API

Add the header file and also modify coreruncommon.cpp to use it.

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

8 years agoMerge remote-tracking branch 'upstream/master'
Mike McLaughlin [Wed, 6 Apr 2016 02:42:01 +0000 (19:42 -0700)]
Merge remote-tracking branch 'upstream/master'

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

8 years agoMerge pull request dotnet/coreclr#4057 from yizhang82/master
Yi Zhang (CLR) [Wed, 6 Apr 2016 02:05:49 +0000 (19:05 -0700)]
Merge pull request dotnet/coreclr#4057 from yizhang82/master

Fix NativeCallable test issue and make it work x-plat

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

8 years agoMerge pull request dotnet/coreclr#4092 from brianrob/function_symbols
Brian Robbins [Tue, 5 Apr 2016 22:35:52 +0000 (15:35 -0700)]
Merge pull request dotnet/coreclr#4092 from brianrob/function_symbols

Leave Function Name Symbols in Release Binaries For Linux

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

8 years agoMerge pull request dotnet/coreclr#4096 from kyulee1/xunit
Kyungwoo Lee [Tue, 5 Apr 2016 22:29:54 +0000 (15:29 -0700)]
Merge pull request dotnet/coreclr#4096 from kyulee1/xunit

Test Results Report to ARM64

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

8 years agoTest Results Report to ARM64
Kyungwoo Lee [Tue, 5 Apr 2016 22:27:17 +0000 (15:27 -0700)]
Test Results Report to ARM64

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

8 years agoAdd CoreDisTools header
Swaroop Sridhar [Wed, 23 Mar 2016 00:17:58 +0000 (17:17 -0700)]
Add CoreDisTools header

CoreCLR uses the CoreDisTools library for utilities like GCStress
and SuperPMI. To aid these utilities, this change adds the
CoreDisTools header to CoreCLR repository.

This cleans up duplication of type/enum definitions in CoreDisTools
and CoreCLR sources, and provides for a cleaner way to use the
interface.

The understanding here is that CoreCLR defines the required
CoreDisTools interface, and will publish the header into the
cmake-install directory.

Any repository can pick up this header and supply implementations
for the imported functions. [Currently the only implementation
is the one that uses LLVM disassembler in the LLILC tree].

Two other changes:
1) Define TypeDefs for exported function types in cordistools.h
   to avoid duplicating the signature in importing code.
2) Move to the libcoredistools version 1.0.1, and use the new
   interface in disassembler.cpp

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

8 years agoLeave function name symbols in binaries when stripping out debug information.
Brian Robbins [Tue, 5 Apr 2016 20:18:45 +0000 (13:18 -0700)]
Leave function name symbols in binaries when stripping out debug information.

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