Carol Eidt [Mon, 3 Oct 2016 23:12:46 +0000 (16:12 -0700)]
Allow GT_FIELD_LIST as legal arg for RyuJIT/x86
The condition in GenTree::IsValidCallArgument() was not correct for
GT_FIELD_LIST, which is used for passing a struct on the stack in
RyuJIT/x86.
Fix dotnet/coreclr#7460
Commit migrated from https://github.com/dotnet/coreclr/commit/
28c8f0adc1c3e97ad7b15fba02eaefdafc1d212c
Hugh Bellamy [Mon, 3 Oct 2016 19:49:59 +0000 (20:49 +0100)]
Add Math.Clamp overloads to mscorlib.cs (dotnet/coreclr#7462)
Commit migrated from https://github.com/dotnet/coreclr/commit/
30c766ffab686d5552d61ffb9c14968062839ce0
Gaurav Khanna [Mon, 3 Oct 2016 18:39:19 +0000 (11:39 -0700)]
Merge pull request dotnet/coreclr#7445 from dotnet-bot/master-UpdateDependencies
Update CoreClr to beta-24603-03 (master)
Commit migrated from https://github.com/dotnet/coreclr/commit/
523c5a5da81e53b2028aa4758e160cb07dd58c93
Dmitri-Botcharnikov [Mon, 3 Oct 2016 18:05:00 +0000 (22:05 +0400)]
[Linux] [SOS.NETCore] Quick fix for Path.GetFileName (dotnet/coreclr#7441)
* Quick fix for Path.GetFileName
* Updated after review
Commit migrated from https://github.com/dotnet/coreclr/commit/
b338a938ba689d763829f4d80d33bd805049166a
Igor Kulaychuk [Mon, 3 Oct 2016 18:04:05 +0000 (21:04 +0300)]
Fix DWARF linetable info provided by GDBJIT (dotnet/coreclr#7444)
Extend PC to the end of function in DWARF linetable commands.
This allows the debugger to show source lines for all addresses
inside a function.
Commit migrated from https://github.com/dotnet/coreclr/commit/
449feba048bc80faf999ad0e014497fde1d12e60
dotnet-bot [Mon, 3 Oct 2016 16:24:37 +0000 (16:24 +0000)]
Update CoreClr to beta-24603-03
Commit migrated from https://github.com/dotnet/coreclr/commit/
2bb391b4c6b15a2e7d0ca833c9d0f74e3d48ab23
Sean Gillespie [Sun, 2 Oct 2016 18:26:23 +0000 (11:26 -0700)]
Fix a bug where the DAC read four more bytes than necessary (dotnet/coreclr#7430)
to retrieve gcHeapType, which failed on crash dumps.
Commit migrated from https://github.com/dotnet/coreclr/commit/
89bf443d2787e1b4754718bf28e71da248ea7727
Koundinya Veluri [Sun, 2 Oct 2016 01:35:28 +0000 (18:35 -0700)]
Remove WaitHandleExtensions, as it is implemented in CoreFX (dotnet/coreclr#7431)
Commit migrated from https://github.com/dotnet/coreclr/commit/
64094911ff730f904fd4a70d59f2a64b9b6408c2
Vance Morrison [Sun, 2 Oct 2016 01:05:25 +0000 (18:05 -0700)]
Merge pull request dotnet/coreclr#7361 from vancem/MessageInLttng.9-26-16
Add the serialization of the Message field when writting LTTng events on Linux
Commit migrated from https://github.com/dotnet/coreclr/commit/
89ee0e4feb977719380e9ba119ee8909d0216056
Vance Morrison [Sun, 2 Oct 2016 01:02:39 +0000 (18:02 -0700)]
Merge pull request dotnet/coreclr#7359 from vancem/EventSOurceNullRefInLevelProperty.9-26-16
Fix Null Reference in accessing Level property in EventSource failure msgs
Commit migrated from https://github.com/dotnet/coreclr/commit/
01a031705e073c75bddbcb84aa8ea45a08a0f39f
Evgeny Pavlov [Sat, 1 Oct 2016 17:33:25 +0000 (20:33 +0300)]
Initial support of local variables and method arguments in GDB JIT interface (dotnet/coreclr#7400)
Commit migrated from https://github.com/dotnet/coreclr/commit/
569d72ead112ff9702c0c0babc2c01e945b6a51c
Gaurav Khanna [Sat, 1 Oct 2016 16:00:49 +0000 (09:00 -0700)]
Merge pull request dotnet/coreclr#7437 from dotnet-bot/master-UpdateDependencies
Update CoreClr, CoreFx to beta-24601-02, beta-24601-02, respectively (master)
Commit migrated from https://github.com/dotnet/coreclr/commit/
60d4c9781d487a34f4864023255c745768f50e98
dotnet-bot [Sat, 1 Oct 2016 08:12:29 +0000 (08:12 +0000)]
Update CoreClr, CoreFx to beta-24601-02, beta-24601-02, respectively
Commit migrated from https://github.com/dotnet/coreclr/commit/
a69a032793632a2273e696ea04607bbca9c317a8
Jan Kotas [Sat, 1 Oct 2016 04:26:31 +0000 (21:26 -0700)]
Merge pull request dotnet/coreclr#7433 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
b5c63e11cf39a7cedddb737dc60cf1fe975e1e26
Pat Gavlin [Sat, 1 Oct 2016 04:09:29 +0000 (21:09 -0700)]
Merge pull request dotnet/coreclr#7438 from pgavlin/gh7090
Properly initialize lvaTrackedVarSet.
Commit migrated from https://github.com/dotnet/coreclr/commit/
5a0e1faf5cd86363f42fe01f1b59994a15969280
Pat Gavlin [Sat, 1 Oct 2016 04:09:03 +0000 (21:09 -0700)]
Merge pull request dotnet/coreclr#7432 from pgavlin/gh6920
Call `gtEffectiveVal` in `gtWalkOp`.
Commit migrated from https://github.com/dotnet/coreclr/commit/
c5b3e5b27b3533a9bbebfec87cdefc011f7bd134
Rahul Kumar [Sat, 1 Oct 2016 00:41:44 +0000 (17:41 -0700)]
Merge pull request dotnet/coreclr#7388 from rahku/_appdomain
Expose AppDomain apis
Commit migrated from https://github.com/dotnet/coreclr/commit/
c8ddc6115eeb856a1f49dddd5869991a852195be
Pat Gavlin [Fri, 30 Sep 2016 23:27:30 +0000 (16:27 -0700)]
Properly initialize lvaTrackedVarSet.
The lack of initialization when `lvaCount == 0` was causing failures
under JITStressRegs=0x80. When this initialization is not performed,
it is initialized s.t. every bit is set, including bits that represent
non-existent lclVars. This caused LSRA to AV when attempting to access
the lclVar table using a lclNum derived from an iteration over
`lvaTrackedVarSet`.
Fixes dotnet/coreclr#7090.
Commit migrated from https://github.com/dotnet/coreclr/commit/
dc90d45180e75304bb5c0361e0f192d9a3bf5de9
Alex Perovich [Fri, 30 Sep 2016 22:54:59 +0000 (15:54 -0700)]
Port changes to UnmanagedMemoryStream from corefx (dotnet/coreclr#7418)
* Port changes to UnmanagedMemoryStream from corefx
dotnet/corefxdotnet/coreclr#12170
* Add PrepareConstrainedRegions
* Add Back Read<T> and Write<T> methods
* Replace MemoryCopy with Memcpy
Commit migrated from https://github.com/dotnet/coreclr/commit/
21c75bac8994d022d6f8a96193c3013de28c9c33
Rahul Kumar [Wed, 28 Sep 2016 00:55:09 +0000 (17:55 -0700)]
Expose AppDomain apis
Commit migrated from https://github.com/dotnet/coreclr/commit/
38adebccc7de7a2c4b7f78893544802c1c48ff29
Pat Gavlin [Fri, 30 Sep 2016 20:01:37 +0000 (13:01 -0700)]
Call `gtEffectiveVal` in `gtWalkOp`.
This function was using an ad-hoc, open-coded version of
`gtEffectiveVal` that was missing the effective value of `GT_NOP` nodes.
This change replaces these implementations with calls to
`gtEffectiveVal` and makes `gtEffectiveVal` non-recursive.
Fixes dotnet/coreclr#6920.
Commit migrated from https://github.com/dotnet/coreclr/commit/
70703f3b3eeb20ef20834b8887619b804fd576dd
Michelle McDaniel [Fri, 30 Sep 2016 19:46:51 +0000 (12:46 -0700)]
Merge pull request dotnet/coreclr#7428 from adiaaida/audit_flags
Copy GTF_ALL_EFFECTS to hiResult in decomp
Commit migrated from https://github.com/dotnet/coreclr/commit/
5fb3c61d74899b1eed6400a9bcefed6367385a73
Carol Eidt [Fri, 30 Sep 2016 18:59:23 +0000 (11:59 -0700)]
Merge pull request dotnet/coreclr#7427 from CarolEidt/Fix7197
Arm64 StoreBlk Lowering Fix
Commit migrated from https://github.com/dotnet/coreclr/commit/
eedb471e30c41741cb31fa544270e3285dc18e5c
Koundinya Veluri [Fri, 30 Sep 2016 18:46:58 +0000 (11:46 -0700)]
Merge pull request dotnet/coreclr#7365 from dotnet-bot/master-UpdateDependencies
Update CoreClr, CoreFx, External to beta-24529-03, beta-24530-02, beta-24523-00, respectively (master)
Commit migrated from https://github.com/dotnet/coreclr/commit/
d847dc22d79fe34f93229c678003ea43599606f1
Jarret Shook [Fri, 30 Sep 2016 17:20:16 +0000 (10:20 -0700)]
Merge pull request dotnet/coreclr#7429 from jashook/jit32_oss_devdiv255294
Exclude DevDiv_255294.cmd for jit32 due to timeout
Commit migrated from https://github.com/dotnet/coreclr/commit/
f922d8fd26fea9e91ac87ca959f40dbfa4f38e6d
Michelle McDaniel [Thu, 29 Sep 2016 17:02:31 +0000 (10:02 -0700)]
Copy GTF_ALL_EFFECTS to hiResult in decomp
We need to make sure that the hiResult in decompose gets the same effect
flags as the original tree. This change updates decompose methods to pass
those flags from the tree to the hiResult in the cases that they weren't
being passed before.
Commit migrated from https://github.com/dotnet/coreclr/commit/
4fbb98ee7dc7b231eb11aa5b0ac392b972aad6bc
jashook [Fri, 30 Sep 2016 16:35:40 +0000 (09:35 -0700)]
Exclude DevDiv_255294.cmd for jit32 due to timeout
Commit migrated from https://github.com/dotnet/coreclr/commit/
1bdf6ab04c09357e0c622a5f70ed93703ab9f460
dotnet-bot [Fri, 30 Sep 2016 14:50:36 +0000 (14:50 +0000)]
Update CoreClr, CoreFx, External to beta-24529-03, beta-24530-02, beta-24523-00, respectively
Commit migrated from https://github.com/dotnet/coreclr/commit/
b8133d196af327981f8e1cf5a39f5ca0fd410f98
RimashMohomed [Fri, 30 Sep 2016 13:21:36 +0000 (18:51 +0530)]
Explicitly specify feature test macro for glibc earlier than 2.19 (dotnet/coreclr#7397)
Commit migrated from https://github.com/dotnet/coreclr/commit/
e343abf4944ef18c90678a436e205e5ec00127d4
Carol Eidt [Fri, 30 Sep 2016 06:33:27 +0000 (23:33 -0700)]
Arm64 StoreBlk Lowering Fix
With the block assignment changes, the Arm64 version of
Lowering::TreeNodeInfoInitBlockStore was not using the correct node
for the source address.
Fix dotnet/coreclr#7197
Commit migrated from https://github.com/dotnet/coreclr/commit/
62f3b58c51b918d4345c32ba0d7c5947f41210f4
James Ko [Fri, 30 Sep 2016 04:47:41 +0000 (00:47 -0400)]
Fix change to GenericEqualityComparer.Equals from dotnet/coreclr#5804 (dotnet/coreclr#7419)
Commit migrated from https://github.com/dotnet/coreclr/commit/
37d0ac835c757266eb5224110f4914af987302dd
Tarek Mahmoud Sayed [Fri, 30 Sep 2016 01:50:46 +0000 (18:50 -0700)]
Merge pull request dotnet/coreclr#7420 from tarekgh/EnableCalendarsAPisOnLinux
Enable added Calendar APIS on Linux
Commit migrated from https://github.com/dotnet/coreclr/commit/
33ab6f738f580f87cda636d46f25e4d5f43c8ffd
Ian Hays [Fri, 30 Sep 2016 01:22:23 +0000 (18:22 -0700)]
Add missing System.IO APIs (dotnet/coreclr#7385)
This is the last chunk of APIs missing from System.IO that will be included in netstandard20 and that live in mscorlib.
Commit migrated from https://github.com/dotnet/coreclr/commit/
54a6801fd707935755cb83bc3cc4f9da1faa1ff7
Sivarv [Fri, 30 Sep 2016 01:00:12 +0000 (18:00 -0700)]
Merge pull request dotnet/coreclr#7407 from sivarv/simdOpt
Optimize codegen when SIMD (in)Equality that produces bool result is compared against true/false.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b3f150d9701812bd4089002e7f4b6a0a679675cb
Tarekm Mahmoud Sayed [Thu, 29 Sep 2016 23:48:47 +0000 (16:48 -0700)]
Enable added Calendar APIS on Linux
Commit migrated from https://github.com/dotnet/coreclr/commit/
a8468d2c9f70d211d8d05c66eaceb49adb699439
Carol Eidt [Thu, 29 Sep 2016 23:36:57 +0000 (16:36 -0700)]
Merge pull request dotnet/coreclr#7399 from CarolEidt/LinearCodegenRefactor
Refactor common codegen code
Commit migrated from https://github.com/dotnet/coreclr/commit/
89544de70145d43889b8b1de49cdda7ebadf0e9e
sivarv [Wed, 28 Sep 2016 23:29:14 +0000 (16:29 -0700)]
Optimize codegen when SIMD (in)Equality that produces bool result is compared against true/false.
Commit migrated from https://github.com/dotnet/coreclr/commit/
9efcc72485e2d9ede3234531600a0bd1a7fadebc
Adam Tornhill [Thu, 29 Sep 2016 16:50:44 +0000 (18:50 +0200)]
Correct preprocessor conditional termination in case BACKGROUND_GC is not defined. (dotnet/coreclr#7411)
This patch ensures that the code remains valid even when BACKGROUND_GC is not defined.
Before this patch, the endif that terminates the conditional compilation block
misses the terminating curly brace. That means there will be an extra, erroneous
closing brace the moment BACKGROUND_GC isn't defined.
Commit migrated from https://github.com/dotnet/coreclr/commit/
f93e169d61aec19ad2c0bd7630d4df4a1b9e4d24
Pat Gavlin [Thu, 29 Sep 2016 16:00:09 +0000 (09:00 -0700)]
Remove some unreachable code that was causing the ProjectK build to fail.
[tfs-changeset: 1630090]
Commit migrated from https://github.com/dotnet/coreclr/commit/
aa96008fc15b0bc3255280e8e908e1d9e34006bb
Jonghyun Park [Thu, 29 Sep 2016 07:53:15 +0000 (16:53 +0900)]
Set THUMB bit for RUNTIME_FIXUP_HELPER functions (dotnet/coreclr#7373)
* Appends THUMB bit for RUNTIME_FIXUP_HELPER address
* Revise GetEEFuncEntryPoint (for ARM) and use it to set thumb bit
* Uses GetEEFuncEntryPoint instead of GFN_TADDR
Commit migrated from https://github.com/dotnet/coreclr/commit/
74967f89e0f43e156cf23cd88840e1f0fc94f997
Mike McLaughlin [Thu, 29 Sep 2016 06:50:20 +0000 (23:50 -0700)]
Fix ifdefs used to select the symbol reader dll name (dotnet/coreclr#7406)
Commit migrated from https://github.com/dotnet/coreclr/commit/
8493c03a5f9e4d2aaf4e56e5c228642e221993bd
Carol Eidt [Wed, 28 Sep 2016 13:51:27 +0000 (06:51 -0700)]
Refactor common codegen code
Extract the main code generator loop, the register management methods, and some debug info code.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1ca7e90a6ce49ead99db6871189fedfb302facaa
Pat Gavlin [Thu, 29 Sep 2016 05:00:09 +0000 (22:00 -0700)]
Fix a typo in jit.settings.targets.
[tfs-changeset: 1630047]
Commit migrated from https://github.com/dotnet/coreclr/commit/
281c798a2b2ebf14c72789dfe1e70ba0c4f52ebe
Rama krishnan Raghupathy [Thu, 29 Sep 2016 04:07:29 +0000 (21:07 -0700)]
Merge pull request dotnet/coreclr#7404 from tarekgh/AddNormalizationToLinux
Add Normalization functionality to Linux
Commit migrated from https://github.com/dotnet/coreclr/commit/
0e2a160b704424b865229a95355ca54753fadf03
Peter Kukol [Thu, 29 Sep 2016 01:29:33 +0000 (18:29 -0700)]
Add option to measure time spent inside calls to the CLR. (dotnet/coreclr#7357)
* Add option to measure time spent inside calls to the CLR (off by default).
Commit migrated from https://github.com/dotnet/coreclr/commit/
f20f51697d2c61ce998ed7514a327e3c1e1936bc
Mike McLaughlin [Thu, 29 Sep 2016 00:21:01 +0000 (17:21 -0700)]
[tfs-changeset: 1629999]
Commit migrated from https://github.com/dotnet/coreclr/commit/
0a6f0b853b8f793de6c68949008b4fcfb37af248
Tarekm Mahmoud Sayed [Wed, 28 Sep 2016 22:44:28 +0000 (15:44 -0700)]
Add Normalization functionality to Linux
This functionality will be used in different places (e.g. string class)
Commit migrated from https://github.com/dotnet/coreclr/commit/
c65a1f972adee6ec6f848085ae00146e60a66cbb
Alex Perovich [Thu, 29 Sep 2016 00:04:55 +0000 (17:04 -0700)]
Expose required S.Resources members on corelib (dotnet/coreclr#7402)
Fixes dotnet/corefxdotnet/coreclr#12012
Commit migrated from https://github.com/dotnet/coreclr/commit/
0d46a91f2f48282fd004a35c8a28ddb24432237e
Pat Gavlin [Wed, 28 Sep 2016 23:58:03 +0000 (16:58 -0700)]
Merge pull request dotnet/coreclr#7368 from pgavlin/SideEffects
Fix lowering's containment analysis.
Commit migrated from https://github.com/dotnet/coreclr/commit/
e89d9f92815ec2a23f935633c80457d202c24ff1
Pat Gavlin [Fri, 23 Sep 2016 22:48:16 +0000 (15:48 -0700)]
Fix lowering's containment analysis.
This fixes a silent bad code generation issue that arose during internal
testing. The original repro is a test failure under COMPlus_JitStress=2.
Due to explicit null check insertion, we (eventually) end up with the
following LIR:
t6096 = lclVar ref V86 cse10 <l:$4ad, c:$1b5>
/--* t6096 ref
* st.lclVar ref V41 tmp29 d:26
t2733 = lclVar ref V41 tmp29 u:26 <l:$4ad, c:$1b5>
/--* t2733 ref
* nullcheck byte <l:$4b8, c:$58a>
t2736 = lclVar ref V41 tmp29 u:26 (last use) <l:$4ad, c:$1b5>
t2737 = const long 20 field offset Fseq[y] $107
/--* t2736 ref
+--* t2737 long
t2735 = * + byref <l:$2ad, c:$2ac>
t6081 = lclVar ref V83 cse7 <l:$4bd, c:$1b7>
/--* t6081 ref
* st.lclVar ref V41 tmp29 d:27
t2762 = lclVar ref V41 tmp29 u:27 <l:$4bd, c:$1b7>
/--* t2762 ref
* nullcheck byte <l:$583, c:$58f>
t2765 = lclVar ref V41 tmp29 u:27 (last use) <l:$4bd, c:$1b7>
t2766 = const long 20 field offset Fseq[y] $107
/--* t2765 ref
+--* t2766 long
t2764 = * + byref <l:$2af, c:$2ae>
/--* t2764 byref
t2763 = * indir int <l:$54e, c:$1ed>
t2767 = lclVar int (AX) V07 loc4 $1ee
/--* t2763 int
+--* t2767 int
t2738 = * + int <l:$554, c:$553>
/--* t2735 byref
+--* t2738 int
* storeIndir int
During lowering, we attempt to form an RMW add rooted at the final
storeIndir. The pattern matching that attempts to form RMW operations,
however, does not consider whether or not it is safe to perform the
code motion involved in making the destination and source addresses
for the operator contained. In this case, lowering moves the evaluation
of the address (i.e. the dataflow tree rooted at the add that produces
t2735) into the storeIndir. This moves a use of tmp29 across a def of
the same and causes the program to store a value to an incorrect
address.
There are many variations on this pattern. For example, given the
following C#:
static int T(C[] a, C c)
{
return a.Length != c.M() ? 100 : 0;
}
The evaluation of a.Length (including the necessary null check) should
occur before the call to c.M(). The lack of correct checks for safe
code motion that caused the original repro, however, cause the JIT to
generate bad code in this case as well: the null check for a is folded
into the load of a.Length, which is then made contained by the compare.
This results in the call to c.M() executing before the null check, which
causes the program to behave incorrectly in the case that a is null.
In order to fix the code motion analysis, this change introduces a new
type, `SideEffectSet`, that can be used to summarize the side effects
of a set of nodes and check whether or not they interfere with another
set of side effects. This change then uses the new type to ensure that
it is safe to perform the code motion necessary to make an operand
contained before doing so.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d857d37425eca004a5231fba5809c79d8566a008
Rama krishnan Raghupathy [Wed, 28 Sep 2016 22:56:39 +0000 (15:56 -0700)]
Merge pull request dotnet/coreclr#7403 from ramarag/addisvolatile
Adding back isVolatile to mscorlib facade as C# compiler uses it
Commit migrated from https://github.com/dotnet/coreclr/commit/
9124badef653096548fbb340d495316f95af8806
Rama Krishnan Raghupathy [Wed, 28 Sep 2016 22:06:03 +0000 (15:06 -0700)]
Adding back isVolatile to mscorlib facade as C# compiler uses it
Commit migrated from https://github.com/dotnet/coreclr/commit/
1a6b8b60d784bf1845d86eacfc04d8fc8da4954c
Jeremy Barton [Wed, 28 Sep 2016 20:55:51 +0000 (13:55 -0700)]
Merge pull request dotnet/coreclr#7356 from bartonjs/new_macos_gettingstarted
Fix stale OSX getting started to stop using `brew link`
Commit migrated from https://github.com/dotnet/coreclr/commit/
47cb433a8ff57d061e5a00d00ff15788531f41e5
Koundinya Veluri [Wed, 28 Sep 2016 19:19:08 +0000 (12:19 -0700)]
Merge pull request dotnet/coreclr#7392 from kouvel/TestFix
Work around issue in dotnet/coreclr#7365 by referencing System.Reflection.Extension…
Commit migrated from https://github.com/dotnet/coreclr/commit/
1e175ad198cd8032a7bdc76c6107627f7806bfc7
Mike McLaughlin [Wed, 28 Sep 2016 18:35:28 +0000 (11:35 -0700)]
Fix System.Diagnostics.StackTrace version in stack trace helper code (dotnet/coreclr#7395)
Issue dotnet/coreclr#7381
Commit migrated from https://github.com/dotnet/coreclr/commit/
d23c9d92598a17c190ac5ba7b0549f5f84c38883
Russ Keldorph [Wed, 28 Sep 2016 18:03:37 +0000 (11:03 -0700)]
Merge pull request dotnet/coreclr#7306 from hseok-oh/fix_6667_2
Fix 6667: Constant folding for unsigned long divide operation
Commit migrated from https://github.com/dotnet/coreclr/commit/
12227d468fb882982fd3e4df8d025bf1b337c2c0
Koundinya Veluri [Wed, 28 Sep 2016 05:52:01 +0000 (22:52 -0700)]
Work around issue in dotnet/coreclr#7365 by referencing System.Reflection.Extensions directly in some test projects
Commit migrated from https://github.com/dotnet/coreclr/commit/
b2f78a146c4d85328fe48d300bc9216b67d58bbe
Gaurav Khanna [Wed, 28 Sep 2016 04:29:34 +0000 (21:29 -0700)]
Merge pull request dotnet/coreclr#7379 from gkhanna79/SimplePkgVer
Centralize versioning and stabilization of nuget packages.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b21821c910395c35ff90f45850bb0085cad09a19
Jonghyun Park [Wed, 28 Sep 2016 03:46:16 +0000 (12:46 +0900)]
Invoke 'copy_test_native_bin_to_test_root' inside 'create_core_overlay' (dotnet/coreclr#5676)
This commit tries to fix dotnet/coreclr#5675.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b652f7a28324e54b6ca33fa7fb1fcaaa540b88bb
James Ko [Wed, 28 Sep 2016 03:45:33 +0000 (23:45 -0400)]
Specialize IndexOf, LastIndexOf for the enum equality comparers (dotnet/coreclr#5804)
Commit migrated from https://github.com/dotnet/coreclr/commit/
1eb2c3819c7e4942639f7eef31c604530f0b2e68
Sivarv [Tue, 27 Sep 2016 21:05:33 +0000 (14:05 -0700)]
Merge pull request dotnet/coreclr#7367 from sivarv/simdeq
Optimize SIMD codegen for (in)equality check against zero that produces bool result.
Commit migrated from https://github.com/dotnet/coreclr/commit/
f7b15f73ab734d43937a591dc58205d49913c346
Gaurav Khanna [Tue, 27 Sep 2016 20:29:35 +0000 (13:29 -0700)]
Centralize APISet and WinArm32 package versions as well.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1b3eead4d93412f90c4fc8568517f9ead67a73ab
Gaurav Khanna [Tue, 27 Sep 2016 18:32:36 +0000 (11:32 -0700)]
Centralize versioning and stabilization of nuget packages.
Commit migrated from https://github.com/dotnet/coreclr/commit/
21ff2ecb4ef0b5b3f3e17699a574b5170466920a
Sean Gillespie [Tue, 27 Sep 2016 18:07:13 +0000 (11:07 -0700)]
Move dlstack test exclusion to all configurations instead of (dotnet/coreclr#7364)
just ryujit/x86, since it fails in other configurations as well.
Commit migrated from https://github.com/dotnet/coreclr/commit/
ffeef85a626d7344fd3e2031f749c356db0628d3
sivarv [Tue, 27 Sep 2016 00:38:12 +0000 (17:38 -0700)]
Optimize SIMD codegen for (in)equality check against zero that produces bool result.
Commit migrated from https://github.com/dotnet/coreclr/commit/
6df96b9459955cd5096c219b89a789b6fd4182f5
Hyeongseok Oh [Tue, 27 Sep 2016 00:48:48 +0000 (09:48 +0900)]
remove comments
Commit migrated from https://github.com/dotnet/coreclr/commit/
d292971695636e9f55b0972a1ab900cd55d2ea7d
Mike McLaughlin [Mon, 26 Sep 2016 22:58:32 +0000 (15:58 -0700)]
Fix arm64 build issue dotnet/coreclr#7355. (dotnet/coreclr#7362)
Commit migrated from https://github.com/dotnet/coreclr/commit/
99063b3faf9653ab2433386b04caed5c13bca52c
Vance Morrison [Mon, 26 Sep 2016 21:40:59 +0000 (14:40 -0700)]
Fix build break.
Commit migrated from https://github.com/dotnet/coreclr/commit/
3f46513f30b13ffa36a1f63b7b44ef3847f0f7f3
Sean Gillespie [Mon, 26 Sep 2016 21:23:52 +0000 (14:23 -0700)]
Introduce "IGCToCLR" and use it within the GC to interface with the EE (dotnet/coreclr#7295)
* Introduce a feature define FEATURE_STANDALONE_GC that allows
the GC to communicate with the EE through a virtual interface.
* Split GCToEEInterface definition out of gc.h into its own header
* Address code review feedback
* Address code review feedback
Commit migrated from https://github.com/dotnet/coreclr/commit/
907f9ff11cdfdd2fa6f080708f59d874c1a9e03f
Vance Morrison [Thu, 15 Sep 2016 16:30:24 +0000 (09:30 -0700)]
Fix one more place where Writing EventSource messages did not initialize all meta-data properly
Commit migrated from https://github.com/dotnet/coreclr/commit/
aac3ddb44f26f5372be929cc3e8a249542fed505
Vance Morrison [Thu, 15 Sep 2016 15:37:03 +0000 (08:37 -0700)]
Fix for issue 6768 NullRef when access Level when there are EventSource messages.
See https://github.com/dotnet/coreclr/issues/6768 for mor details on the bug.
The issue is that EventSource is firing events (to report errors) before the EventSource
is completely initialized. We dealt with many of the issues associated with this but
not all of them. This change makes these special eventSource events (with ID of 0
take the same codepath as for TraceLogging events (with negative IDs) when the
EventWrittenArgs properies are accessed.
Commit migrated from https://github.com/dotnet/coreclr/commit/
c728f1faf06b5d77bd185f81939c55c1c0358ede
Vance Morrison [Mon, 26 Sep 2016 18:49:28 +0000 (11:49 -0700)]
Add the serialization of the Message field when writting LTTng events on Linux.
Commit migrated from https://github.com/dotnet/coreclr/commit/
408aaf09accf61b8ffe6d5dee5e768f5b9b6245a
bartonjs [Mon, 26 Sep 2016 16:39:58 +0000 (09:39 -0700)]
Fix stale OSX getting started to stop using `brew link`
Even with --force the `brew link` command will not link openssl any longer.
This updates the instructions to provide a less invasive version of what we
needed `brew link` to do: make the runtime versioned ABI resolvable, and make
the header files discoverable (via pkg-config).
Commit migrated from https://github.com/dotnet/coreclr/commit/
3acc1bf985e7bf4c038df1c68ac5c941954eafca
Jonghyun Park [Mon, 26 Sep 2016 10:58:35 +0000 (19:58 +0900)]
Check PAL first, and then Windows Phone (dotnet/coreclr#7354)
Commit migrated from https://github.com/dotnet/coreclr/commit/
712cdd405e9aac7fc6806814a2fddd976e84d9df
Dan Moseley [Mon, 26 Sep 2016 03:32:11 +0000 (20:32 -0700)]
Add missing System.Security ns types. (dotnet/coreclr#7352)
Commit migrated from https://github.com/dotnet/coreclr/commit/
ee36d7fbc74d516a30c1969934af5afb7ba5c76d
Dan Moseley [Sun, 25 Sep 2016 14:04:40 +0000 (07:04 -0700)]
Add the IsSecurityXX properties omitted from Type base class (dotnet/coreclr#7349)
Commit migrated from https://github.com/dotnet/coreclr/commit/
85391f2a227d99084656a7016a29bfb2664923b5
Hugh Bellamy [Sun, 25 Sep 2016 14:03:40 +0000 (15:03 +0100)]
Add Math.Clamp methods (dotnet/coreclr#7242)
Commit migrated from https://github.com/dotnet/coreclr/commit/
fe98399f713edd0fbbe0ac431b2b8816c37b566c
James Ko [Sun, 25 Sep 2016 03:11:10 +0000 (23:11 -0400)]
Micro-optimization for IList.Contains array implementation (dotnet/coreclr#7347)
Commit migrated from https://github.com/dotnet/coreclr/commit/
4c29020751a11dacc15e8bfd95b6bc0f7103e272
Rama krishnan Raghupathy [Sat, 24 Sep 2016 00:51:45 +0000 (17:51 -0700)]
Merge pull request dotnet/coreclr#7328 from ramarag/removemarkers
Adding MemoryFailPoint and Removing some markers
Commit migrated from https://github.com/dotnet/coreclr/commit/
a116cd877b35df9228d860afa7c7d27d5ba2c897
Tarek Mahmoud Sayed [Sat, 24 Sep 2016 00:48:50 +0000 (17:48 -0700)]
Merge pull request dotnet/coreclr#7337 from tarekgh/FixCollationNames
Fix the Collation name returned from CompareInfo.Name and TextInfo.Name
Commit migrated from https://github.com/dotnet/coreclr/commit/
e784a761c9b4a95322f38ee47aab51105bfe27c9
Mike McLaughlin [Sat, 24 Sep 2016 00:39:43 +0000 (17:39 -0700)]
Remove CoreCLR's dependency on the diasymreader.dll installed as part of the full .NET Framework on Desktop (dotnet/coreclr#7336)
* Remove CoreCLR's dependency on the diasymreader.dll installed as part of the full .NET Framework on Desktop
Issue dotnet/coreclr#5922
* Code review feedback.
Commit migrated from https://github.com/dotnet/coreclr/commit/
10b964f1beab13479c223f594cdd55a6e583eb3e
Joseph Tremoulet [Fri, 23 Sep 2016 23:55:48 +0000 (19:55 -0400)]
Merge pull request dotnet/coreclr#7332 from JosephTremoulet/InlineVolatile
Allow inlining with volatile actual argument exprs
Commit migrated from https://github.com/dotnet/coreclr/commit/
ecb241f8d30b3251ca8f8e267d17f7fe36224b8f
Tarekm Mahmoud Sayed [Fri, 23 Sep 2016 22:05:27 +0000 (15:05 -0700)]
Fix the Collation name returned from CompareInfo.Name and TextInfo.Name
this was a regression dotnet/coreclr#7004 and caused the issue dotnet/coreclr#1139
Commit migrated from https://github.com/dotnet/coreclr/commit/
bf338dbe6cc7aafae4492668985a44d1a8693dac
Rama Krishnan Raghupathy [Thu, 22 Sep 2016 21:50:03 +0000 (14:50 -0700)]
Adding MemoryFailPoint Removing some markers
Commit migrated from https://github.com/dotnet/coreclr/commit/
d973d04a9295b06723ab1e5d4fcd81525417800e
Xiangyang (Mark) Guo [Fri, 23 Sep 2016 19:33:36 +0000 (12:33 -0700)]
update JIT_MemSet/MemCpy, Buffer::BlockCopy and Buffer::InternalBlock… (dotnet/coreclr#7198)
* update JIT_MemSet/MemCpy, Buffer::BlockCopy and Buffer::InternalBlockCopy
* add header comments
Commit migrated from https://github.com/dotnet/coreclr/commit/
3bfe9a089128e11494a09b959000f99e0010adad
Jeremy Kuhne [Fri, 23 Sep 2016 19:10:57 +0000 (12:10 -0700)]
Merge pull request dotnet/coreclr#7327 from JeremyKuhne/fixshortpath
Fix 8.3 UNC expansion
Commit migrated from https://github.com/dotnet/coreclr/commit/
14c7d9ba8056a3673a7a5b09f3e11d87f2dbb4fc
Sivarv [Fri, 23 Sep 2016 19:07:48 +0000 (12:07 -0700)]
Merge pull request dotnet/coreclr#7329 from sivarv/SimdGetItemFix
Optimize codegen for SIMDIntrinsicGetItem when SIMD vector is a memory-op.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1e155e38051b66c0c4f76728aa849a473311cd03
sivarv [Thu, 22 Sep 2016 23:19:08 +0000 (16:19 -0700)]
Optimize codegen for SIMDIntrinsicGetItem when SIMD vector is a memory-op.
Commit migrated from https://github.com/dotnet/coreclr/commit/
13fefb339898648c5dc3cf668f7757f563cb2ce4
Joseph Tremoulet [Thu, 15 Sep 2016 17:59:09 +0000 (13:59 -0400)]
Remove vestigial assertions
The inliner used to have its own import path, which required calling
special inline versions of the spill helpers; these asserts were intended
to ensure that these regular spill helpers are not invoked during inlining,
which they do by asserting against `fgGlobalMorph`, since that flag was set
during inlining in the old code. The inliner has since been updated to
re-use the main import code, and also to run when `fgGlobalMorph` is not
set anyway. So these helpers currently run successfully during inlining,
despite the stale comment; remove the bogus assertions.
Commit migrated from https://github.com/dotnet/coreclr/commit/
922551b8bffd655dd3661872f300253c51a6f28c
Joseph Tremoulet [Thu, 15 Sep 2016 17:55:29 +0000 (13:55 -0400)]
Allow inlining with volatile actual argument exprs
When presented with an argument marked `GFT_ORDER_SIDEEFF`, mark the
argument `argHasSideEff` and allow inlining. Remove the vestigial code to
disallow inlining in these cases; it corresponded to a prior inliner
implementation with a different import path that has since been removed;
the inliner now re-uses the main import path, which can handle the
necessary stack spilling in the presence of `GTF_ORDER_SIDEEFF`.
Fixes dotnet/coreclr#7054.
Commit migrated from https://github.com/dotnet/coreclr/commit/
8d42d9f12e12a107360463d6d5b22630f079c948
Jarret Shook [Fri, 23 Sep 2016 14:16:09 +0000 (07:16 -0700)]
Remove the dependency of using config.json in cwd (dotnet/coreclr#7330)
Currently the config.json file is looked for in the current working
directory. This change forces run.exe to use the relative path of
the file relative to the build script.
Commit migrated from https://github.com/dotnet/coreclr/commit/
5e78b50f3de5c99f469f679ad11d794526d6cd8f
Koundinya Veluri [Fri, 23 Sep 2016 02:10:23 +0000 (19:10 -0700)]
Expose some types/members (dotnet/coreclr#7320)
* Expose some types/members
Expose some types/members needed for dotnet/corefxdotnet/coreclr#11631, dotnet/corefxdotnet/coreclr#11729, and dotnet/corefxdotnet/coreclr#11231
Commit migrated from https://github.com/dotnet/coreclr/commit/
43efdc69a104d8dbfbe48177dd4a03ea30b0bdfd
Peter Kukol [Fri, 23 Sep 2016 00:26:08 +0000 (17:26 -0700)]
Split MORPH into multiple phases. (dotnet/coreclr#7314)
* Split MORPH into multiple phases.
Commit migrated from https://github.com/dotnet/coreclr/commit/
9811c769c00542f5e919deaab153d45e951c96d3
Tarek Mahmoud Sayed [Fri, 23 Sep 2016 00:09:14 +0000 (17:09 -0700)]
Merge pull request dotnet/coreclr#7325 from tarekgh/AddStringInfoMethods
Add the needed StringInfo methods to Linux implementation
Commit migrated from https://github.com/dotnet/coreclr/commit/
18739447f026225f99399f9eabeda6ccb4551462
Jeremy Kuhne [Thu, 22 Sep 2016 23:08:34 +0000 (16:08 -0700)]
Fix 8.3 UNC expansion
This ports the fix from
https://github.com/dotnet/corefx/pull/11984
Commit migrated from https://github.com/dotnet/coreclr/commit/
7ddca2fb1950202fa23ff6b7fd5fb05a93a9a911
Tarekm Mahmoud Sayed [Thu, 22 Sep 2016 21:06:44 +0000 (14:06 -0700)]
Add the needed StringInfo methods to Linux implementation
Commit migrated from https://github.com/dotnet/coreclr/commit/
c1ea5eaf0c9bae9a119816bcc32fc5decb5b35b8
Carol Eidt [Thu, 22 Sep 2016 20:58:55 +0000 (13:58 -0700)]
Merge pull request dotnet/coreclr#7303 from CarolEidt/Fix7195
DynBlk assert fixes for Arm64
Commit migrated from https://github.com/dotnet/coreclr/commit/
4d35bb6bc8644f54055ef41f4a65fef8c633e576
Stephen Toub [Thu, 22 Sep 2016 20:56:41 +0000 (13:56 -0700)]
Add System.Reflection.Pointer deserialization ctor to model.xml (dotnet/coreclr#7322)
Commit migrated from https://github.com/dotnet/coreclr/commit/
698c8ba3dda4ad0d112601c650ce5bca26151aab
Jan Kotas [Thu, 22 Sep 2016 20:56:16 +0000 (13:56 -0700)]
Merge pull request dotnet/coreclr#7318 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
032ef20765a2a2aefe74049663f1387cb6ed1089
Mike McLaughlin [Thu, 22 Sep 2016 20:51:13 +0000 (13:51 -0700)]
Fix Unable to step through Visual Studio remote debugger with coreclr executables on Nano Server (dotnet/coreclr#7317)
Needed to add back a dummy version of ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly interface so
VS doesn't get the QI failure and stop working by not calling the "Continue" method.
Issue dotnet/coreclr#7316
Commit migrated from https://github.com/dotnet/coreclr/commit/
5df288ed77b004708babe296d96412e3bdb13bed