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
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
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
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
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
Austin Wise [Sat, 4 Jun 2016 01:53:29 +0000 (18:53 -0700)]
Fix encoding of gccover.cpp. (dotnet/coreclr#5458)
This file fails to compile while under codepage 932 (Shift JIS).
This commits removes or replaces the offending chacters with ASCII.
Commit migrated from https://github.com/dotnet/coreclr/commit/
6da0e82b5578b70c81d5878bdb797ab75b469fe1
Xiangyang (Mark) Guo [Sat, 4 Jun 2016 01:51:17 +0000 (18:51 -0700)]
Added JIT_Stelem_Ref helper function for Linux (dotnet/coreclr#5390)
Commit migrated from https://github.com/dotnet/coreclr/commit/
c1c508157493c5ccef30285eaa65630254ddf479
Jarret Shook [Fri, 3 Jun 2016 23:36:17 +0000 (16:36 -0700)]
Use explicit calling convention for coredistools
coreclr is built with /Gz (stdcall), explicitly use __cdecl calling
convention for calling functions in coredistools
Commit migrated from https://github.com/dotnet/coreclr/commit/
7472134ee98b3efc0f3bb0d168419f3d66f977ae
Fadi Hanna [Fri, 3 Jun 2016 23:30:37 +0000 (16:30 -0700)]
Fix for issue dotnet/coreclr#5467: [R2R] InvalidCastException in timer tests. (dotnet/coreclr#5478)
We were not using the correct MethodTable pointer when constructing delegate objects to interface methods
Commit migrated from https://github.com/dotnet/coreclr/commit/
2507807811cf6a33a946c2382e6d56961e4bff74
Mike McLaughlin [Fri, 3 Jun 2016 21:15:43 +0000 (14:15 -0700)]
Limit exports on debugger modules. (dotnet/coreclr#5442)
Remove obsolete ExecuteAssembly hosting API from coreclr.
Needed to add palrt to dbi instead of trying to export from palrt.
Didn't end up adding the --no-allow-shlib-undefined linker option because Centos
and FreeBSD link with lots of undefined symbols from the C++ runtime libraries.
Commit migrated from https://github.com/dotnet/coreclr/commit/
0a4675b32fee372e458852ba3ec703d3abd89831
Aditya Mandaleeka [Fri, 3 Jun 2016 20:13:47 +0000 (13:13 -0700)]
Merge pull request dotnet/coreclr#5462 from pefoley2/uname_p
Properly handle uname -p output that contains spaces
Commit migrated from https://github.com/dotnet/coreclr/commit/
924b56813d3b1c7cde0c7ea9ea9d8d86370581e3
David Mason [Fri, 3 Jun 2016 19:02:29 +0000 (12:02 -0700)]
Merge pull request dotnet/coreclr#5247 from davmason/master
Enable managed heap dumps on Linux
Commit migrated from https://github.com/dotnet/coreclr/commit/
7d7e3c34c5ea4fdd79952a4be7a4b4d91b580cdb
David Mason [Fri, 3 Jun 2016 19:02:08 +0000 (12:02 -0700)]
Merge pull request dotnet/coreclr#5382 from davmason/filtering
Add filtering logic to XplatEventLogger
Commit migrated from https://github.com/dotnet/coreclr/commit/
5cdbe313f1f3b16c82952b58f66635e88430006c
Russ Keldorph [Fri, 3 Jun 2016 18:47:49 +0000 (11:47 -0700)]
Merge pull request dotnet/coreclr#5432 from RussKeldorph/fix5428
Remove unnecessary dependencies from JIT tests causing R2R failures
Commit migrated from https://github.com/dotnet/coreclr/commit/
23f07a5c76cca217d9b1e537e3090b65e9a19521
Fadi Hanna [Fri, 3 Jun 2016 18:29:54 +0000 (11:29 -0700)]
Fix failing tests on Ubuntu R2R configuration (dotnet/coreclr#5435)
Commit migrated from https://github.com/dotnet/coreclr/commit/
f555045fbdcd482070bf9a6945f7e14b5dae1b4e
John Chen [Fri, 3 Jun 2016 17:18:37 +0000 (10:18 -0700)]
Fix desktop NGen break caused by CoreCLR change, and add a missing contract
[tfs-changeset: 1610323]
Commit migrated from https://github.com/dotnet/coreclr/commit/
5f455600c0e0155d80bd814d4a60b44f6ac6bcbb
Matt Ellis [Fri, 3 Jun 2016 16:10:15 +0000 (09:10 -0700)]
Merge pull request dotnet/coreclr#5453 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
af37c3b7bf4160f4af0f517526e304bcba271bb5
Jose Perez Rodriguez [Fri, 3 Jun 2016 16:09:15 +0000 (09:09 -0700)]
Merge pull request dotnet/coreclr#5436 from joperezr/DisableNativeResourceCompileForManagedCode
Disabling NativeResourceCompile Target for Managed libraries
Commit migrated from https://github.com/dotnet/coreclr/commit/
9e08919cc925572f30dfc2e33a4e4c80252748b2
Peter Foley [Fri, 3 Jun 2016 15:11:59 +0000 (11:11 -0400)]
Properly handle uname -p output that contains spaces
e.g. Intel(R) Xeon(R) CPU E5-2603 0 @ 1.80GHz
Commit migrated from https://github.com/dotnet/coreclr/commit/
9efea10043f187cb66afe9d7efaf80b7b43384b9
mkborg [Fri, 3 Jun 2016 14:20:06 +0000 (18:20 +0400)]
Fix readytorun tests asking for user input (dotnet/coreclr#5459)
'readytorun/mainv1' and 'readytorun/mainv2' tests on Linux wait for human
response asking permission to remove write-protected file:
rm: remove write-protected regular file 'test.dll'?
'rm' command shall be used with '-f' flag to make it non-interactive.
Commit migrated from https://github.com/dotnet/coreclr/commit/
eff95d6573e851363480919b23dc3850aaca27e5
Jan Vorlicek [Fri, 3 Jun 2016 10:57:16 +0000 (12:57 +0200)]
Fix CFI annotation of AMD64 assembler helpers on Unix (dotnet/coreclr#5446)
This change fixes annotations of AMD64 assembler helpers on Unix. The helpers that
don't use RBP as a stack frame were missing setting the RSP as a CFA register and
unwinding through them was failing.
This was hit in R2R scenarios, with the DelayLoad_Helper_Obj not being unwindable.
Commit migrated from https://github.com/dotnet/coreclr/commit/
80835e869ac8987eba2ef03c70f570224af33331
John Chen [Fri, 3 Jun 2016 04:59:01 +0000 (21:59 -0700)]
Avoid calling prestub through wrong MethodDesc (dotnet/coreclr#5439)
While fixing up a call from a Ready-to-Run method, we don't always
have the right implementation MethodDesc for the target of the call.
Thus it is potentially unsafe to DoPrestub using the MethodDesc we have,
causing a test failue (Loader.classloader_regressions_429802_CMain)
in issue dotnet/coreclr#5366. This is fixed by not calling DoPrestub from
ExternalMethodFixupWorker.
Commit migrated from https://github.com/dotnet/coreclr/commit/
4e4cac8c302b0ab6709cdc2f737a0370ca5b0026
Alex Ghiondea [Fri, 3 Jun 2016 02:31:04 +0000 (19:31 -0700)]
Some types were only supposed to be present when FEATURE_COMINTEROP was set.
This change fixes that.
[tfs-changeset: 1610157]
Commit migrated from https://github.com/dotnet/coreclr/commit/
9804bd17ceb7c9c9e34f1091729f236f05ebc856
Geunsik Lim [Fri, 3 Jun 2016 01:43:31 +0000 (10:43 +0900)]
Linux/ARM: Support -O3 optimization level in release build (dotnet/coreclr#5396)
Currently, we can build coreclr with -O1 flag of clang in release
build mode for Linux/ARM. This instruction is to enable -O3 optimization
level of clang on ARM/Linux by fixing the bug of llvm.
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/
9efbb7a70061c7f68f1c1922daa3a0a7cc67f3b1
SaeHie Park [Fri, 3 Jun 2016 01:40:51 +0000 (10:40 +0900)]
ARM64/Linux: fix compile error 'cannot be narrowed to type int'
This fixes ARM64 Linux compilation error
```
src/vm/gccover.cpp:1219:14: error: case value evaluates to
3134983650, which cannot be narrowed to type 'int' [-Wc++11-narrowing]
case INTERRUPT_INSTR_PROTECT_RET:
^
src/vm/gccover.h:105:41: note: expanded from macro 'INTERRUPT_INSTR_PROTECT_RET'
```
Commit migrated from https://github.com/dotnet/coreclr/commit/
6f452d187df765f537195ec2de4aeff942cd6c26
Swaroop Sridhar [Fri, 3 Jun 2016 01:40:43 +0000 (18:40 -0700)]
Merge pull request dotnet/coreclr#5443 from swaroop-sridhar/CDTver
CoreDisTools Package: Make minor version generic
Commit migrated from https://github.com/dotnet/coreclr/commit/
7db46aa25015c9804ceecea72915bd24eb69a8cb
Andy Ayers [Fri, 3 Jun 2016 01:23:05 +0000 (18:23 -0700)]
Merge pull request dotnet/coreclr#5402 from AndyAyersMS/InlineAllowCpBlk
Inliner: enable inlining of methods with cpblk
Commit migrated from https://github.com/dotnet/coreclr/commit/
349eb35454ed774fadd11e1fb91b69f3fa3f1e3f
Sung-Jae Lee [Thu, 2 Jun 2016 23:59:49 +0000 (08:59 +0900)]
Fix wrong filename for case sensitive filesystem.
Commit migrated from https://github.com/dotnet/coreclr/commit/
f7ff1516d9a6f1fde65d9c777da028922722cb5d
Swaroop Sridhar [Thu, 2 Jun 2016 23:29:11 +0000 (16:29 -0700)]
CoreDisTools Package: Make minor version generic
Change the version requirement of CoreDisTools package
from 1.0.1-prerelease-00001 to 1.0.1-prerelease-*
so that the test infrastructure picks up the latest
available version.
If only the 1.0.1-prerelease-xxxxx number changes,
there is no change in the library API. There may be
a change in the implementation.
The current need for this change is that we need to pick up
a new version of the CoreDisTools package (with an
implementation fix) for X86 testing.
Commit migrated from https://github.com/dotnet/coreclr/commit/
385b282e79d186363d4ef58bbe7d5e4bf371a8d4
Alex Ghiondea [Thu, 2 Jun 2016 23:20:39 +0000 (16:20 -0700)]
Introduce additional types to the reference assembly for mscorlib and typeforwards for those type to the right assembly.
[tfs-changeset: 1610086]
Commit migrated from https://github.com/dotnet/coreclr/commit/
0cf1848d2cf3baa4631010fa9ad8b08731423749
Jarret Shook [Thu, 2 Jun 2016 22:39:43 +0000 (15:39 -0700)]
Merge pull request dotnet/coreclr#5433 from jashook/abs_single
Disable perf_codequality_math_functions
Commit migrated from https://github.com/dotnet/coreclr/commit/
a53a9eb2da782630f80e5f6afcf89c6cf5ea5ab5