MyungJoo Ham [Thu, 9 Jun 2016 08:40:18 +0000 (17:40 +0900)]
ARM/Linux Regression Fix of Exception Handling (dotnet/coreclr#5596)
This fixes the regression caused by
dotnet/coreclr@
594b424e1328135049cf0515bc5fc58b91f07e2a, which
intended to fix dotnet/coreclr#5358 while breaking many of
exception handling unit test cases.
The commit fixing dotnet/coreclr#5358 was an incorrect translation
of x86 assembly code.
Fix dotnet/coreclr#5595, dotnet/coreclr#5358.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
6287c789b95e5a32100e09d97c568363f4d2d791
Gaurav Khanna [Thu, 9 Jun 2016 04:02:03 +0000 (21:02 -0700)]
Merge pull request dotnet/coreclr#5624 from schellap/win8-arm-master
[master][port] Add win8-arm package for CoreCLR
Commit migrated from https://github.com/dotnet/coreclr/commit/
df990785c63cecc10ba042c3606fe69f955588dc
Aditya Mandaleeka [Thu, 9 Jun 2016 02:25:32 +0000 (19:25 -0700)]
Merge pull request dotnet/coreclr#5589 from adityamandaleeka/sleep_return_type_confusion
Fix confused uses of return value of InternalSleepEx.
Commit migrated from https://github.com/dotnet/coreclr/commit/
3bb83066239696956b0270c04425b4826c61c360
Jan Kotas [Thu, 9 Jun 2016 02:06:58 +0000 (19:06 -0700)]
Merge pull request dotnet/coreclr#3864 from mikedn/mdarray-init
Add support for multi-dimensional array initialization
Commit migrated from https://github.com/dotnet/coreclr/commit/
80762d6228e2abc0b9c0e498d57cbc2a46df9883
Brian Sullivan [Thu, 9 Jun 2016 02:06:42 +0000 (19:06 -0700)]
Merge pull request dotnet/coreclr#5622 from parjong/fix/issue_5620
Allows the use of IsHFA only when FEATURE_HFA is enabled
Commit migrated from https://github.com/dotnet/coreclr/commit/
1f8bfdabfdbcc6c18745f9aba2fbb6fe87082e48
Senthil [Thu, 9 Jun 2016 01:07:21 +0000 (18:07 -0700)]
Add win8-arm package for CoreCLR
Commit migrated from https://github.com/dotnet/coreclr/commit/
37a633134ef5d5c6ce42d94e1f15608d78f844b7
Rahul Kumar [Thu, 9 Jun 2016 01:02:41 +0000 (18:02 -0700)]
Merge pull request dotnet/coreclr#5618 from rahku/CiFix
Renable disabled arm64 R2R tests
Commit migrated from https://github.com/dotnet/coreclr/commit/
56c91483492b5280cb127aeeb2f63bcc32fbcaae
Sergiy Kuryata [Thu, 9 Jun 2016 00:10:39 +0000 (17:10 -0700)]
Merge pull request dotnet/coreclr#5607 from Maoni0/grow_card
need to account for server GC threads calling grow
Commit migrated from https://github.com/dotnet/coreclr/commit/
ce0fb2d01eaec8b082c3c71e1e19ffe3eaf44ed4
Jonghyun Park [Wed, 8 Jun 2016 23:56:44 +0000 (08:56 +0900)]
Allows the use of IsHFA only when FEATURE_HFA is enabled
Commit migrated from https://github.com/dotnet/coreclr/commit/
70778cc8890bfc0a044f7d461638ec9a47ced5ee
Jan Vorlicek [Wed, 8 Jun 2016 23:52:14 +0000 (01:52 +0200)]
Fix problem with virtual memory commit in OOM scenario on Linux (dotnet/coreclr#5609)
A stress tests have uncovered a mysterious issue with virtual memory committing on
Linux. During some stress tests, all of a sudden, segments of GC heap got unmapped
or virtual allocator has reserved a block of memory twice.
It turned out that the issue was caused by a strange behavior of mmap in the OOM case.
When we commit a subrange of previously reserved memory (reservation uses mmap with
PROT_NONE, commit uses mmap with PROT_READ | PROT_WRITE) and the mmap fails due to
OOM, it ends up leaving the whole range that was supposed to be committed completely
unmapped. A later attempt to reserve virtual memory finds this block as a free one
and happily reserves a block in it. But our VM allocator is not aware of this issue.
The fix is to use another way to commit pages in a reserved range - using mprotect
to change their protection from the initial PROT_NONE to PROT_READ | PROT_WRITE.
This way doesn't have the problem. I've verified that it works on OSX too, so
I am switching to that way unconditionally.
Decommit still uses mmap so that we don't have to keep track of dirty pages and
so that the pages are really returned to the system in decommit.
Commit migrated from https://github.com/dotnet/coreclr/commit/
227afb9da20a66791426e779959f86bed80f166a
Sergiy Kuryata [Wed, 8 Jun 2016 23:39:00 +0000 (16:39 -0700)]
Merge pull request dotnet/coreclr#5601 from Maoni0/av_fix_final
software ww fix
Commit migrated from https://github.com/dotnet/coreclr/commit/
efca8caa2abb8786fad9ca3df89a3a9b97ea20df
Rahul Kumar [Wed, 8 Jun 2016 22:36:17 +0000 (15:36 -0700)]
Renable disabled arm64 R2R tests
Commit migrated from https://github.com/dotnet/coreclr/commit/
c0fa9c6814f6b1d666a5b4790cf18220d981d493
Aditya Mandaleeka [Wed, 8 Jun 2016 21:59:21 +0000 (14:59 -0700)]
Merge pull request dotnet/coreclr#5614 from adityamandaleeka/debian_84_badges
Update Debian build status badges/links to 8.4
Commit migrated from https://github.com/dotnet/coreclr/commit/
d491d08d6abb4918ae4090957dfad30154d31b17
Deepak Shankargouda [Wed, 8 Jun 2016 21:39:31 +0000 (14:39 -0700)]
Fix error in RemoveDuplicateAssemblies task for perf (dotnet/coreclr#5605)
Commit migrated from https://github.com/dotnet/coreclr/commit/
0d03c10ac7ee1d129c4f07d211acf233c38a08cc
Aditya Mandaleeka [Wed, 8 Jun 2016 20:06:42 +0000 (13:06 -0700)]
Merge pull request dotnet/coreclr#5586 from adityamandaleeka/osx_strip_debug
Strip debugging symbol table entries on OS X Release builds
Commit migrated from https://github.com/dotnet/coreclr/commit/
fc8b0bf16beb0ef47f7f014b8f54556856fbf6ca
Mike Danes [Wed, 8 Jun 2016 19:24:39 +0000 (22:24 +0300)]
Switch to CORINFO_HELP_NEW_MDARR_NONVARARG
Commit migrated from https://github.com/dotnet/coreclr/commit/
00ebb38f0e553943f18585e14a65c8e475c1af7f
Maoni0 [Wed, 8 Jun 2016 19:22:46 +0000 (12:22 -0700)]
need to account for server GC threads calling grow
Commit migrated from https://github.com/dotnet/coreclr/commit/
c09881cd371c143bad7c406f62c34bd4b4f6e635
Kyungwoo Lee [Wed, 8 Jun 2016 18:39:03 +0000 (11:39 -0700)]
Merge pull request dotnet/coreclr#5604 from rahku/CiFix
temporarily disable R2R tests for arm64
Commit migrated from https://github.com/dotnet/coreclr/commit/
4ddb9f704404086024d106d9d0cb4098e942bf30
Mike Danes [Thu, 2 Jun 2016 04:38:46 +0000 (07:38 +0300)]
Address CR feedback
Commit migrated from https://github.com/dotnet/coreclr/commit/
e59999540b13544f6cc829cb2973bffbd3ff10a9
Rahul Kumar [Wed, 8 Jun 2016 17:35:04 +0000 (10:35 -0700)]
Merge pull request dotnet/coreclr#5495 from lemmaa/disable-nyi-features
[ARM64/Linux] Disable not yet implemented features.
Commit migrated from https://github.com/dotnet/coreclr/commit/
6df45c6686eb35c7d9b54442e892279043886023
Brian Sullivan [Wed, 8 Jun 2016 17:32:57 +0000 (10:32 -0700)]
Merge pull request dotnet/coreclr#5361 from wateret/fix-hfa-armsoftfp
[ARM/Linux] Fix arm-softfp calling convention
Commit migrated from https://github.com/dotnet/coreclr/commit/
e3fa3a0084bc8d977c194f57542ce3eba4479d2c
Rahul Kumar [Wed, 8 Jun 2016 17:16:51 +0000 (10:16 -0700)]
temporarily disable R2R tests for arm64
Commit migrated from https://github.com/dotnet/coreclr/commit/
8ae5a2a84e01c6d849ec114871f4638959d4441c
Mike Danes [Tue, 22 Mar 2016 21:14:38 +0000 (23:14 +0200)]
Add support for multi-dimensional array initialization
This extends impInitializeArrayIntrinsic to support MD arrays in addition to SD arrays. This includes support for SD arrays which are created via CORINFO_HELP_NEW_MDARR when the lower bound is not specified or known to be 0.
The generated code is similar to the code generated for the SD arrays, for example:
call CORINFO_HELP_NEW_MDARR
mov rdx, 0x202AB822050
lea rcx, bword ptr [rax+32]
vmovdqu ymm0, qword ptr [rdx]
vmovdqu qword ptr [rcx], ymm0
mov r8d, dword ptr [rdx+16]
mov dword ptr [rcx+16], r8d
Commit migrated from https://github.com/dotnet/coreclr/commit/
9c635bde59d979cd3359e5e12d743839481b38be
Carol Eidt [Wed, 8 Jun 2016 14:04:51 +0000 (07:04 -0700)]
Merge pull request dotnet/coreclr#5426 from CarolEidt/IsOne
Add methods to check for integer constants one and minus one
Commit migrated from https://github.com/dotnet/coreclr/commit/
3e3eac0e69b7c765121ed8317312005f9bcd85b7
Jan Kotas [Wed, 8 Jun 2016 07:26:47 +0000 (00:26 -0700)]
Merge pull request dotnet/coreclr#5597 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
77f7bbfd6203212c5cb5e232588ba8c528e70bf2
Geunsik Lim [Wed, 8 Jun 2016 07:25:58 +0000 (16:25 +0900)]
Linux/ARM: Revert -O1 to -O3 for Linux/ARM Release Build. (dotnet/coreclr#5598)
We have completed the bug fix of llvm in order to support thread-local
storage(TLS) via __thread variable with -O3 optimization level of clang.
Let's enable the -O3 optimization level of clange for release build
on Linux/ARM.
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
7a473533fb1d39c86a65f94f28f4794a10c4358a
Deepak Shankargouda [Wed, 8 Jun 2016 06:28:13 +0000 (23:28 -0700)]
Fixing perf runs on helix (dotnet/coreclr#5102)
* Fixing issue with perf targets restoring test runtime
* Fixing perf runs on helix
Commit migrated from https://github.com/dotnet/coreclr/commit/
c413a60a37aac18583a4c958726c7357184ffa66
Maoni0 [Wed, 8 Jun 2016 06:13:32 +0000 (23:13 -0700)]
software ww fix
Commit migrated from https://github.com/dotnet/coreclr/commit/
8e41205c131456216239aa9fd44f6b832b308463
Jan Kotas [Wed, 8 Jun 2016 05:27:15 +0000 (22:27 -0700)]
Merge pull request dotnet/coreclr#5587 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
4e89fc9c11bfe809f863ed7efb1e49312662416b
Gaurav Khanna [Wed, 8 Jun 2016 04:57:56 +0000 (21:57 -0700)]
Fix build issue buildstatus/Issues/Issues.aspx?iid=802303
Ready2Run opt-out should be under #ifdef since closed Arm64 build does not compile with Ready2Run enabled.
[tfs-changeset: 1611275]
Commit migrated from https://github.com/dotnet/coreclr/commit/
68a832da4d6baa09fa404f8b59ab75150fa7df9c
Andy Ayers [Wed, 8 Jun 2016 04:00:23 +0000 (21:00 -0700)]
Merge pull request dotnet/coreclr#5581 from AndyAyersMS/InlineReplayNoForceInline
Inliner: allow replay log to override force inlines
Commit migrated from https://github.com/dotnet/coreclr/commit/
83f8103da4b053b0fad9f1e79a6bc15cb9fa618a
Mike McLaughlin [Wed, 8 Jun 2016 03:39:31 +0000 (20:39 -0700)]
Fix backwards compatibility bug: RC2 dbgshim debugging RTM runtime (dotnet/coreclr#5593)
Commit migrated from https://github.com/dotnet/coreclr/commit/
83831c531d69fa2ac90d36b64f2f6e6f08897010
Brian Sullivan [Wed, 8 Jun 2016 01:51:00 +0000 (18:51 -0700)]
Merge pull request dotnet/coreclr#5543 from briansull/feature-x8-refbuf
ARM64: ABI - Support for using register x8 as the return buffer argument for structs
Commit migrated from https://github.com/dotnet/coreclr/commit/
e277764916cbb740db199132be81701593820bb0
Senthil [Wed, 8 Jun 2016 01:50:43 +0000 (18:50 -0700)]
Merge pull request dotnet/coreclr#5547 from schellap/master
Fix packaging attributes
Commit migrated from https://github.com/dotnet/coreclr/commit/
7b6762177c0d1595353550bf1eb00ba6bef230fb
Sung-Jae Lee [Wed, 8 Jun 2016 01:40:53 +0000 (10:40 +0900)]
Updates tryrun.cmake for ARM64 cross build (dotnet/coreclr#5406)
Commit migrated from https://github.com/dotnet/coreclr/commit/
bcab0c1c43ec6d3e221d8d27f8afd0bee362daf4
Sung-Jae Lee [Sat, 4 Jun 2016 16:19:56 +0000 (01:19 +0900)]
[ARM64/Linux] Disable not yet implemented features.
This patch temporary disables NYIs of SOS for ARM64 architecture.
Commit migrated from https://github.com/dotnet/coreclr/commit/
05ed7299e171a1f4b99e0350c963b6982920f6e0
Carol Eidt [Thu, 2 Jun 2016 21:01:38 +0000 (14:01 -0700)]
Methods to check for integer constants and zero
These are primarily motivated by simplifying the RyuJIT tutorial,
but also make the existing code a bit cleaner.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d72a4757de8ee44dae4f8ab1960771da4dd1fe85
Aditya Mandaleeka [Tue, 7 Jun 2016 23:47:22 +0000 (16:47 -0700)]
Fix confused uses of return value of InternalSleepEx.
Commit migrated from https://github.com/dotnet/coreclr/commit/
c679c1a0c1db27b7af92cc7994d411d67968d210
Sean Gillespie [Tue, 7 Jun 2016 23:33:37 +0000 (16:33 -0700)]
Merge pull request dotnet/coreclr#5534 from swgillespie/weak-reference-get-generation
Disable two tests that rely on an API not exposed on coreclr
Commit migrated from https://github.com/dotnet/coreclr/commit/
38a89155cb2c53a9603d2234731525abdd974014
Matt Ellis [Tue, 7 Jun 2016 23:06:37 +0000 (16:06 -0700)]
Merge pull request dotnet/coreclr#5573 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
6a2036480b80f4c934ca4c97cabb129c9e363dc1
Aditya Mandaleeka [Tue, 7 Jun 2016 23:01:32 +0000 (16:01 -0700)]
Strip debugging symbol table entries on OS X Release builds.
Commit migrated from https://github.com/dotnet/coreclr/commit/
8d9ebf6d7c34312100312e04a1ddfaf4012e94ff
Kyungwoo Lee [Tue, 7 Jun 2016 23:00:34 +0000 (16:00 -0700)]
Merge pull request dotnet/coreclr#5577 from kyulee1/r2rci
ARM64: Support R2R Private Run in CI
Commit migrated from https://github.com/dotnet/coreclr/commit/
1cfcee646fa488688c6894b53eb7d599596e9035
Brian Sullivan [Mon, 6 Jun 2016 23:25:26 +0000 (16:25 -0700)]
ARM64: ABI - Support for using register x8 as the return buffer argument for structs
This is feature complete and fixes dotnet/coreclr#4949 but is being checked in disabled as it has dependencies
on some additional work in the VM dotnet/coreclr#4950 (saving and restoring register x8 in thePrestub, etc..)
In target.h
Added defines on ARM64 for the additional argument register used to pass the return buffer
This is register x8 and when it used it is considered the 9th argiment with an arg num of 8 (zero based)
Added new method hasFixedRetBuffReg() that will return true on ARM64 (when this feature is fully enabled)
Added new method theFixedRetBuffReg() that returns register REG_R8 (x8) for ARM64
Added new method theFixedRetBuffArgNum that returns RET_BUFF_ARGNUM (8) for ARM64
Updated isValidIntArgReg to allow for a fixed return buff register
In codegencommon.cpp:
Increase the static size of regArgTab[] by one for the integer registers
This allows us to optionally support having a fixed return buffer registers
We now track the maximum index into regArgTab[] using argMax which is
either the old value of regState->rsCalleeRegArgCount or thefixedRetBufArgNum()
Corrected the emitAttr size value for 64-bit targets to use EA_PTRSIZE instead of EA_4BYTE
In codegeninterface.cpp: (and other places)
Renamed rsCalleeRegNum to be rsCalleeRegArgCount to better reflect what it represents
In compiler.hpp
Updated genMapIntRegArgNumToRegNum and genMapIntRegNumToRegArgNum to handle
the fixed return buffer register for ARM64
In lclvars.cpp
Updated lvaInitRetBuffArg to handle the fixed return buffer register for ARM64
In morph.cpp
Updated fgMorphArgs to properly handle the fixed return buffer register for ARM64
In regalloc.cpp
Updated the assert check raUpdateRegStateForArg to allow for the fixed return buffer register for ARM64
Updated with changes from code review feedback
Commit migrated from https://github.com/dotnet/coreclr/commit/
e7abaeb795a6ff8556b871822f7ec092eb50835c
Kyungwoo Lee [Tue, 7 Jun 2016 21:21:52 +0000 (14:21 -0700)]
ARM64: Support R2R Private Run in CI
Commit migrated from https://github.com/dotnet/coreclr/commit/
84b2acc78c87f4aff42accb6352db21a5f6b6924
William Godbe [Tue, 7 Jun 2016 22:41:24 +0000 (15:41 -0700)]
Merge pull request dotnet/coreclr#5574 from wtgodbe/debian
Update Debian 8.2 to 8.4 to match coreFX
Commit migrated from https://github.com/dotnet/coreclr/commit/
9607522a306d9e38a9da30e39ff268208c1e24dc
Senthil [Tue, 7 Jun 2016 00:45:12 +0000 (17:45 -0700)]
Fix project and release notes URL to 1.1.0
Commit migrated from https://github.com/dotnet/coreclr/commit/
96d3c3d5902645c57ac2698e3d497b76f0e1d1f2
Eric StJohn [Tue, 7 Jun 2016 22:15:40 +0000 (15:15 -0700)]
Merge pull request dotnet/coreclr#5576 from ericstj/serviceable
[master] Update buildtools to add Serviceable to nupkgs
Commit migrated from https://github.com/dotnet/coreclr/commit/
8b5805c32600fcba5d31e2085695caf48eed0e43
Andy Ayers [Tue, 7 Jun 2016 22:09:16 +0000 (15:09 -0700)]
Inliner: allow replay log to override force inlines
ReplayPolicy only impacts discretionary inlines, so could not control
force inline candidates. This has lead to some confusion during inline
studies.
Since most cases of force inline are performance related, allow replay
to override and control these force inline candidates.
This might be useful down the road to study how likely it is that a force
inline directive is either unnecessary or perhaps even detremental to
performance.
Commit migrated from https://github.com/dotnet/coreclr/commit/
3dec80f0a06a477b5e831b2944a86db43333e64a
Gaurav Khanna [Tue, 7 Jun 2016 21:41:53 +0000 (14:41 -0700)]
Update VS dependency details (dotnet/coreclr#5578)
Commit migrated from https://github.com/dotnet/coreclr/commit/
9afee7e1da3bb7004e19585fcf2d1f6465888ef8
Sean Gillespie [Mon, 6 Jun 2016 22:20:20 +0000 (15:20 -0700)]
Disable two tests that rely on an API not exposed on coreclr
Commit migrated from https://github.com/dotnet/coreclr/commit/
dec8ccdbc2a0398b5018baf1c4190d09723fd536
Eric St. John [Tue, 7 Jun 2016 21:18:50 +0000 (14:18 -0700)]
Update buildtools to add Serviceable to nupkgs
Commit migrated from https://github.com/dotnet/coreclr/commit/
f226ce04048294e08c45354262fde2400c151126
Alex Ghiondea [Tue, 7 Jun 2016 21:16:01 +0000 (14:16 -0700)]
Update the way the type forwarders are build to make sure they are correctly included in the build
[tfs-changeset: 1611158]
Commit migrated from https://github.com/dotnet/coreclr/commit/
c2c129972b978519fafba04f1a56db9f0eb3794a
wtgodbe [Tue, 7 Jun 2016 21:07:19 +0000 (14:07 -0700)]
Update Debian 8.2 to 8.4 to match coreFX
Commit migrated from https://github.com/dotnet/coreclr/commit/
cb5db094b89b2ff851d3b5140f15eff3bb2619fc
Jan Kotas [Tue, 7 Jun 2016 20:26:28 +0000 (13:26 -0700)]
Add back internal Array ctor
[tfs-changeset: 1611139]
Commit migrated from https://github.com/dotnet/coreclr/commit/
db2d12965f825bf852b1d4c3da56d605ea810aac
Carol Eidt [Tue, 7 Jun 2016 20:26:18 +0000 (13:26 -0700)]
Update first-class-structs.md
Add a link to Issue dotnet/coreclr#5556, and correct some formatting issues.
Commit migrated from https://github.com/dotnet/coreclr/commit/
af8079a67c2c83e5760402f6e87a232514a6061b
Pat Gavlin [Tue, 7 Jun 2016 17:35:51 +0000 (17:35 +0000)]
Merge pull request dotnet/coreclr#5525 from pgavlin/gh5484
Skip reloads and copies in `gcIsWriteBarrierCandidate`.
Commit migrated from https://github.com/dotnet/coreclr/commit/
99ae542eafab693351819de623e0618ad6e5ae94
Gaurav Khanna [Tue, 7 Jun 2016 17:28:16 +0000 (10:28 -0700)]
Merge pull request dotnet/coreclr#5554 from yizhang82/rtlzeromemory-fix
Use Ntdll!RtlZeroMemory instead of kernel32!RtlZeroMemory to support NanoServer
Commit migrated from https://github.com/dotnet/coreclr/commit/
7f4ab8b73c76968ae30c8a1c5b297c125a1a5274
William Godbe [Tue, 7 Jun 2016 17:23:05 +0000 (10:23 -0700)]
Merge pull request dotnet/coreclr#5533 from wtgodbe/groovyFXFix
Copy linux builds from the right place
Commit migrated from https://github.com/dotnet/coreclr/commit/
390999aa0bc0f32e1891832dfb8f97f635a71d00
Rahul Kumar [Tue, 7 Jun 2016 16:59:09 +0000 (09:59 -0700)]
Merge pull request dotnet/coreclr#5480 from rahku/arm64EnableR2R
ARM64: R2R - Implement CreateDictionaryLookupHelper stub
Commit migrated from https://github.com/dotnet/coreclr/commit/
5ee1bb4e8f89920b958c1e18bc0fde34ed7f4ca2
Fadi Hanna [Tue, 7 Jun 2016 16:32:01 +0000 (09:32 -0700)]
Fix for issue 3146: dotnet build is slower on Linux than Windows (dotnet/coreclr#5524)
Fixing the loader logic on Unix to mimic the behavior on Windows,
in order to be able to successfully load and use R2R images on
Unix where the file extension does not have the ".ni." portion.
Commit migrated from https://github.com/dotnet/coreclr/commit/
922cace885bfe24c18508747346e23ff7dc40d6c
James Ko [Tue, 7 Jun 2016 16:26:39 +0000 (12:26 -0400)]
Use cached empty arrays for "".ToCharArray (dotnet/coreclr#5504)
Commit migrated from https://github.com/dotnet/coreclr/commit/
8a8f26b883953e9278873bb3831e5415199c3755
Jan Kotas [Tue, 7 Jun 2016 16:26:19 +0000 (09:26 -0700)]
Update GC from CoreRT (dotnet/coreclr#5522)
https://github.com/dotnet/corert/tree/master/src/Native/gc dotnet/coreclr@
3bd148c2089a781458b99d787395377a25bd23d0
Commit migrated from https://github.com/dotnet/coreclr/commit/
372edb81017d314683a8bdbf44f9fb678e216726
papaslavik [Tue, 7 Jun 2016 16:25:58 +0000 (19:25 +0300)]
Delegate ABI Test (dotnet/coreclr#5507)
Detects issue dotnet/coreclr#5275
Commit migrated from https://github.com/dotnet/coreclr/commit/
0d5ef45c53c05b9d76c8cb7b7ab0cd303daf25e6
John Chen [Tue, 7 Jun 2016 16:10:24 +0000 (09:10 -0700)]
Merge pull request dotnet/coreclr#5539 from JohnChen0/r2r
Add config switch to selectively disable R2R images
Commit migrated from https://github.com/dotnet/coreclr/commit/
83e05d4a4498af5fe570cf7c1007ec12d7570951
Jiyoung Giuliana Yun [Tue, 7 Jun 2016 14:10:35 +0000 (23:10 +0900)]
Update wrong newline behavior for callipinvoke tests (dotnet/coreclr#5553)
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
1f80f46c1a7f26bdc11ef65bb98be208b05f20ac
Jonghyun Park [Tue, 7 Jun 2016 13:31:59 +0000 (22:31 +0900)]
Disable HeapDump on Linux if FEATURE_EVENT_TRACE is not set (dotnet/coreclr#5550)
This commit tries to disable heap dump on linux if FEATURE_EVENT_TRACE
is not set in order to fix dotnet/coreclr#5546.
Commit migrated from https://github.com/dotnet/coreclr/commit/
964f88941efa9fc765be9a3b5f1573b90c3f490d
Jan Vorlicek [Tue, 7 Jun 2016 05:52:50 +0000 (07:52 +0200)]
Fix GC references reporting in tailcalls with helpers on Windows (dotnet/coreclr#5538)
This change fixes a problem with reporting a range of exactly 3 continuous
GC references in tailcall with helper. The code was asserting in that case
in debug build and generating incorrect offsets in release build.
The problem was that the offset generation and assert was off by 1. It was
supposed to generate offset of the last reference in the range, but instead
generated offset after the last reference.
Commit migrated from https://github.com/dotnet/coreclr/commit/
f5d09cd7d82549b258f224c36a095d62e06e1228
Jan Kotas [Tue, 7 Jun 2016 05:47:18 +0000 (22:47 -0700)]
Merge pull request dotnet/coreclr#5545 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
d719bfbc83eee5ec0a974f83b82f3f92541a5ba5
Carol Eidt [Tue, 7 Jun 2016 05:15:36 +0000 (22:15 -0700)]
Merge pull request dotnet/coreclr#5528 from CarolEidt/IsLclVarUpdate
Factor out method to check for a lclVar update tree
Commit migrated from https://github.com/dotnet/coreclr/commit/
706b6f839ccca2fd4594e391080bcc3fc43a96c7
Yi Zhang [Tue, 7 Jun 2016 03:15:46 +0000 (20:15 -0700)]
Use Ntdll!RtlZeroMemory instead of kernel32!RtlZeroMemory to support Nano Server
Commit migrated from https://github.com/dotnet/coreclr/commit/
2a1187d9344639cc343d1e227ee03c6d1eb1e9ca
Aditya Mandaleeka [Tue, 7 Jun 2016 02:36:31 +0000 (19:36 -0700)]
Merge pull request dotnet/coreclr#5548 from adityamandaleeka/remove_mmap_ignores_hint
Remove MMAP_IGNORES_HINT
Commit migrated from https://github.com/dotnet/coreclr/commit/
190d55093006ebad06e1301923da272aeba73159
John Chen (CLR) [Mon, 6 Jun 2016 23:00:42 +0000 (16:00 -0700)]
Add config switch to selectively disable R2R images
New config switch ReadyToRunExcludeList can be used to specify a
list of assembly simple names (separated by ';') that cannot use
Ready to Run images.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b1e8dc77a742953f08e126d666315267e6964f3a
Carol Eidt [Mon, 6 Jun 2016 21:24:05 +0000 (14:24 -0700)]
Factor out method to check for a lclVar update tree
This is functionality currently incorporated in optIsLoopIncrTree(),
but which is also useful for the RyuJIT tutorial.
Commit migrated from https://github.com/dotnet/coreclr/commit/
be46c18bb176b255cd8d1e5496ebda8f8ba73ca7
Aditya Mandaleeka [Tue, 7 Jun 2016 01:09:21 +0000 (18:09 -0700)]
Remove MMAP_IGNORES_HINT.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b86bda495d633be7db7933fcbbfec363f50eade9
Alex Ghiondea [Tue, 7 Jun 2016 00:31:43 +0000 (17:31 -0700)]
Introduce explicity typeforwards to internal types that are needed by WinRT
GenFacades does not correcty create the type forwards for internal types even if there are internalsvisibleto attributes setup.
[tfs-changeset: 1610866]
Commit migrated from https://github.com/dotnet/coreclr/commit/
aaddd31045a909ff6283f38ef54249f481807332
Mike McLaughlin [Mon, 6 Jun 2016 23:14:07 +0000 (16:14 -0700)]
Fixed issue dotnet/coreclr#5391 "libsosplugin.so getting an RPATH of /usr/lib/llvm on RHEL" (dotnet/coreclr#5482)
Commit migrated from https://github.com/dotnet/coreclr/commit/
3a4711b18816c4acd526d63cc1690a5f87dd58a9
Rahul Kumar [Mon, 6 Jun 2016 22:29:46 +0000 (15:29 -0700)]
Merge pull request dotnet/coreclr#5452 from seanshpark/fixgccover
ARM64/Linux: fix compile error 'cannot be narrowed to type int'
Commit migrated from https://github.com/dotnet/coreclr/commit/
7b36de9ac7ab6801630ad6fa68ffc11a90626f81
wtgodbe [Mon, 6 Jun 2016 22:18:23 +0000 (15:18 -0700)]
Copy linux builds from the right place
Commit migrated from https://github.com/dotnet/coreclr/commit/
9c5c8914ed12abe5d0b2bf0c81df4938cd35c30f
Rahul Kumar [Fri, 3 Jun 2016 20:30:04 +0000 (13:30 -0700)]
ARM64: R2R - Implement CreateDictionaryLookupHelper stub
Commit migrated from https://github.com/dotnet/coreclr/commit/
20781b8511edaa0e5db9e59656dafe391199c626
Brian Robbins [Mon, 6 Jun 2016 22:01:49 +0000 (15:01 -0700)]
Merge pull request dotnet/coreclr#5529 from brianrob/spellcheck
Fix Incorrect URLs in Linux Tracing HOWTO
Commit migrated from https://github.com/dotnet/coreclr/commit/
6f1d6b8c9ac96582a8340416155583296d2b8740
Mike McLaughlin [Mon, 6 Jun 2016 21:55:30 +0000 (14:55 -0700)]
Add doc on how to building lldb for OS X. (dotnet/coreclr#5520)
Commit migrated from https://github.com/dotnet/coreclr/commit/
ab0f3e53f530fbdd8d4dcc7f674ded89b0e74d7a
Brian Robbins [Mon, 6 Jun 2016 21:50:11 +0000 (14:50 -0700)]
Fix incorrect URL.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b446cb5d4eccac9218570e0d068e4722dba14de1
Pat Gavlin [Mon, 6 Jun 2016 20:07:20 +0000 (13:07 -0700)]
Skip reloads and copies in `gcIsWriteBarrierCandidate`.
The change is actually in `gcWriteBarrierFormFromTargetAddress`. Because copies/reloads
may be placed inside of address-forming trees and because such operations are
transparent w.r.t. the GC-ness of their operand, these nodes should be skipped during
the check for write barriers.
Fixes dotnet/coreclr#5484.
Commit migrated from https://github.com/dotnet/coreclr/commit/
5632eaa8841c15865453cfa1acbdc58778926339
Pat Gavlin [Mon, 6 Jun 2016 20:29:54 +0000 (20:29 +0000)]
Merge pull request dotnet/coreclr#5513 from pgavlin/RemoveOldJITPackaging
Remove the deprecated JIT packaging tools.
Commit migrated from https://github.com/dotnet/coreclr/commit/
e5ee95e03050ea8f1259676db81e43d16913ef97
Pat Gavlin [Mon, 6 Jun 2016 20:28:47 +0000 (20:28 +0000)]
Merge pull request dotnet/coreclr#5512 from pgavlin/ToplevelPrereleaseLabel
Use top level PreReleaseLabel
Commit migrated from https://github.com/dotnet/coreclr/commit/
cc8831213d39450eceb7c4f51796dc305b1655b0
Brian Robbins [Mon, 6 Jun 2016 20:03:34 +0000 (13:03 -0700)]
Merge pull request dotnet/coreclr#5511 from brianrob/linuxperf
Add Performance Tracing Documentation for Windows and Linux
Commit migrated from https://github.com/dotnet/coreclr/commit/
86011d693a784a81f21b268ec625021b7d4f167d
Brian Robbins [Tue, 31 May 2016 21:59:47 +0000 (14:59 -0700)]
Add performance tracing documentation for Windows and Linux.
Commit migrated from https://github.com/dotnet/coreclr/commit/
9c2588aa20d952dcc4214d9245d7f841b896036c
Peter Jas [Mon, 6 Jun 2016 19:56:21 +0000 (22:56 +0300)]
Remove Mono section from OS X build docs (dotnet/coreclr#5499)
With some minor formatting changes.
Commit migrated from https://github.com/dotnet/coreclr/commit/
988100df51ad10884ef50f26c565771b4e9cf149
Rahul Kumar [Mon, 6 Jun 2016 17:49:58 +0000 (10:49 -0700)]
Merge pull request dotnet/coreclr#5448 from lemmaa/arm64-test-build-3
[ARM64/Linux] Fix wrong filename for case sensitive filesystem.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1cabb148cec4e72216c0701e4436acedd6ae6875
Pat Gavlin [Mon, 6 Jun 2016 15:58:39 +0000 (08:58 -0700)]
Remove the deprecated JIT packaging tools.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d86a3436f6a03b8c5e39b28c106aba765ac40a8f
Matt Ellis [Sun, 5 Jun 2016 08:38:54 +0000 (01:38 -0700)]
Use top level PreReleaseLabel
Some projects were overriding PreReleaseLabel instead of inheriting the
parent one in the top level dir.props. In addition, some projects had
the value set to 'rc4' instead of 'rc3'.
Clean this up so we always use the label in the root dir.props
Commit migrated from https://github.com/dotnet/coreclr/commit/
7e0579420a0c268e12c7004c116548eb26cc21aa
Sung-Jae Lee [Sun, 5 Jun 2016 15:01:58 +0000 (00:01 +0900)]
[ARM64/Linux] Fix 'error: 109 enumeration values not handled in switch' (dotnet/coreclr#5493)
This fixes ARM64 Linux compilation error
```
/home/sjlee/git/coreclr/src/jit/emit.h:988:61: error: 109 enumeration
values not handled in switch: 'IF_NONE', 'IF_LABEL', 'IF_EN9'...
[-Werror,-Wswitch]
```
Commit migrated from https://github.com/dotnet/coreclr/commit/
f620099b3fafff396ebd43ffc54407e2a34c56ac
Geunsik Lim [Sat, 4 Jun 2016 15:07:05 +0000 (00:07 +0900)]
Linux/ARM: Adding rpath for shared library of exception_handling.pal_sxs.test1 (dotnet/coreclr#5328)
Let's add the 'rpath' in order to fix error happened while
'paltest_pal_sxs_test1' (ELF) of PAL test is loading a shared library.
This 'rpath' statement is derived from the existing files such as
./ToolBox/SOS/Strike/CMakeLists.txt and dlls/mscordbi/CMakeLists.txt.
Ver2:
Apply 'rpath' in case of the Linux platform only
Ver1:
Let's add 'rpath' statement to the Linux platform environment
that we have experienced issue.
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
CC: Mike McLaughlin <mikem@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
5e9a125839fe9de8c26952680f77fb4c492f8159
Jan Vorlicek [Sat, 4 Jun 2016 08:26:48 +0000 (10:26 +0200)]
Fix allocation failure handling (dotnet/coreclr#5473)
While investigating OOM related issues, I have hit two places where we were
not handling correctly the case when memory allocation failed.
In the StackString::OpenStringBuffer, when the Resize failed to allocate
properly sized buffer, we were returning the small internal buffer instead
of NULL. So the caller expected that the full requested size was prepared
and filled it with data, overwriting memory.
In CorUnix::InternalMapViewOfFile, when we have failed to allocate the
PMAPPED_VIEW_LIST to hold information on the mapping, we have unmapped
the memory again, but we have still returned the address of the now
unmapped mapping. The caller, MapViewOfFileEx, then returned this
address to its caller, since it didn't expect the CorUnix::InternalMapViewOfFile
to set its output parameter in the case of failure.
Commit migrated from https://github.com/dotnet/coreclr/commit/
8b6d3715ae0c34e1c612186b587f88a88c38cbae
papaslavik [Sat, 4 Jun 2016 07:46:15 +0000 (10:46 +0300)]
Fix for dotnet/coreclr#5275 Delegate Invocation On ARM Soft FP (dotnet/coreclr#5362)
Commit migrated from https://github.com/dotnet/coreclr/commit/
ac82e4e439e94074b36df9aeeede2957824f9b0b
kingces95 [Sat, 4 Jun 2016 05:07:56 +0000 (22:07 -0700)]
Update new struct versioning rule (dotnet/coreclr#5429)
If I understand this document, any change to a struct that invalidates its layout in other versioning bubbles would be considered a breaking change. I believe this would include adding or removing a field or changing the type of a field in an internal struct if that struct is included as a (possible non-public) field in a public struct; just because a struct is internal doesn't mean it's not subject to the new versioning rule.
Commit migrated from https://github.com/dotnet/coreclr/commit/
ce99897cee0014833c2c472f00825d2db0f9605a
Jan Kotas [Sat, 4 Jun 2016 05:04:45 +0000 (22:04 -0700)]
Merge pull request dotnet/coreclr#5468 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
5fe63726631a7fb593ee7381583c1ab16e595044
John Chen [Sat, 4 Jun 2016 05:01:13 +0000 (22:01 -0700)]
Add more opcodes to x86 stack unwinder (dotnet/coreclr#5491)
Add x86 opcodes 0x01 and 0x03 (ADD instruction) to stack unwinder.
These instructions are generated by C++ compiler as part of the
JIT_StaticFieldAddress_Dynamic method, triggering issue dotnet/coreclr#5464.
Commit migrated from https://github.com/dotnet/coreclr/commit/
432c2fffd848e848f3cf81b897801c3eb84aa181
James Ko [Sat, 4 Jun 2016 04:59:49 +0000 (00:59 -0400)]
Remove all usages of CONTRACTS_FULL from mscorlib (dotnet/coreclr#5454)
* Remove CONTRACTS_FULL from Array
* Remove CONTRACTS_FULL from ArraySortHelper
* Remove CONTRACTS_FULL from ICollection
* Remove CONTRACTS_FULL from IDictionary
* Remove CONTRACTS_FULL from IEnumerable
* Remove CONTRACTS_FULL from IList
* Remove CONTRACTS_FULL from IReadOnlyCollection
* Remove CONTRACTS_FULL from IReadOnlyDictionary
* Remove CONTRACTS_FULL from IReadOnlyList
* Remove CONTRACTS_FULL from the nongeneric collections
* Remove CONTRACTS_FULL from IConvertible and IFormattable
* Remove CONTRACTS_FULL from System.IO
* Remove CONTRACTS_FULL from System.Reflection
Commit migrated from https://github.com/dotnet/coreclr/commit/
1fa75e7c5d56d481a2d0b8bc4fb3bdab8e6838d5
Jarret Shook [Sat, 4 Jun 2016 04:28:56 +0000 (21:28 -0700)]
Merge pull request dotnet/coreclr#5486 from jashook/x86_cc_fix
Use explicit calling convention for coredistools
Commit migrated from https://github.com/dotnet/coreclr/commit/
84c48256883f215d42de50a4e2d10b2204c755e0