Bruce Forstall [Fri, 8 Apr 2016 22:38:51 +0000 (15:38 -0700)]
Cleanup: be consistent about compCalleeFPRegsSavedMask #ifdefs
Commit migrated from https://github.com/dotnet/coreclr/commit/
b19a9c06b1613b5f6f7f0c31b643e4d8f6fbe624
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Bruce Forstall [Tue, 5 Apr 2016 20:09:07 +0000 (13:09 -0700)]
Merge pull request dotnet/coreclr#4019 from BruceForstall/Fix1977
Fix dotnet/coreclr#1977: always create RBP chains on Unix
Commit migrated from https://github.com/dotnet/coreclr/commit/
b54f7b545907b7b56a338a54d14b01dab937cfc1
Tijoy Tom Kalathiparambil [Tue, 5 Apr 2016 20:04:42 +0000 (13:04 -0700)]
Merge branch 'master' of https://github.com/dotnet/coreclr
Commit migrated from https://github.com/dotnet/coreclr/commit/
476dd472311aaeaef8b898e1971989c75f387fcd
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.
Commit migrated from https://github.com/dotnet/coreclr/commit/
c957dc17ff20cb3e3d14e84b1c62973598543104
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
Commit migrated from https://github.com/dotnet/coreclr/commit/
31fdbda8cbf395d21633d8c74444e94d38a17549
Bruce Forstall [Thu, 31 Mar 2016 04:43:57 +0000 (21:43 -0700)]
Fix dotnet/coreclr#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.
Commit migrated from https://github.com/dotnet/coreclr/commit/
a3f23bd7de3fd60b2a5bf2f56ba3c38a72c50435
Rahul Kumar [Tue, 5 Apr 2016 17:30:12 +0000 (10:30 -0700)]
Merge pull request dotnet/coreclr#4000 from rahku/issue2963
Fix issue 2963
Commit migrated from https://github.com/dotnet/coreclr/commit/
caa979f987c90be2075183a9a819ae110957a2ee
Rahul Kumar [Wed, 30 Mar 2016 18:16:53 +0000 (11:16 -0700)]
Fix issue 2963
Commit migrated from https://github.com/dotnet/coreclr/commit/
92598312071231d0fdc955e68a6fd6d1b1d38936
Jan Kotas [Tue, 5 Apr 2016 17:19:26 +0000 (07:19 -1000)]
Merge pull request dotnet/coreclr#4079 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
3ec0813880acbeff1a160662297ca5fb46e61742
Jan Kotas [Tue, 5 Apr 2016 17:18:43 +0000 (07:18 -1000)]
Merge pull request dotnet/coreclr#4084 from leemgs/upstream-awk-ver-handling-simple-way
Handle 'mscorwks_unixexports.src' with better regexp operator for compatibility
Commit migrated from https://github.com/dotnet/coreclr/commit/
9aa2b3b37756896dd02bcc733f0859bf87a5dd02
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.
Commit migrated from https://github.com/dotnet/coreclr/commit/
351c4c4c7a32197343501ffa466752b344af5539
tijoytom [Tue, 5 Apr 2016 16:29:41 +0000 (09:29 -0700)]
Merge pull request dotnet/coreclr#4077 from tijoytom/master
Disabling the object as variant in struct marshalling scenario
Commit migrated from https://github.com/dotnet/coreclr/commit/
39f37a525650c0f57163e7eaa42057491de576f7
Andrey Kvochko [Tue, 5 Apr 2016 15:10:02 +0000 (18:10 +0300)]
For Issue dotnet/coreclr#3785 Arm Soft FP support: arguments and return values are passed in integer registers for arm-softfp architecture.
Commit migrated from https://github.com/dotnet/coreclr/commit/
40fc77eb6e799ecb7afdaa912900f3463650781e
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>
Commit migrated from https://github.com/dotnet/coreclr/commit/
6d7701c198590f8d727f038e1ba40b1e57c95ef6
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
Commit migrated from https://github.com/dotnet/coreclr/commit/
200d2692eb9034e229176f13b5b287663cdb7bfd
Bruce Forstall [Tue, 5 Apr 2016 06:45:23 +0000 (23:45 -0700)]
Merge pull request dotnet/coreclr#4081 from BruceForstall/FixLinuxJitHalt
Fix COMPlus_JitHalt on Unix by not calling _DbgBreakCheck()
Commit migrated from https://github.com/dotnet/coreclr/commit/
0166b60325807abea17f3dd36ec729216ec7da81
Jan Kotas [Tue, 5 Apr 2016 06:13:57 +0000 (20:13 -1000)]
Merge pull request dotnet/coreclr#4080 from adityamandaleeka/fix_cmake_mismatch
Fix if/endif argument mismatch in CMake.
Commit migrated from https://github.com/dotnet/coreclr/commit/
cf08af80394fb5a555e43182699b52bdd4ce1b9f
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
Commit migrated from https://github.com/dotnet/coreclr/commit/
0f911d1c6c5b96a3a6704bc8b126547dc781c9c4
Sean Gillespie [Tue, 5 Apr 2016 03:02:33 +0000 (20:02 -0700)]
Merge pull request dotnet/coreclr#4069 from swgillespie/gc-test-fixups
Fix a number of tests that make invalid assumptions about object life…
Commit migrated from https://github.com/dotnet/coreclr/commit/
475f4479a092da692f711f78fda3ef4601aaa8de
Brian Sullivan [Tue, 5 Apr 2016 02:03:01 +0000 (19:03 -0700)]
Merge pull request dotnet/coreclr#4072 from briansull/safe-refactor
Safe refactoring changes and code cleanup items
Commit migrated from https://github.com/dotnet/coreclr/commit/
9128fbfdf573a11d7b22787c302f0a2ac434aa7d
Bruce Forstall [Tue, 5 Apr 2016 01:33:58 +0000 (18:33 -0700)]
Let COMPlus_JitHalt work on Unix by not calling _DbgBreakCheck()
Commit migrated from https://github.com/dotnet/coreclr/commit/
28f680a25f3c1b1fed05e73d99bfd360459c244b
Brian Sullivan [Mon, 4 Apr 2016 22:26:38 +0000 (15:26 -0700)]
Safe refactoring changes and code cleanup items
Fixed the dumper so that GT_LCL_VAR and GT_LCL_FLD use a common code path
and we now display (last use) correctly
Moved the checking for invalid GT_LISTs with an op1 arg of a GT_LIST from gtNewArgList to the constructor
and called IsListForMultiRegArg in the new assert
Renamed IsListofLclFlds to IsListForMultiRegArgs and added ARM64 support
Modifed the dump to display the GTF_MORPHED flag using a '+'
Fix dumper's gtGetLateArgMsg to display each register for a multireg struct passed using a GT_LIST
Modified the NYI_<target> macros to include the target in their message
Fixed the gtCosts for GT_LIST, GT_OBJ, GT_MKREFANY and GT_BOX nodes
When we construct a new GT_LCL_FLD, initialize the gtFieldSeq to NotAField rather than nullptr
Fix comment header for getStructGcPtrsFromOp
Removed the define on ARM64 that changed the asserts(p) macro to notYetImplemented
In NewPutArg renamed the "fp" argument to be called "info" instead
Commit migrated from https://github.com/dotnet/coreclr/commit/
4de1138be664fb43448b08149b5aab4eb720b7a9