platform/upstream/dotnet/runtime.git
7 years agoRemove disabled FEATURE_NORM_IDNA_ONLY
danmosemsft [Mon, 23 Jan 2017 17:59:09 +0000 (09:59 -0800)]
Remove disabled FEATURE_NORM_IDNA_ONLY

Commit migrated from https://github.com/dotnet/coreclr/commit/c54bd618d0c3415facef49b25913f3747af4c258

7 years agoRemove disabled FEATURE_METHOD_RENTAL
danmosemsft [Mon, 23 Jan 2017 17:57:57 +0000 (09:57 -0800)]
Remove disabled FEATURE_METHOD_RENTAL

Commit migrated from https://github.com/dotnet/coreclr/commit/9aecd9e5cbd057ad45244f6d0de0f2c1b7f49d2d

7 years agoRemove disabled FEATURE_LINK_DEMAND
danmosemsft [Mon, 23 Jan 2017 17:56:51 +0000 (09:56 -0800)]
Remove disabled FEATURE_LINK_DEMAND

Commit migrated from https://github.com/dotnet/coreclr/commit/9aa0569eff73de4f4a06fe10614dda62cc4b7cfd

7 years agoRemove disabled FEATURE_LEGACYSURFACE
danmosemsft [Mon, 23 Jan 2017 17:55:40 +0000 (09:55 -0800)]
Remove disabled FEATURE_LEGACYSURFACE

Commit migrated from https://github.com/dotnet/coreclr/commit/06f140aaa03d3235ca0587ed0b5ad814a959124a

7 years agoRemove disabled FEATURE_LEAK_CULTURE_INFO
danmosemsft [Mon, 23 Jan 2017 17:54:24 +0000 (09:54 -0800)]
Remove disabled FEATURE_LEAK_CULTURE_INFO

Commit migrated from https://github.com/dotnet/coreclr/commit/e5573d3066a436f16b5cd66b75470df05d8ce70a

7 years agoRemove disabled FEATURE_CRYPTO
danmosemsft [Mon, 23 Jan 2017 17:49:13 +0000 (09:49 -0800)]
Remove disabled FEATURE_CRYPTO

Commit migrated from https://github.com/dotnet/coreclr/commit/faa969a2ccbfa0d2cecf9a177747b2149733061e

7 years agoRemove disabled FEATURE_COMPRESSEDSTACK
danmosemsft [Mon, 23 Jan 2017 17:47:29 +0000 (09:47 -0800)]
Remove disabled FEATURE_COMPRESSEDSTACK

Commit migrated from https://github.com/dotnet/coreclr/commit/b863b4af9fc7eb94138c82801674a98d3e679d7f

7 years agoRemove disabled FEATURE_COMINTEROP_WINRT_DESKTOP_HOST
danmosemsft [Mon, 23 Jan 2017 17:45:52 +0000 (09:45 -0800)]
Remove disabled FEATURE_COMINTEROP_WINRT_DESKTOP_HOST

Commit migrated from https://github.com/dotnet/coreclr/commit/66673107576ddac749509f044ab788c3dabc77e1

7 years agoRemove disabled FEATURE_COMINTEROP_MANAGED_ACTIVATION
danmosemsft [Mon, 23 Jan 2017 17:43:51 +0000 (09:43 -0800)]
Remove disabled FEATURE_COMINTEROP_MANAGED_ACTIVATION

Commit migrated from https://github.com/dotnet/coreclr/commit/3dc1198e182de928fa55118d9cba33ff91a1602b

7 years agoRemove disabled FEATURE_CODEPAGES_FILE
danmosemsft [Mon, 23 Jan 2017 17:34:23 +0000 (09:34 -0800)]
Remove disabled FEATURE_CODEPAGES_FILE

Commit migrated from https://github.com/dotnet/coreclr/commit/4c81ba582c4e9a9128c917ccb25ecac19824b1f9

7 years agoRemove disabled FEATURE_CASE_SENSITIVE_FILESYSTEM
danmosemsft [Mon, 23 Jan 2017 17:32:26 +0000 (09:32 -0800)]
Remove disabled FEATURE_CASE_SENSITIVE_FILESYSTEM

Commit migrated from https://github.com/dotnet/coreclr/commit/75f6e84c2679760b994b1c26049fdce8387a5300

7 years agoRemove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS
danmosemsft [Mon, 23 Jan 2017 17:31:11 +0000 (09:31 -0800)]
Remove disabled FEATURE_ADVANCED_MANAGED_ETW_CHANNELS

Commit migrated from https://github.com/dotnet/coreclr/commit/098dc27edf603e0b8a1fee9989dca49ed51c4f8c

7 years agoMerge pull request dotnet/coreclr#9044 from dotnet/redundant_defs
Dan Moseley [Mon, 23 Jan 2017 18:26:40 +0000 (11:26 -0700)]
Merge pull request dotnet/coreclr#9044 from dotnet/redundant_defs

Remove always-defined symbols

Commit migrated from https://github.com/dotnet/coreclr/commit/4c4f4be68e0430ab7feb88eb984c02e5d2cb8f3a

7 years agoDisable and remove FEATURE_APPDOMAIN_RESOURCE_MONITORING. This is a behavior change
danmosemsft [Mon, 23 Jan 2017 17:03:41 +0000 (09:03 -0800)]
Disable and remove FEATURE_APPDOMAIN_RESOURCE_MONITORING. This is a behavior change

Commit migrated from https://github.com/dotnet/coreclr/commit/e6863c29fada8169420f6fd7f280c05ef171098e

7 years agoMerge pull request dotnet/coreclr#9035 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Mon, 23 Jan 2017 16:56:08 +0000 (08:56 -0800)]
Merge pull request dotnet/coreclr#9035 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24923-01, beta-24923-01, respectively (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/b1f5c6acca00ca471818237d698baca317851b1f

7 years agoMerge pull request dotnet/coreclr#8724 from hqueue/arm/ryujit/fpaddconst
Pat Gavlin [Mon, 23 Jan 2017 16:43:59 +0000 (16:43 +0000)]
Merge pull request dotnet/coreclr#8724 from hqueue/arm/ryujit/fpaddconst

[Ryujit/ARM32] Implement const, comparion and intrinsic for floating-point

Commit migrated from https://github.com/dotnet/coreclr/commit/3d681fe6698ee7a94619d1088293546cab1f8e0f

7 years agoRevert "remove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib"
danmosemsft [Mon, 23 Jan 2017 16:43:46 +0000 (08:43 -0800)]
Revert "remove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib"

This reverts commit dotnet/coreclr@9c6de0b7af3716eea3fc16a91ab8b7c2c92e6e98.

Commit migrated from https://github.com/dotnet/coreclr/commit/25e6c725c74725314f95c3a7dd5ccdaefa912598

7 years agoRemove some Diagnostics.Eventing allocations (dotnet/coreclr#8869)
Ben Adams [Mon, 23 Jan 2017 16:24:21 +0000 (16:24 +0000)]
Remove some Diagnostics.Eventing allocations (dotnet/coreclr#8869)

Remove some closure allocations

escapes string[] to static rather than function alloc

Commit migrated from https://github.com/dotnet/coreclr/commit/54db85f85d6ce97dc4646fad13cb96c354672677

7 years agoUpdate CoreClr, CoreFx to beta-24923-01, beta-24923-01, respectively
dotnet-bot [Mon, 23 Jan 2017 15:16:37 +0000 (15:16 +0000)]
Update CoreClr, CoreFx to beta-24923-01, beta-24923-01, respectively

Commit migrated from https://github.com/dotnet/coreclr/commit/300a9131795d6047e8c836f59f3c28fc9ed4f94c

7 years ago[x86/Linux] Port two assertions in stackwalk.cpp (dotnet/coreclr#9046)
Jonghyun Park [Mon, 23 Jan 2017 12:00:34 +0000 (21:00 +0900)]
[x86/Linux] Port two assertions in stackwalk.cpp (dotnet/coreclr#9046)

Commit migrated from https://github.com/dotnet/coreclr/commit/9defc535e74650a66ef5cc22344e1e10afb99255

7 years ago[ARM32/Linux] cross-architecture build errro: stub for crossgen (dotnet/coreclr#8917)
Hyeongseok Oh [Mon, 23 Jan 2017 11:19:43 +0000 (20:19 +0900)]
[ARM32/Linux] cross-architecture build errro: stub for crossgen (dotnet/coreclr#8917)

Fix union name in T_CONTEXT used by arm/stubs.cpp

Commit migrated from https://github.com/dotnet/coreclr/commit/493393287b33beb9fe79453efb30e34041d943df

7 years ago[x86/Linux] Enable FEATURE_EH_FUNCLETS (dotnet/coreclr#8889)
Jonghyun Park [Mon, 23 Jan 2017 10:46:37 +0000 (19:46 +0900)]
[x86/Linux] Enable FEATURE_EH_FUNCLETS (dotnet/coreclr#8889)

* [x86/Linux] (Partially) Enable FEATURE_EH_FUNCLETS

* Update CLR ABI Document

* Add TODO (for Funclet Prolog/Epilog Gen)

Commit migrated from https://github.com/dotnet/coreclr/commit/347243f80d62d5aaa5359ef8c8d5331b6d8e4a63

7 years agoReport by-ref-like types to the GC (SpanOfT) (dotnet/coreclr#9034)
Koundinya Veluri [Mon, 23 Jan 2017 07:10:14 +0000 (23:10 -0800)]
Report by-ref-like types to the GC (SpanOfT) (dotnet/coreclr#9034)

Report by-ref-like types to the GC (SpanOfT)

Fixes dotnet/coreclr#8517

Commit migrated from https://github.com/dotnet/coreclr/commit/62ac5f04456e517b76bcfc3d386859a506eed6d1

7 years agoRemove FEATURE_WINDOWSPHONE
danmosemsft [Mon, 23 Jan 2017 04:55:11 +0000 (20:55 -0800)]
Remove FEATURE_WINDOWSPHONE

Commit migrated from https://github.com/dotnet/coreclr/commit/6259c97b4f56218cd2154c0c1b17d565f4c2bd05

7 years agoRemove FEATURE_VERSIONING
danmosemsft [Mon, 23 Jan 2017 04:50:23 +0000 (20:50 -0800)]
Remove FEATURE_VERSIONING

Commit migrated from https://github.com/dotnet/coreclr/commit/691398015f2b42969415a2b87c3692333d5f244f

7 years agoFEATURE_SYNCHRONIZATIONCONTEXT_WAIT
danmosemsft [Mon, 23 Jan 2017 04:48:38 +0000 (20:48 -0800)]
FEATURE_SYNCHRONIZATIONCONTEXT_WAIT

Commit migrated from https://github.com/dotnet/coreclr/commit/4a0a5473c5e146891eb02d65afcddb060363ff4b

7 years agoRemove FEATURE_STRONGNAME_MIGRATION
danmosemsft [Mon, 23 Jan 2017 04:47:11 +0000 (20:47 -0800)]
Remove FEATURE_STRONGNAME_MIGRATION

Commit migrated from https://github.com/dotnet/coreclr/commit/62eb2893053cc644c20bae321f00180e12a09d16

7 years agoRemove FEATURE_SPAN_OF_T and UseLegacyCompiler
danmosemsft [Mon, 23 Jan 2017 04:45:52 +0000 (20:45 -0800)]
Remove FEATURE_SPAN_OF_T and UseLegacyCompiler

Commit migrated from https://github.com/dotnet/coreclr/commit/71b04bdc956c969086a3f339b93fa0bdf9d1c039

7 years agoRemove FEATURE_MULTICOREJIT
danmosemsft [Mon, 23 Jan 2017 04:42:43 +0000 (20:42 -0800)]
Remove FEATURE_MULTICOREJIT

Commit migrated from https://github.com/dotnet/coreclr/commit/753d9a10c9719ba28c9943ac616c1fcd42255fdf

7 years agoRemove FEATURE_MANAGED_ETW_CHANNELS
danmosemsft [Mon, 23 Jan 2017 04:41:06 +0000 (20:41 -0800)]
Remove  FEATURE_MANAGED_ETW_CHANNELS

Commit migrated from https://github.com/dotnet/coreclr/commit/ef0ae9c2f5842fe87666efadb2d1af956d401fb0

7 years agoRemove FEATURE_MAIN_CLR_MODULE_USES_CORE_NAME
danmosemsft [Mon, 23 Jan 2017 04:37:25 +0000 (20:37 -0800)]
Remove FEATURE_MAIN_CLR_MODULE_USES_CORE_NAME

Commit migrated from https://github.com/dotnet/coreclr/commit/1055d667cbbf650ef1115ae97fd7af65d102a2cc

7 years agoRemove FEATURE_LOADER_OPTIMIZATION
danmosemsft [Mon, 23 Jan 2017 04:36:11 +0000 (20:36 -0800)]
Remove FEATURE_LOADER_OPTIMIZATION

Commit migrated from https://github.com/dotnet/coreclr/commit/c1853ffc86372e239e77c5847b3079e005fda583

7 years agoRemove FEATURE_HOST_ASSEMBLY_RESOLVER
danmosemsft [Mon, 23 Jan 2017 04:34:38 +0000 (20:34 -0800)]
Remove FEATURE_HOST_ASSEMBLY_RESOLVER

Commit migrated from https://github.com/dotnet/coreclr/commit/3a92622ac3ece3594495301c59173e9679677938

7 years agoRemove FEATURE_EXCEPTION_NOTIFICATIONS
danmosemsft [Mon, 23 Jan 2017 04:32:11 +0000 (20:32 -0800)]
Remove FEATURE_EXCEPTION_NOTIFICATIONS

Commit migrated from https://github.com/dotnet/coreclr/commit/35bf10cf32d014dcd9d7e443c0a9b09aaef8e2b2

7 years agoRemove FEATURE_EXCEPTIONDISPATCHINFO
danmosemsft [Mon, 23 Jan 2017 04:29:22 +0000 (20:29 -0800)]
Remove FEATURE_EXCEPTIONDISPATCHINFO

Commit migrated from https://github.com/dotnet/coreclr/commit/b22d638a79c93fad06ad30f49cd74c69e25deefe

7 years agoRemove FEATURE_CORRUPTING_EXCEPTIONS
danmosemsft [Mon, 23 Jan 2017 04:27:03 +0000 (20:27 -0800)]
Remove FEATURE_CORRUPTING_EXCEPTIONS

Commit migrated from https://github.com/dotnet/coreclr/commit/3a9b7218e6ea266463c7338099d6662d2bf7d439

7 years agoremove FEATURE_CORESYSTEM
danmosemsft [Mon, 23 Jan 2017 04:15:12 +0000 (20:15 -0800)]
remove FEATURE_CORESYSTEM

Commit migrated from https://github.com/dotnet/coreclr/commit/47b0ebb1983c2a407e33f07b5a2af30e54b564ae

7 years agoremove FEATURE_CORECLR (not used in cs)
danmosemsft [Mon, 23 Jan 2017 04:08:05 +0000 (20:08 -0800)]
remove FEATURE_CORECLR (not used in cs)

Commit migrated from https://github.com/dotnet/coreclr/commit/1a5523c0c04427ed872af85c5d155926cf55e1b8

7 years agoRemove FEATURE_COLLECTIBLE_TYPES symbol
danmosemsft [Tue, 17 Jan 2017 23:46:45 +0000 (15:46 -0800)]
Remove FEATURE_COLLECTIBLE_TYPES symbol

Commit migrated from https://github.com/dotnet/coreclr/commit/4aa0b8d6ec28ce759effe64c6babd4ae74018bce

7 years agoremove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib
danmosemsft [Fri, 13 Jan 2017 00:26:06 +0000 (16:26 -0800)]
remove FEATURE_APPDOMAIN_RESOURCEMONITORING from corelib

Commit migrated from https://github.com/dotnet/coreclr/commit/9c6de0b7af3716eea3fc16a91ab8b7c2c92e6e98

7 years agoRemove __GNUC__ version checks (dotnet/coreclr#8978)
Jan Vorlicek [Sat, 21 Jan 2017 09:46:27 +0000 (10:46 +0100)]
Remove __GNUC__ version checks (dotnet/coreclr#8978)

This change removes obsolete `__GNUC__` version checks at several places.
The minimum supported clang version is 3.5 and that generates __GNUC__
value of 4.

Commit migrated from https://github.com/dotnet/coreclr/commit/9a870919addaf32de0e6b89e4bf23a893cb42085

7 years agoDelete unused AppDomain{Setup} types/members (dotnet/coreclr#8768)
James Ko [Sat, 21 Jan 2017 04:02:54 +0000 (23:02 -0500)]
Delete unused AppDomain{Setup} types/members (dotnet/coreclr#8768)

* Delete unused AppDomain members
* Delete unused AppDomainSetup members

Commit migrated from https://github.com/dotnet/coreclr/commit/d13392a9ffa262952d34374621308d0a878cf21e

7 years agoMerge pull request dotnet/coreclr#9027 from JosephTremoulet/Comment
Joseph Tremoulet [Sat, 21 Jan 2017 03:36:31 +0000 (22:36 -0500)]
Merge pull request dotnet/coreclr#9027 from JosephTremoulet/Comment

Fix incorrect comment

Commit migrated from https://github.com/dotnet/coreclr/commit/de6944f696883e5550ce3816c1de9aa0e4bc685f

7 years agoFix debugger launch race hitting breakpoints in startup code. (dotnet/coreclr#8951)
Mike McLaughlin [Sat, 21 Jan 2017 01:46:06 +0000 (17:46 -0800)]
Fix debugger launch race hitting breakpoints in startup code. (dotnet/coreclr#8951)

The attached flag was been set asynchronously relative to the DebugActiveProcess
returning.  This could cause a race where the initial module load notification being
missed/not sent to the debugger.

This fix sets the attached flag before any notifications sent during launch if the runtime was
launched/attached using the startup handshake after dbgshim tells the runtime to "continue"
when the runtime startup API callback returns.

Also fixes another race condition in dbgshim where EnumerateCLRs returns a NULL continue event
handle because the coreclr module was loaded but the g_hContinueStartupEvent wasn't initialized
on the runtime side yet. Changed the static initialization of g_hContinueStartupEvent to
INVALID_HANDLE_VALUE and the InternalEnumerateCLRs sleep/retry loop to retry when any of the
handles are INVALID_HANDLE_VALUE. This fixes the race only when you have the latest dbgshim
and coreclr binaries and the old/new mixes still function but don't fix the race.

Commit migrated from https://github.com/dotnet/coreclr/commit/3d768880d8034fe285849684abc044553e5d77f8

7 years agoFix incorrect comment
Joseph Tremoulet [Fri, 20 Jan 2017 21:42:28 +0000 (16:42 -0500)]
Fix incorrect comment

Rewrite bogus reference to nonexistsent `m_HeapDef` to correctly refer to
`block->bbHeapDef`.  Also change "doesn't kill heap" to "doesn't kill heap
liveness" (since it still kills availability).

Also add clarifying comments where `bbHeapUse` and `bbHeapDef` are
declared.

Commit migrated from https://github.com/dotnet/coreclr/commit/1082757a43da09c22018a5457649b121b64a2d64

7 years agoFixup Span<T> implementation to be more similar to the corefx one (dotnet/coreclr...
Jan Kotas [Sat, 21 Jan 2017 01:13:50 +0000 (17:13 -0800)]
Fixup Span<T> implementation to be more similar to the corefx one (dotnet/coreclr#9028)

- Reorder methods, adjust comments and formatting to make it easier to see the diff with corefx
- Delete extra implicit conversion operator

Commit migrated from https://github.com/dotnet/coreclr/commit/bb4fd8fcf84d2e777d7b8bee4e5fc475ab2397d7

7 years agoRemove PLATFORM_UNIX and FEATURE_PAL checks in PAL (dotnet/coreclr#8982)
Jan Vorlicek [Fri, 20 Jan 2017 23:32:12 +0000 (00:32 +0100)]
Remove PLATFORM_UNIX and FEATURE_PAL checks in PAL (dotnet/coreclr#8982)

This change removes all ifdefs for PLATFORM_UNIX and FEATURE_PAL
from PAL and also removes dead code that was never compiled in PAL
due to both of them being always defined for PAL.

Commit migrated from https://github.com/dotnet/coreclr/commit/e210622d2b4bb3f77333fca635d7b621e5cd7c2a

7 years agoMerge pull request dotnet/coreclr#8814 from YongseopKim/impl_genIntToIntCast
Carol Eidt [Fri, 20 Jan 2017 21:53:17 +0000 (13:53 -0800)]
Merge pull request dotnet/coreclr#8814 from YongseopKim/impl_genIntToIntCast

[RyuJIT/ARM32]Implement NYI("Cast")

Commit migrated from https://github.com/dotnet/coreclr/commit/4946558e0dcbe82b4f6beb31a3052426856a3f32

7 years agoMerge pull request dotnet/coreclr#9008 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Fri, 20 Jan 2017 20:45:07 +0000 (12:45 -0800)]
Merge pull request dotnet/coreclr#9008 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24920-03, beta-24919-06, respectively (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/627b2786b48753a898565cdeeff966a3946539d0

7 years agoUpdate CoreClr, CoreFx to beta-24920-03, beta-24919-06, respectively
dotnet-bot [Fri, 20 Jan 2017 17:25:57 +0000 (17:25 +0000)]
Update CoreClr, CoreFx to beta-24920-03, beta-24919-06, respectively

Commit migrated from https://github.com/dotnet/coreclr/commit/f51ec6d1993f1bacd413b98af8b69c795a56a6ef

7 years agoMerge pull request dotnet/coreclr#9004 from JosephTremoulet/MoreLessKillHeap
Joseph Tremoulet [Fri, 20 Jan 2017 12:20:09 +0000 (07:20 -0500)]
Merge pull request dotnet/coreclr#9004 from JosephTremoulet/MoreLessKillHeap

More heap liveness fixes

Commit migrated from https://github.com/dotnet/coreclr/commit/9b198314362c12b5cd82545c51de18ae884522f3

7 years ago[GDB-JIT][Linux] Fix incorrect displaying of (s)byte and char in lldb (dotnet/coreclr...
Evgeny Pavlov [Fri, 20 Jan 2017 11:59:34 +0000 (14:59 +0300)]
[GDB-JIT][Linux] Fix incorrect displaying of (s)byte and char in lldb (dotnet/coreclr#9022)

* [GDB-JIT] Initial support of typedef for correct displaying 'byte' and 'sbyte'

* [GDB-JIT] Add char typedef to show correct type in lldb

* Code cleanup

Commit migrated from https://github.com/dotnet/coreclr/commit/4ac7fe064c2e57c818f565ba2c5192bc73250bf4

7 years ago[x86/Linux] Allow push/pop in funclet prolog and epilog (dotnet/coreclr#9001)
Jonghyun Park [Fri, 20 Jan 2017 10:34:16 +0000 (19:34 +0900)]
[x86/Linux] Allow push/pop in funclet prolog and epilog (dotnet/coreclr#9001)

* [x86/Linux] Allow Push/Pop in Funclet Prolog and Epilog

Commit migrated from https://github.com/dotnet/coreclr/commit/d17e8c5f587fd8971dd61c2f282d98d395b5e4fc

7 years ago[x86/Linux] Port 'TransitionFrame::UpdateRegDisplay' (dotnet/coreclr#8964)
Jonghyun Park [Fri, 20 Jan 2017 10:33:06 +0000 (19:33 +0900)]
[x86/Linux] Port 'TransitionFrame::UpdateRegDisplay' (dotnet/coreclr#8964)

* [x86/Linux] Port 'TransitionFrame::UpdateRegDisplay'

* Use different ControlPC/Esp values for WIN64EXCEPTIONS

Commit migrated from https://github.com/dotnet/coreclr/commit/9743c40692687d6ad0bb43046d88b3bbf021f3f2

7 years ago[x86/Linux] Port 'CallerStackFrame::FromRegDisplay' (dotnet/coreclr#9021)
Jonghyun Park [Fri, 20 Jan 2017 09:30:49 +0000 (18:30 +0900)]
[x86/Linux] Port 'CallerStackFrame::FromRegDisplay' (dotnet/coreclr#9021)

Commit migrated from https://github.com/dotnet/coreclr/commit/6f31c983e6202541f881c1cfe3ef597447ef7912

7 years agoImplement NYI(Cast) of codegen for Ryujit ARM32
Yongseop Kim [Wed, 4 Jan 2017 07:43:24 +0000 (16:43 +0900)]
Implement NYI(Cast) of codegen for Ryujit ARM32

Implement genIntToIntCast(), genFloatToFloatCast(),
genIntToFloatCast() and genFloatToIntCast() in codegenarm.cpp.
This commit bases upon ARM64 code.
(Code for int64/uint64 is marked as NYI_ARM)

Commit migrated from https://github.com/dotnet/coreclr/commit/c60afc22786d9e5cd1f8344dcdd115e8a6440e64

7 years agoCleanup uses of string.Split (dotnet/coreclr#9010)
Justin Van Patten [Fri, 20 Jan 2017 04:23:39 +0000 (23:23 -0500)]
Cleanup uses of string.Split (dotnet/coreclr#9010)

Commit migrated from https://github.com/dotnet/coreclr/commit/83d4632e32e5759acd0a711f7a013afe30b8bdb7

7 years agoMerge pull request dotnet/coreclr#8402 from CarolEidt/Fix7508
Carol Eidt [Fri, 20 Jan 2017 02:24:45 +0000 (18:24 -0800)]
Merge pull request dotnet/coreclr#8402 from CarolEidt/Fix7508

Enable promotion of SIMD fields of structs

Commit migrated from https://github.com/dotnet/coreclr/commit/26a6391c6e05c41bf48beaf529684ad44f3b3fa6

7 years agoEnable promotion of SIMD fields of structs
Carol Eidt [Tue, 29 Nov 2016 17:18:31 +0000 (09:18 -0800)]
Enable promotion of SIMD fields of structs

Only look for SIMD fields if a SIMD type has been found.
Also, since more cases of local struct values are no longer marked GTF_GLOB_REF, adjust the heuristics for allocating a temporary for a struct arrRef.

Fix dotnet/coreclr#7508

Commit migrated from https://github.com/dotnet/coreclr/commit/e40595edb2c9cba2864a7e39690575cee7af94f4

7 years agoMerge pull request dotnet/coreclr#9013 from jashook/arm32_build_fix
Jarret Shook [Fri, 20 Jan 2017 00:35:07 +0000 (16:35 -0800)]
Merge pull request dotnet/coreclr#9013 from jashook/arm32_build_fix

Fix arm32 build break

Commit migrated from https://github.com/dotnet/coreclr/commit/3243366c41c0f80deddc72101c50932954e7a001

7 years agoFix arm32 build break
jashook [Thu, 19 Jan 2017 22:15:43 +0000 (14:15 -0800)]
Fix arm32 build break

fgClearFinallyTargetBit requires computePreds to have happened in order
to sucessfully leave the bit unset for cases where there are multiple
CALLFINALLY / BBJ_ALWAYS pairs that point to the same finally target on
ARM.

The change adds an assertion to fgClearFinallyTargetBit in addition
to disabling the optimization on ARM.

Commit migrated from https://github.com/dotnet/coreclr/commit/5d0305399e59d81dc210f2ebe56fc9d314ff2bd0

7 years agoImplement const, comparion and intrinsic for floating-point
Hyung-Kyu Choi [Thu, 22 Dec 2016 11:38:26 +0000 (20:38 +0900)]
Implement const, comparion and intrinsic for floating-point

Implement float/double const (GT_CNS_DBL) generation for ARM32 RyuJIT.
Implement binary operators for floating point for ARM32 RyuJIT
Implement of GT_INTRINSIC for ARM32 RyuJIT
Implement comparison (e.g. GT_GT and etc.) for floating-point

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/6ccc7bf8dc5d690f172fe0e2b32b2d8fe3ee181c

7 years agoAdd mkdir for CoreFx directory
Drew Scoggins [Thu, 19 Jan 2017 18:57:26 +0000 (10:57 -0800)]
Add mkdir for CoreFx directory

In PR 8997 I accidentally removed the mkdir that creates the corefx
directory for us to copy the test zip into.  I did this when I was
adding Https to the URLs that we use to download the information from
Jenkins.  This adds back that bit.

Commit migrated from https://github.com/dotnet/coreclr/commit/a58a4fd513a584cb6f92f0504a142327de6390e8

7 years agoMerge pull request dotnet/coreclr#9005 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Thu, 19 Jan 2017 19:34:20 +0000 (11:34 -0800)]
Merge pull request dotnet/coreclr#9005 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24919-03, beta-24919-02, respectively (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/36e6306e6e6015f48b90d529eb47038911c02763

7 years agoMerge pull request dotnet/coreclr#8992 from seanshpark/remlegacyjit
Pat Gavlin [Thu, 19 Jan 2017 18:33:24 +0000 (18:33 +0000)]
Merge pull request dotnet/coreclr#8992 from seanshpark/remlegacyjit

[x86/Linux] Remove legacyjit and compatjit build

Commit migrated from https://github.com/dotnet/coreclr/commit/39bc5ca53f936b83c1d380cb6076570ec43abcea

7 years agoMerge pull request dotnet/coreclr#8731 from mskvortsov/arm32-set-reg-to-cond
Pat Gavlin [Thu, 19 Jan 2017 18:32:36 +0000 (18:32 +0000)]
Merge pull request dotnet/coreclr#8731 from mskvortsov/arm32-set-reg-to-cond

RyuJIT/ARM32: genSetRegToCond implementation

Commit migrated from https://github.com/dotnet/coreclr/commit/63858068aa77bd5080bb5b589a4a9a8d7a73437b

7 years agoMerge pull request dotnet/coreclr#8715 from mskvortsov/fix-icon-str-hdl-disp
Pat Gavlin [Thu, 19 Jan 2017 18:30:08 +0000 (18:30 +0000)]
Merge pull request dotnet/coreclr#8715 from mskvortsov/fix-icon-str-hdl-disp

Fix gtDispConst for GTF_ICON_STR_HDL.

Commit migrated from https://github.com/dotnet/coreclr/commit/281b2042e1dcce1786aaad485bf48a42acc50668

7 years agoMerge pull request dotnet/coreclr#8725 from mskvortsov/fix-gtdisp-spacing
Pat Gavlin [Thu, 19 Jan 2017 18:29:48 +0000 (18:29 +0000)]
Merge pull request dotnet/coreclr#8725 from mskvortsov/fix-gtdisp-spacing

Fix gtDispLIRNode space alignment.

Commit migrated from https://github.com/dotnet/coreclr/commit/0b5d908617ebaa6ad97297d9b3f363d271340a01

7 years agoMerge pull request dotnet/coreclr#8996 from DrewScoggins/LinuxCorefxNativeFix
Drew Scoggins [Thu, 19 Jan 2017 18:27:43 +0000 (10:27 -0800)]
Merge pull request dotnet/coreclr#8996 from DrewScoggins/LinuxCorefxNativeFix

Fix Linux perf run script

Commit migrated from https://github.com/dotnet/coreclr/commit/51cfb793c340f2b8158d7ad667753b279afd0e52

7 years agoMerge pull request dotnet/coreclr#8997 from DrewScoggins/HttpsFix
Drew Scoggins [Thu, 19 Jan 2017 18:27:22 +0000 (10:27 -0800)]
Merge pull request dotnet/coreclr#8997 from DrewScoggins/HttpsFix

Change Http to Https

Commit migrated from https://github.com/dotnet/coreclr/commit/87a93b53c393faeb139dd241ad95ac92f65e67e3

7 years agoUpdate CoreClr, CoreFx to beta-24919-03, beta-24919-02, respectively
dotnet-bot [Thu, 19 Jan 2017 17:33:45 +0000 (17:33 +0000)]
Update CoreClr, CoreFx to beta-24919-03, beta-24919-02, respectively

Commit migrated from https://github.com/dotnet/coreclr/commit/fa3b1186468417416d0c2c730bddd21a8c3eaff5

7 years ago[x86/Linux] Port 'FaultingExceptionFrame::UpdateRegDisplay' (dotnet/coreclr#8993)
Jonghyun Park [Thu, 19 Jan 2017 12:10:45 +0000 (21:10 +0900)]
[x86/Linux] Port 'FaultingExceptionFrame::UpdateRegDisplay' (dotnet/coreclr#8993)

Commit migrated from https://github.com/dotnet/coreclr/commit/0d04afc8f5919edcbb371c1e0c4f832f76aed09f

7 years ago[x86/Linux] Port 'HelperMethodFrame::UpdateRegDisplay' (dotnet/coreclr#8914)
Jonghyun Park [Thu, 19 Jan 2017 12:05:51 +0000 (21:05 +0900)]
[x86/Linux] Port 'HelperMethodFrame::UpdateRegDisplay' (dotnet/coreclr#8914)

* [x86/Linux] Port 'HelperMethodFrame::UpdateRegDisplay'

* Reduce code duplication

Commit migrated from https://github.com/dotnet/coreclr/commit/eecb1b6c08e1990499aa33ed6423726c7259b78c

7 years agoFix PInvoke Inline decision (dotnet/coreclr#8975)
Michelle McDaniel [Thu, 19 Jan 2017 04:57:50 +0000 (20:57 -0800)]
Fix PInvoke Inline decision (dotnet/coreclr#8975)

Originally, the condition was !impCanPInvokeInline, but when change
1e63ca0 pulled out impCanPInvokeInlineCall, the condition was flipped.
This was exposed by an internal debugger test.

Fixes DevDiv 366669.

Commit migrated from https://github.com/dotnet/coreclr/commit/49ead290c1b26bc07d1108cf1eaca16e171694da

7 years agoMerge pull request dotnet/coreclr#8994 from dotnet-bot/master-UpdateDependencies
Stephen Toub [Thu, 19 Jan 2017 03:17:04 +0000 (22:17 -0500)]
Merge pull request dotnet/coreclr#8994 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24919-01, beta-24918-13, respectively (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/9b777f78c83aa1ef08bcf251e10a48c9b710ed46

7 years agoUpdate CoreClr, CoreFx to beta-24919-01, beta-24918-13, respectively
dotnet-bot [Thu, 19 Jan 2017 01:45:52 +0000 (01:45 +0000)]
Update CoreClr, CoreFx to beta-24919-01, beta-24918-13, respectively

Commit migrated from https://github.com/dotnet/coreclr/commit/eb92bee205efa29230fb876736f755d21cba002f

7 years agoChange Http to Https
Drew Scoggins [Wed, 18 Jan 2017 19:19:22 +0000 (11:19 -0800)]
Change Http to Https

When we download things from Jenkins we used to use http for the
address we need to change this to https.

Commit migrated from https://github.com/dotnet/coreclr/commit/ff773e9e2e8c66d7bdc85f826645a0afc0b84c0b

7 years agoFix an error in build-test.cmd (dotnet/coreclr#8890)
Jonghyun Park [Thu, 19 Jan 2017 00:56:56 +0000 (09:56 +0900)]
Fix an error in build-test.cmd (dotnet/coreclr#8890)

* Fix an error in CMake Probe

* Add double qutation around %__ProjectDir

* Revert "Fix an error in CMake Probe"

This reverts commit dotnet/coreclr@78be1c0a2909d633023758fdebcc558bf07e3a4c.

Commit migrated from https://github.com/dotnet/coreclr/commit/e7369c506a5b5698b581ab2046838ccb8b482f92

7 years agoMerge pull request dotnet/coreclr#8991 from CarolEidt/Arm64ArrOffConsume
Carol Eidt [Thu, 19 Jan 2017 00:38:12 +0000 (16:38 -0800)]
Merge pull request dotnet/coreclr#8991 from CarolEidt/Arm64ArrOffConsume

Fix consumeReg order for ArrOffs on arm64

Commit migrated from https://github.com/dotnet/coreclr/commit/07f6010c63920ad814b2dcc24ce354d7e05d29f9

7 years ago[x86/Linux] Fix RtlRestoreContext (dotnet/coreclr#8916)
Jonghyun Park [Thu, 19 Jan 2017 00:22:50 +0000 (09:22 +0900)]
[x86/Linux] Fix RtlRestoreContext (dotnet/coreclr#8916)

* [x86/Linux] Fix RtlRestoreContext

* Use mov instead of push/pop

Commit migrated from https://github.com/dotnet/coreclr/commit/a6dccc87ca1042c51d6067f6b870962bac51efad

7 years agoRemove ILDASM GUI cruft (dotnet/coreclr#8954)
mikedn [Wed, 18 Jan 2017 23:49:36 +0000 (01:49 +0200)]
Remove ILDASM GUI cruft (dotnet/coreclr#8954)

Commit migrated from https://github.com/dotnet/coreclr/commit/69e9c8a6b5bbacaa85b4b7953796364cca02a6a5

7 years ago[x86/Linux] Do NOT use Shadow SP (dotnet/coreclr#8913)
Jonghyun Park [Wed, 18 Jan 2017 23:35:46 +0000 (08:35 +0900)]
[x86/Linux] Do NOT use Shadow SP (dotnet/coreclr#8913)

Commit migrated from https://github.com/dotnet/coreclr/commit/e312e9ab50322b522060fa121d9ed0ddd3a8f4d9

7 years agoMerge pull request dotnet/coreclr#8977 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Wed, 18 Jan 2017 22:27:10 +0000 (14:27 -0800)]
Merge pull request dotnet/coreclr#8977 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24918-03, beta-24918-07, respectively (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/d5a60ee061e074ecee0f81d62843f3bfc4b0c022

7 years ago[x86/Linux] Remove legacyjit and compatjit build
SaeHie Park [Wed, 18 Jan 2017 22:11:42 +0000 (07:11 +0900)]
[x86/Linux] Remove legacyjit and compatjit build

Enable legacyjit and compatjit build on i386 for Win32 but disable for Linux

Commit migrated from https://github.com/dotnet/coreclr/commit/c16bc375a17d89db32fd69382d337f7a93274a85

7 years agoFix consumeReg order for ArrOffs on arm64
Carol Eidt [Wed, 18 Jan 2017 20:39:29 +0000 (12:39 -0800)]
Fix consumeReg order for ArrOffs on arm64

The change in operand order for GenTreeArrOffs was not reflected in code generation for arm64. This fixes that.

Commit migrated from https://github.com/dotnet/coreclr/commit/6cd32023394a6f99b8e8618de3e28c9bba4ce163

7 years agoFix Linux perf run script
Drew Scoggins [Wed, 18 Jan 2017 18:53:16 +0000 (10:53 -0800)]
Fix Linux perf run script

We rely on the build of CoreFX that we grab from the Corefx runs on the
main Jenkins instance.  With the recent changes the name of one of the
folders as been changed from "Native" to "native".  The checking that we
were doing was not case insensitive and as a result we started failing.
I have made that check now look for both the upper case and lower case
version of the word.

Commit migrated from https://github.com/dotnet/coreclr/commit/46cede629db5e914bea42e1ebc01a5231b528942

7 years agoMerge pull request dotnet/coreclr#8986 from JosephTremoulet/Unreachable
Joseph Tremoulet [Wed, 18 Jan 2017 18:10:11 +0000 (13:10 -0500)]
Merge pull request dotnet/coreclr#8986 from JosephTremoulet/Unreachable

Refactor GT_IND value-numbering

Commit migrated from https://github.com/dotnet/coreclr/commit/5b84229d8e244556df5d736227f3d259738713fc

7 years agoUnsuppress heap use marking for legacy codegen
Joseph Tremoulet [Wed, 18 Jan 2017 18:09:29 +0000 (13:09 -0500)]
Unsuppress heap use marking for legacy codegen

This change extends the same fix from dotnet/coreclr#8757 to legacy-codegen.cpp; a prior
heap def in a block is not sufficient to avoid marking a subsequent heap
use in that block upwards-exposed (without proof that the def writes the
same memory read by the use).

Commit migrated from https://github.com/dotnet/coreclr/commit/2db8230de17b541b082aa5c27bce5eaf3a6163e3

7 years agoMerge pull request dotnet/coreclr#8987 from stephentoub/remove_serialization_compat_w...
Stephen Toub [Wed, 18 Jan 2017 18:08:39 +0000 (13:08 -0500)]
Merge pull request dotnet/coreclr#8987 from stephentoub/remove_serialization_compat_workaround

Remove EnumEqualityComparer serialization compat workarounds

Commit migrated from https://github.com/dotnet/coreclr/commit/c39e3535e1ae36b458b4c1c1b9963f1c6372f219

7 years agoFix inter-block heap-live-in calculation
Joseph Tremoulet [Tue, 17 Jan 2017 19:42:24 +0000 (14:42 -0500)]
Fix inter-block heap-live-in calculation

Similar to the intra-block case fixed in dotnet/coreclr#8757, without proving that a
heap def completely covers a subsequent heap use, we must propagate heap
liveness up past the heap def.  Fix failure to so propagate liveness in
`LiveVarAnalysis::PerBlockAnalysis`.

Commit migrated from https://github.com/dotnet/coreclr/commit/e1c3cc187b35090318b3338efd5cca420de45999

7 years agoUpdate CoreClr, CoreFx to beta-24918-03, beta-24918-07, respectively
dotnet-bot [Wed, 18 Jan 2017 17:36:17 +0000 (17:36 +0000)]
Update CoreClr, CoreFx to beta-24918-03, beta-24918-07, respectively

Commit migrated from https://github.com/dotnet/coreclr/commit/e6f21d790a137f083489a44cd421b569a41ced21

7 years agoRollback parameter name change to fix failing corefx tests (dotnet/coreclr#8985)
Jan Kotas [Wed, 18 Jan 2017 16:58:03 +0000 (08:58 -0800)]
Rollback parameter name change to fix failing corefx tests (dotnet/coreclr#8985)

Commit migrated from https://github.com/dotnet/coreclr/commit/d3c7ce0c11eb79e33195ab9c1bee94bfe2f6738e

7 years agoRemove EnumEqualityComparer serialization compat workaround
Stephen Toub [Wed, 18 Jan 2017 15:51:01 +0000 (10:51 -0500)]
Remove EnumEqualityComparer serialization compat workaround

This code exists to support serialization roundtrip between .NET 4 and .NET 4.5, which we don't need for .NET Core.

Commit migrated from https://github.com/dotnet/coreclr/commit/6ab80746225595c702cad990623ad5d0d5439a6d

7 years agoMerge pull request dotnet/coreclr#8984 from stephentoub/fix_dtfi_serialization
Stephen Toub [Wed, 18 Jan 2017 15:49:47 +0000 (10:49 -0500)]
Merge pull request dotnet/coreclr#8984 from stephentoub/fix_dtfi_serialization

Fix DateTimeFormatInfo serialization on Unix

Commit migrated from https://github.com/dotnet/coreclr/commit/03843c68df2db72d2a1bc0dcceb64f3b0c87211d

7 years agoMerge pull request dotnet/coreclr#8970 from stephentoub/cwt_enum
Stephen Toub [Wed, 18 Jan 2017 15:23:42 +0000 (10:23 -0500)]
Merge pull request dotnet/coreclr#8970 from stephentoub/cwt_enum

Add ConditionalWeakTable.Clear and IEnumerable implementation

Commit migrated from https://github.com/dotnet/coreclr/commit/396b9b9c37d0ebbb7db32a48dd556f2473b907d5

7 years agoRefactor GT_IND value-numbering
Joseph Tremoulet [Wed, 18 Jan 2017 14:59:53 +0000 (06:59 -0800)]
Refactor GT_IND value-numbering

Method `fgValueNumberTree` had two pieces of code each attempting to
assume responsibility for `GT_IND` and some block ops.  The one later in
the function wasn't reachable because those ops would always take the
first path.  This change moves the special logic for `GTF_IND_ARR_LEN`,
which was only present in the unreachable code, up to the reachable code,
and removes the unreachable code.

Commit migrated from https://github.com/dotnet/coreclr/commit/f178e60b6c7d41698eeb4f04962307803f78137b

7 years agoAddress PR feedback
Stephen Toub [Wed, 18 Jan 2017 13:31:56 +0000 (08:31 -0500)]
Address PR feedback

Commit migrated from https://github.com/dotnet/coreclr/commit/c5d3327251d5cd08e64b192cb740c410f5e0c1cf

7 years agoFix DateTimeFormatInfo serialization on Unix
Stephen Toub [Wed, 18 Jan 2017 13:22:54 +0000 (08:22 -0500)]
Fix DateTimeFormatInfo serialization on Unix

The Unix copy of the src is missing some [NonSerialized] attribution on a few of its fields, one of which is for a field of type TokenHashValue, which isn't [Serializable].  This is causing DateTimeFormatInfo to itself fail to serialize.

Commit migrated from https://github.com/dotnet/coreclr/commit/33b5d299b62ab2d631221967112844e7cda2d5fc

7 years ago[x86/Linux] Port RtlVirtualUnwind (dotnet/coreclr#8911)
Jonghyun Park [Wed, 18 Jan 2017 09:45:09 +0000 (18:45 +0900)]
[x86/Linux] Port RtlVirtualUnwind (dotnet/coreclr#8911)

* [x86/Linux] (Partially) port RtlVirtualUnwind

* Rewrite x86 Unwinder using UnwindStackFrame

* Extract UnwindStackFrame from EECodeManager

* Port 'InlinedCallFrame::UpdateRegDisplay'

Commit migrated from https://github.com/dotnet/coreclr/commit/009697370b7dd9a155601842360633d2fd2ba286

7 years agoMerge pull request dotnet/coreclr#8851 from parjong/fix/JIT32_GCENCODER_build_error
Bruce Forstall [Wed, 18 Jan 2017 01:36:58 +0000 (17:36 -0800)]
Merge pull request dotnet/coreclr#8851 from parjong/fix/JIT32_GCENCODER_build_error

Fix JIT32_GCENCODER-related build errors

Commit migrated from https://github.com/dotnet/coreclr/commit/1f8cfb92e098fd4e132d94bd5bdb12dca1d6e911