platform/upstream/coreclr.git
8 years agoClean up JIT build rules
Bruce Forstall [Fri, 8 Apr 2016 18:29:56 +0000 (11:29 -0700)]
Clean up JIT build rules

Add SIMD files to x86 build (they aren't used, yet).

Separate out the LEGACY_BACKEND files, to be explicit about them.

Make protojit and standalone build rules more similar.

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'

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

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

Fix LPSTR test failure due to incorrect implementation of strncpy_s.

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

Windows specific Marshal APIs test.

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

Remove hardcoded versions from runtests.proj

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

Typo: incorrect pathname in documentation

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>
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.

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

Remove mscorlib 1.x strong references from tests

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

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

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

Delete junk attributes in tests

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.

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.

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

ARM64: Update email notification3 -- testing

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

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

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

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

Add documentation for CI Trigger Phrases

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

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

Updating Readme to point to .NET Core SDK

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

ARM64: Update email notification2

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.

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

Inliner: update DiscretionaryPolicy to look at opcodes and arg info

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.

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

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

ARM64: Update email notification

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

Remove non-portable dependencies from SimplerHashTable.

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.

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).

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

Add header file for the hosting API

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

ARM64: Add email notification for failing job

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

Trigger phrase currently has invalid regex

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

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.

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

ARM64: Launch test build and run in parallel

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

Remove UseRoslynCompiler variable from the build system

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

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

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

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

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.

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

Set DebugType to PdbOnly for rel-mode IL tests

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

Add CoreDisTools header

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 #4124.

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

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

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.

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

Restore CustomLauncher to Test Population

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

 Make current culture travel with async operations on Linux

8 years agoUpdating Readme to point to .NET Core SDK
Peter Marcu [Wed, 6 Apr 2016 22:40:37 +0000 (15:40 -0700)]
Updating Readme to point to .NET Core SDK

Updating the readme to point to the getting started page as well as the CLI repo for getting full stack builds of .NET Core and the SDK

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

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

Fix an issue where COREHOST_SERVER_GC and COREHOST_CONCURRENT_GC were…

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

Fix Internal builds where ToolsDir doesn't exist

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

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

ARM64: Test.lst update with the latest lab run

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

Fix for bad *nix optimization in CopyObj morphing.

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.

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.

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

Adding Common versioning to managed and Native components of coreclr

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

Arm softfp For Issue #3785

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

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.

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

Avoid debug assert on buffer overflow when obtaining invalid locale

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

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

Various changes to the CI

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

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.

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

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

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

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

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.

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.

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.

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.

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

Fixing tests for non-windows platform.

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.

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

Fix NativeCallable test issue and make it work x-plat

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

Leave Function Name Symbols in Release Binaries For Linux

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

Test Results Report to ARM64

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

8 years agoTell git to ignore browse.VC.db files from C/C++ extension for Visual Studio Code
Bruce Forstall [Tue, 5 Apr 2016 22:12:15 +0000 (15:12 -0700)]
Tell git to ignore browse.VC.db files from C/C++ extension for Visual Studio Code

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

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.

8 years agoMerge pull request #4019 from BruceForstall/Fix1977
Bruce Forstall [Tue, 5 Apr 2016 20:09:07 +0000 (13:09 -0700)]
Merge pull request #4019 from BruceForstall/Fix1977

Fix #1977: always create RBP chains on Unix

8 years agoMerge branch 'master' of https://github.com/dotnet/coreclr
Tijoy Tom Kalathiparambil [Tue, 5 Apr 2016 20:04:42 +0000 (13:04 -0700)]
Merge branch 'master' of https://github.com/dotnet/coreclr

8 years agoFixing test for non-windows platforms.
Tijoy Tom Kalathiparambil [Tue, 5 Apr 2016 19:58:58 +0000 (12:58 -0700)]
Fixing test for non-windows platforms.
Disable the failing scneario and file bug.

8 years agoFix an issue where COREHOST_SERVER_GC and COREHOST_CONCURRENT_GC were not respected...
Sean Gillespie [Tue, 5 Apr 2016 18:26:26 +0000 (11:26 -0700)]
Fix an issue where COREHOST_SERVER_GC and COREHOST_CONCURRENT_GC were not respected by corerun

8 years agoFix #1977: always create RBP chains on Unix
Bruce Forstall [Thu, 31 Mar 2016 04:43:57 +0000 (21:43 -0700)]
Fix #1977: always create RBP chains on Unix

The JIT will now always create RBP chains on Unix platforms. This includes in functions
the use localloc.

To do this, the VM is extended with a new Unix-only AMD64 unwind code: UWOP_SET_FPREG_LARGE.
The existing unwind code which is used to establish a frame pointer, UWOP_SET_FPREG, requires
that the frame pointer, when established, be no more than 240 bytes offset from the stack pointer.
This doesn't work well for frames that use localloc. (Large frames without localloc are ok,
because we don't report the frame pointer in the unwind info except for in functions with
localloc or EnC.)

The new unwind code has a 32-bit range. If used, UNWIND_INFO.FrameRegister
must be set to the frame pointer register, and UNWIND_INFO.FrameOffset must be set to 15
(its maximum value). This code is followed by two UNWIND_CODEs that are combined to form
its 32-bit offset. The high 4 bits must be zero. This offset is then scaled by 16. This
result is used as the FP register offset from SP at the time the frame pointer is established.

8 years agoMerge pull request #4000 from rahku/issue2963
Rahul Kumar [Tue, 5 Apr 2016 17:30:12 +0000 (10:30 -0700)]
Merge pull request #4000 from rahku/issue2963

Fix issue 2963

8 years agoFix issue 2963
Rahul Kumar [Wed, 30 Mar 2016 18:16:53 +0000 (11:16 -0700)]
Fix issue 2963

8 years agoMerge pull request #4079 from dotnet-bot/from-tfs
Jan Kotas [Tue, 5 Apr 2016 17:19:26 +0000 (07:19 -1000)]
Merge pull request #4079 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #4084 from leemgs/upstream-awk-ver-handling-simple-way
Jan Kotas [Tue, 5 Apr 2016 17:18:43 +0000 (07:18 -1000)]
Merge pull request #4084 from leemgs/upstream-awk-ver-handling-simple-way

Handle 'mscorwks_unixexports.src' with better regexp operator for compatibility

8 years agoRemove hardcoded versions from runtests.proj.
Davis Goodin [Thu, 10 Mar 2016 22:35:06 +0000 (16:35 -0600)]
Remove hardcoded versions from runtests.proj.

Put project.json for Xunit test wrappers in file system instead of generating. This lets dependency validation check the versions and reduces the number of project.json files to restore because all csproj's point to a single project.json and lockfile.

Adds XunitPackageVersion property that is used to always generate a valid project.json for xunit.runner.msbuild.

8 years agoMerge pull request #4077 from tijoytom/master
tijoytom [Tue, 5 Apr 2016 16:29:41 +0000 (09:29 -0700)]
Merge pull request #4077 from tijoytom/master

Disabling the object as variant in struct marshalling scenario

8 years agoFor Issue #3785 Arm Soft FP support: arguments and return values are passed in intege...
Andrey Kvochko [Tue, 5 Apr 2016 15:10:02 +0000 (18:10 +0300)]
For Issue #3785 Arm Soft FP support: arguments and return values are passed in integer registers for arm-softfp architecture.

8 years agoHandle mscorwks_unixexports.src with better regexp operator for compatibility
Geunsik Lim [Mon, 4 Apr 2016 10:35:06 +0000 (19:35 +0900)]
Handle mscorwks_unixexports.src with better regexp operator for compatibility

ver3:
According to the gawk manual, The '\S' operator (as shorthand for '[^[:space:]]')
matches any character that is not whitespace. However, '[ \t]' is better than
'\S' for Mac OSX.
(source - https://www.gnu.org/software/gawk/manual/html_node/GNU-Regexp-Operators.html )

ver2:
With ver1, the build-break is caused by different awk versions (by @jkotas).
(Revert PR - https://github.com/dotnet/coreclr/pull/4005)
To resolve the limitation of the ver1, @janvorli proposed that the
\S expression is better than [:space:] for the most compatible solution.

There are a lot of different AWK software (e.g. awk, gawk, mawk, nawk, etc)
and versions among the popular Linux distributions. This patch is a simply
way to handle 'mscorwks_unixexports.src' file with \S operator for more
compatibility amon the different awk versions.

ver1:
It's must be modified by gawk implementation that check it exactly
as a plain character (e.g., space, alnum) within the bracket expression
at ./coreclr/generateversionscript.awk. The [[:space:]] is more appropriate than
the [:space:]]. (PR - https://github.com/dotnet/coreclr/pull/3943)

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>
8 years agoAdd reference to CMakeLists.txt from NativeCallableTests.csproj correctly
Yi Zhang (CLR) [Tue, 5 Apr 2016 07:52:25 +0000 (00:52 -0700)]
Add reference to CMakeLists.txt from NativeCallableTests.csproj correctly
Also remove NativeCallable from testsUnsupportedOutsideWindows.txt

8 years agoMerge pull request #4081 from BruceForstall/FixLinuxJitHalt
Bruce Forstall [Tue, 5 Apr 2016 06:45:23 +0000 (23:45 -0700)]
Merge pull request #4081 from BruceForstall/FixLinuxJitHalt

Fix COMPlus_JitHalt on Unix by not calling _DbgBreakCheck()

8 years agoMerge pull request #4080 from adityamandaleeka/fix_cmake_mismatch
Jan Kotas [Tue, 5 Apr 2016 06:13:57 +0000 (20:13 -1000)]
Merge pull request #4080 from adityamandaleeka/fix_cmake_mismatch

Fix if/endif argument mismatch in CMake.

8 years agoFix NativeCallableTest to use custom DLL instead of EnumWindows Win32 API
Yi Zhang (CLR) [Sun, 3 Apr 2016 07:34:51 +0000 (00:34 -0700)]
Fix NativeCallableTest to use custom DLL instead of EnumWindows Win32 API

8 years agoMerge pull request #4069 from swgillespie/gc-test-fixups
Sean Gillespie [Tue, 5 Apr 2016 03:02:33 +0000 (20:02 -0700)]
Merge pull request #4069 from swgillespie/gc-test-fixups

Fix a number of tests that make invalid assumptions about object life…

8 years agoMerge pull request #4072 from briansull/safe-refactor
Brian Sullivan [Tue, 5 Apr 2016 02:03:01 +0000 (19:03 -0700)]
Merge pull request #4072 from briansull/safe-refactor

Safe refactoring changes and code cleanup items