platform/upstream/dotnet/runtime.git
8 years agoUpdate linux-instructions.md
LaSombra [Sun, 16 Oct 2016 12:13:14 +0000 (13:13 +0100)]
Update linux-instructions.md

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

8 years agoUpdate linux-instructions.md
LaSombra [Sun, 16 Oct 2016 12:12:10 +0000 (13:12 +0100)]
Update linux-instructions.md

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

9 years agoUpdate linux-instructions.md
LaSombra [Thu, 5 Nov 2015 17:09:25 +0000 (17:09 +0000)]
Update linux-instructions.md

Added Fedora 23 required packages

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

9 years agoMerge pull request dotnet/coreclr#1961 from dotnet-bot/from-tfs
Mike McLaughlin [Thu, 5 Nov 2015 16:53:17 +0000 (08:53 -0800)]
Merge pull request dotnet/coreclr#1961 from dotnet-bot/from-tfs

Merge changes from TFS

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

9 years agoMerge pull request dotnet/coreclr#1958 from stephentoub/delete_consolehandler
Stephen Toub [Thu, 5 Nov 2015 06:39:42 +0000 (22:39 -0800)]
Merge pull request dotnet/coreclr#1958 from stephentoub/delete_consolehandler

Remove SetConsoleCtrlHandler from Unix PAL

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

9 years agoRemove SetConsoleCtrlHandler from Unix PAL
stephentoub [Wed, 4 Nov 2015 20:10:23 +0000 (12:10 -0800)]
Remove SetConsoleCtrlHandler from Unix PAL

Deleted SIGINT and SIGQUIT-related signal handling code, which means we no longer need to spin up a worker thread for all coreclr apps.

Make the debugger's SetConsoleCtrlHandler usage Windows-only (from offline conversation it sounded like we might choose to delete it entirely subsequently, but for now I've left it).

Removed all of the code related to SetConsoleCtrlHandler from the PAL.

Deleted all tests related to SetConsoleCtrlHandler from the palsuite.

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

9 years agoMerge pull request dotnet/coreclr#1956 from dotnet-bot/from-tfs
Mike McLaughlin [Thu, 5 Nov 2015 00:35:26 +0000 (16:35 -0800)]
Merge pull request dotnet/coreclr#1956 from dotnet-bot/from-tfs

Merge changes from TFS

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

9 years agoMerge pull request dotnet/coreclr#1949 from LLITCHEV/SystemVStructsCleanup
Lubomir Litchev [Wed, 4 Nov 2015 23:39:26 +0000 (15:39 -0800)]
Merge pull request dotnet/coreclr#1949 from LLITCHEV/SystemVStructsCleanup

Some code cleanup for the SystemVStructs work.

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

9 years agoFix build break from CLdotnet/coreclr#1544863 Part II
Mike McLaughlin [Wed, 4 Nov 2015 23:35:58 +0000 (15:35 -0800)]
Fix build break from CLdotnet/coreclr#1544863 Part II

[tfs-changeset: 1545169]

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

9 years agoFix build break from CL# 1544863 (git PR dotnet/coreclr#1946 merge commit dotnet...
Mike McLaughlin [Wed, 4 Nov 2015 19:33:54 +0000 (11:33 -0800)]
Fix build break from CL# 1544863 (git PR dotnet/coreclr#1946 merge commit dotnet/coreclr@810b1162fff85075feb6cd5dd47b30e9f668ad38)

[tfs-changeset: 1545107]

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

9 years agoMerge pull request dotnet/coreclr#1927 from kouvel/OacrFixes
Koundinya Veluri [Wed, 4 Nov 2015 17:36:41 +0000 (09:36 -0800)]
Merge pull request dotnet/coreclr#1927 from kouvel/OacrFixes

Static analysis fixes

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

9 years agoMerge pull request dotnet/coreclr#1946 from mikem8361/unwindi
Mike McLaughlin [Wed, 4 Nov 2015 03:55:35 +0000 (19:55 -0800)]
Merge pull request dotnet/coreclr#1946 from mikem8361/unwindi

Fix sos clrstack unwinding for the special HelperMethodFrame.

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

9 years agoFix sos clrstack unwinding for the special HelperMethodFrame.
Mike McLaughlin [Fri, 16 Oct 2015 01:35:55 +0000 (18:35 -0700)]
Fix sos clrstack unwinding for the special HelperMethodFrame.

Add and implement new ICorDebugDataTarget4 unwind interface using lldb stack unwinder ABIs. The implementation
does a linear search of the native frames for the stack pointer provided. It doesn't happen often so the
performance is fine.

Stub out the DBI's ICorDebugDataTarget4 (in ShimDataTarget::VirtualUnwind) for now. Since PAL_VirtualUnwindOutOfProc
is disabled it makes sense to just return E_NOTIMPL.

Fix bpmd command so it doesn't stop in lldb when it isn't a CLRN exception (continues).

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

9 years agoMerge pull request dotnet/coreclr#1939 from JohnChen0/platformID
Jan Kotas [Wed, 4 Nov 2015 01:37:23 +0000 (17:37 -0800)]
Merge pull request dotnet/coreclr#1939 from JohnChen0/platformID

Adjust platform IDs for Unix NIs

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

9 years agoMerge pull request dotnet/coreclr#1942 from dotnet-bot/from-tfs
Jan Kotas [Wed, 4 Nov 2015 01:36:21 +0000 (17:36 -0800)]
Merge pull request dotnet/coreclr#1942 from dotnet-bot/from-tfs

Merge changes from TFS

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

9 years agoSome code cleanup for the SystemVStructs work.
Lubomir Litchev [Fri, 23 Oct 2015 05:55:09 +0000 (22:55 -0700)]
Some code cleanup for the SystemVStructs work.

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

9 years agoMerge pull request dotnet/coreclr#1940 from adityamandaleeka/remove_suspension
Aditya Mandaleeka [Tue, 3 Nov 2015 22:28:58 +0000 (14:28 -0800)]
Merge pull request dotnet/coreclr#1940 from adityamandaleeka/remove_suspension

Clean up PAL File functions

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

9 years agoRemove some unnecessary file-related functions from PAL
Aditya Mandaleeka [Tue, 3 Nov 2015 20:02:01 +0000 (12:02 -0800)]
Remove some unnecessary file-related functions from PAL

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

9 years agoMerge pull request dotnet/coreclr#1929 from bryanar/pr1-test-fix
Bryan P. Arant [Tue, 3 Nov 2015 21:57:59 +0000 (13:57 -0800)]
Merge pull request dotnet/coreclr#1929 from bryanar/pr1-test-fix

Fixing Priority 1 Run-Only Linux tests that failed to run when built on a Linux box. The cause of the failure was that RunOnly tests were building scripts that were using absolute paths. The fix makes all pathing in the scripts relative.

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

9 years agoAdjust platform IDs for Unix NIs
John Chen [Tue, 3 Nov 2015 20:05:37 +0000 (12:05 -0800)]
Adjust platform IDs for Unix NIs

Previous change for native image platform IDs only works on x64 architecture.
Adjusted the code to work on all architectures.

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

9 years agoRemove thread parameter from file-related functions
Aditya Mandaleeka [Tue, 3 Nov 2015 19:56:28 +0000 (11:56 -0800)]
Remove thread parameter from file-related functions

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

9 years agoMerge pull request dotnet/coreclr#1933 from LLITCHEV/Issue1831
Lubomir Litchev [Tue, 3 Nov 2015 19:02:13 +0000 (11:02 -0800)]
Merge pull request dotnet/coreclr#1933 from LLITCHEV/Issue1831

Fix a bug in classification of structs with field holes.

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

9 years agoMerge pull request dotnet/coreclr#1936 from mmitche/disable-pr-test
Matt Mitchell [Tue, 3 Nov 2015 18:59:55 +0000 (10:59 -0800)]
Merge pull request dotnet/coreclr#1936 from mmitche/disable-pr-test

Temporarily disable ubuntu coreclr release tests

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

9 years agoTemporarily disable ubuntu coreclr release tests
Matt Mitchell [Tue, 3 Nov 2015 18:54:38 +0000 (10:54 -0800)]
Temporarily disable ubuntu coreclr release tests

Until file copy time issues are resolved (using unpacker) and tests fully pass

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

9 years agoFix assert / access violation in PEDeocder due to change from GitHub
John Chen [Tue, 3 Nov 2015 18:23:19 +0000 (10:23 -0800)]
Fix assert / access violation in PEDeocder due to change from GitHub

Recent change on GitHub to modify platform ID of Unix platforms caused issues with desktop CLR.

[tfs-changeset: 1544631]

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

9 years agoFix a bug in classification of structs with field holes.
Lubomir Litchev [Mon, 2 Nov 2015 22:14:33 +0000 (14:14 -0800)]
Fix a bug in classification of structs with field holes.

There is a bug in classifying the register passing structs where field
layout leaves holes in the struct layout.

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

9 years agoMerge pull request dotnet/coreclr#1931 from mmitche/use-packer
Matt Mitchell [Tue, 3 Nov 2015 16:33:12 +0000 (08:33 -0800)]
Merge pull request dotnet/coreclr#1931 from mmitche/use-packer

Use the packer/unpacker for coreclr tests to reduce copy time

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

9 years agoUse the packer/unpacker for coreclr tests to reduce copy time
Matt Mitchell [Tue, 3 Nov 2015 16:25:47 +0000 (08:25 -0800)]
Use the packer/unpacker for coreclr tests to reduce copy time

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

9 years agoMerge pull request dotnet/coreclr#1922 from janvorli/fix-multiple-exception-helpers
Jan Vorlicek [Tue, 3 Nov 2015 10:42:23 +0000 (11:42 +0100)]
Merge pull request dotnet/coreclr#1922 from janvorli/fix-multiple-exception-helpers

Fix handling of embedded scopes with multiple exception holders

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

9 years agoMerge pull request dotnet/coreclr#1930 from adityamandaleeka/remove_suspension
Jan Vorlicek [Tue, 3 Nov 2015 10:39:03 +0000 (11:39 +0100)]
Merge pull request dotnet/coreclr#1930 from adityamandaleeka/remove_suspension

Remove thread parameter from InternalMalloc/Free/New/Delete

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

9 years agoFixing PR1-RunOnly Linux Tests
Bryan Arant [Tue, 3 Nov 2015 04:44:08 +0000 (20:44 -0800)]
Fixing PR1-RunOnly Linux Tests

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

9 years agoRemove thread parameter from InternalMalloc/Free/New/Delete
Aditya Mandaleeka [Mon, 2 Nov 2015 23:25:59 +0000 (15:25 -0800)]
Remove thread parameter from InternalMalloc/Free/New/Delete

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

9 years agoStatic analysis fixes
Koundinya Veluri [Mon, 2 Nov 2015 20:46:56 +0000 (12:46 -0800)]
Static analysis fixes

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

9 years agoRemove USE_SIGNALS_FOR_THREAD_SUSPENSION
Aditya Mandaleeka [Mon, 2 Nov 2015 20:07:07 +0000 (12:07 -0800)]
Remove USE_SIGNALS_FOR_THREAD_SUSPENSION

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

9 years agoMerge pull request dotnet/coreclr#1907 from wtgodbe/innerFinally
William Godbe [Mon, 2 Nov 2015 19:06:47 +0000 (11:06 -0800)]
Merge pull request dotnet/coreclr#1907 from wtgodbe/innerFinally

Fixed failing test 'InnerFinally'

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

9 years agoMerge pull request dotnet/coreclr#1921 from AndyAyersMS/InliningPlans
Andy Ayers [Mon, 2 Nov 2015 17:32:58 +0000 (09:32 -0800)]
Merge pull request dotnet/coreclr#1921 from AndyAyersMS/InliningPlans

Initial draft for inlining plans

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

9 years agoInitial draft for inlining plans
Andy Ayers [Wed, 21 Oct 2015 23:09:28 +0000 (16:09 -0700)]
Initial draft for inlining plans

I am pushing these early drafts out to be transparent about the work we anticipate doing for improving inlining in both RyuJit and LLILC. Expect revisions and more details to emerge over time.

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

9 years agoFix handling of embedded scopes with multiple exception holders
Jan Vorlicek [Thu, 29 Oct 2015 15:12:17 +0000 (08:12 -0700)]
Fix handling of embedded scopes with multiple exception holders

During the exception handling pass 1 on Unix, we only find one holder for each
frame. But for the case where there are multiple scopes embedded in each other,
each of them having their own exception holder, this is not correct and we
need to call filters for all holders on such frame, starting from the inner-most
one.
This change fixes that.

In addition, it fixes one usage of the EX_CATCH_CPP_ONLY in the src/vm/threads.cpp
where the presence of the exception holder in the EX_TRY is not correct and causes
the exception handler pass 1 to consider the managed exception handled at that place.
The fix is to create a new EX_TRY_CPP_ONLY that doesn't contain the holder and use
it at that place.
In fact, the comment at EX_CATCH_IMPL_CPP_ONLY was suggesting that a separate EX_TRY
clone would be a better solution anyways, since it eliminates one try / catch level
in the EX_CATCH_IMPL_CPP_ONLY.

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

9 years agoMerge pull request dotnet/coreclr#1920 from jkotas/gcsample
Jan Kotas [Sun, 1 Nov 2015 04:47:12 +0000 (21:47 -0700)]
Merge pull request dotnet/coreclr#1920 from jkotas/gcsample

Fix build breaks in GCSample

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

9 years agoFix build breaks in GCSample
Jan Kotas [Sun, 1 Nov 2015 01:33:51 +0000 (18:33 -0700)]
Fix build breaks in GCSample

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

9 years agoMerge pull request dotnet/coreclr#1918 from dotnet-bot/from-tfs
Jan Kotas [Sat, 31 Oct 2015 22:08:37 +0000 (15:08 -0700)]
Merge pull request dotnet/coreclr#1918 from dotnet-bot/from-tfs

Merge changes from TFS

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

9 years agoMerge pull request dotnet/coreclr#1914 from adityamandaleeka/jenkins_enable_unix
Matt Mitchell [Sat, 31 Oct 2015 15:25:58 +0000 (08:25 -0700)]
Merge pull request dotnet/coreclr#1914 from adityamandaleeka/jenkins_enable_unix

Enable Ubuntu x64 Release test runs in CI by default

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

9 years agoMerge pull request dotnet/coreclr#1908 from adityamandaleeka/fix_exc_lists
Matt Mitchell [Sat, 31 Oct 2015 15:25:42 +0000 (08:25 -0700)]
Merge pull request dotnet/coreclr#1908 from adityamandaleeka/fix_exc_lists

Fix Unix exclusion lists

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

9 years agoFix build break on Unix
Jan Kotas [Sat, 31 Oct 2015 14:45:50 +0000 (07:45 -0700)]
Fix build break on Unix

[tfs-changeset: 1543814]

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

9 years agoFix Unix build breaks
Jan Kotas [Sat, 31 Oct 2015 09:47:48 +0000 (02:47 -0700)]
Fix Unix build breaks

[tfs-changeset: 1543811]

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

9 years agoFix Unix build break
Jan Kotas [Sat, 31 Oct 2015 01:08:23 +0000 (18:08 -0700)]
Fix Unix build break

[tfs-changeset: 1543757]

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

9 years agoFix Unix build break
Jan Kotas [Fri, 30 Oct 2015 23:45:04 +0000 (16:45 -0700)]
Fix Unix build break

[tfs-changeset: 1543746]

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

9 years agoChange 'Linux' to 'Ubuntu' in CI run names and triggers
Aditya Mandaleeka [Fri, 30 Oct 2015 23:27:52 +0000 (16:27 -0700)]
Change 'Linux' to 'Ubuntu' in CI run names and triggers

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

9 years agoMerge pull request dotnet/coreclr#1906 from LLITCHEV/Issue1831
Lubomir Litchev [Fri, 30 Oct 2015 23:22:34 +0000 (16:22 -0700)]
Merge pull request dotnet/coreclr#1906 from LLITCHEV/Issue1831

Fix for GH issue dotnet/coreclr#1884.

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

9 years agoEnable Unix x64 Release runs in CI by default
Aditya Mandaleeka [Fri, 30 Oct 2015 23:01:34 +0000 (16:01 -0700)]
Enable Unix x64 Release runs in CI by default

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

9 years agoMerge pull request dotnet/coreclr#1883 from mono/gc-stress-tests
Jan Kotas [Fri, 30 Oct 2015 22:49:48 +0000 (15:49 -0700)]
Merge pull request dotnet/coreclr#1883 from mono/gc-stress-tests

Make GC stress tests cross platform

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

9 years agoMerge pull request dotnet/coreclr#1903 from jashook/master
Jan Kotas [Fri, 30 Oct 2015 22:48:43 +0000 (15:48 -0700)]
Merge pull request dotnet/coreclr#1903 from jashook/master

Remove redefinition of new and delete in alloc.h

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

9 years agoMerge pull request dotnet/coreclr#1852 from botaberg/fixsyntaxx86
Jan Kotas [Fri, 30 Oct 2015 22:47:49 +0000 (15:47 -0700)]
Merge pull request dotnet/coreclr#1852 from botaberg/fixsyntaxx86

Fix syntax error on x86

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

9 years agoMerge pull request dotnet/coreclr#1888 from JohnChen0/master
Jan Kotas [Fri, 30 Oct 2015 22:44:53 +0000 (15:44 -0700)]
Merge pull request dotnet/coreclr#1888 from JohnChen0/master

Modify Platform ID of Linux NIs (issue dotnet/coreclr#1035)

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

9 years agoDisable MarshalBoolArray test on Unix temporarily
Aditya Mandaleeka [Fri, 30 Oct 2015 22:17:56 +0000 (15:17 -0700)]
Disable MarshalBoolArray test on Unix temporarily

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

9 years agoFix paths in Unix exclusion lists broken by recent test changes
Aditya Mandaleeka [Fri, 30 Oct 2015 22:15:02 +0000 (15:15 -0700)]
Fix paths in Unix exclusion lists broken by recent test changes

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

9 years agoMerge pull request dotnet/coreclr#1891 from wtgodbe/failingPinvokes
William Godbe [Fri, 30 Oct 2015 22:08:31 +0000 (15:08 -0700)]
Merge pull request dotnet/coreclr#1891 from wtgodbe/failingPinvokes

Disabled tests failing on Pinvoke to Kernel32.dll on Linux

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

9 years agoRemove redefinition of new and delete in alloc.h
Jarret Shook [Fri, 30 Oct 2015 20:40:12 +0000 (13:40 -0700)]
Remove redefinition of new and delete in alloc.h

VS 2015 RC 1 causes a breaking build with redefining new and delete as
static functions. Removing the static will cause link errors with other
redefined new and delete operators. These functions are redefined to just
assertonly in debug.

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

9 years agoFix for GH issue dotnet/coreclr#1884.
Lubomir Litchev [Fri, 30 Oct 2015 05:50:55 +0000 (22:50 -0700)]
Fix for GH issue dotnet/coreclr#1884.

The fgCanFastTailCall was not incrementing the callee arg number for the
second register passed eightbyte of a struct.

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

9 years agoFixed failing test 'InnerFinally'
William Godbe [Fri, 30 Oct 2015 19:43:27 +0000 (12:43 -0700)]
Fixed failing test 'InnerFinally'

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

9 years agoFix Unix build break
Jan Kotas [Fri, 30 Oct 2015 05:27:00 +0000 (22:27 -0700)]
Fix Unix build break

[tfs-changeset: 1543525]

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

9 years agoMerge pull request dotnet/coreclr#1898 from dotnet/reloc-type
Jan Kotas [Fri, 30 Oct 2015 04:17:42 +0000 (21:17 -0700)]
Merge pull request dotnet/coreclr#1898 from dotnet/reloc-type

Fix reloc type in the absence of reloc hint

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

9 years agoFix Unix build break
Jan Kotas [Fri, 30 Oct 2015 04:15:36 +0000 (21:15 -0700)]
Fix Unix build break

[tfs-changeset: 1543489]

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

9 years agoMerge pull request dotnet/coreclr#1897 from dotnet-bot/from-tfs
Jan Kotas [Fri, 30 Oct 2015 03:40:19 +0000 (20:40 -0700)]
Merge pull request dotnet/coreclr#1897 from dotnet-bot/from-tfs

Merge changes from TFS

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

9 years agoPort .NET Framework 4.6.1 changes
Jan Kotas [Fri, 30 Oct 2015 02:09:52 +0000 (19:09 -0700)]
Port .NET Framework 4.6.1 changes

Core runtime and GC changes from https://github.com/Microsoft/dotnet/blob/master/docs/releases/net461/dotnet461-changes.md that are not in CoreCLR yet

[tfs-changeset: 1543382]

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

9 years agoFix reloc type in the absence of reloc hint
Senthil [Fri, 30 Oct 2015 01:19:06 +0000 (18:19 -0700)]
Fix reloc type in the absence of reloc hint

When Reloc hint is no hint, JIT yields wrong Reloc type. mov eax, offset should yield DIR64 (MOFFSET for amd64) not HIGHLOW (MOFFSET for x86).

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

9 years agoMerge pull request dotnet/coreclr#1894 from dotnet-bot/from-tfs
Matt Ellis [Thu, 29 Oct 2015 23:42:24 +0000 (16:42 -0700)]
Merge pull request dotnet/coreclr#1894 from dotnet-bot/from-tfs

Merge changes from TFS

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

9 years agoMerge pull request dotnet/coreclr#1880 from adityamandaleeka/chmod_linux_ci
Aditya Mandaleeka [Thu, 29 Oct 2015 23:13:40 +0000 (16:13 -0700)]
Merge pull request dotnet/coreclr#1880 from adityamandaleeka/chmod_linux_ci

Add chmod +x to individual test scripts in runtest.sh

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

9 years agoModify crossgen to allow loading NIs during Ready To Run compilation
John Chen [Thu, 29 Oct 2015 21:38:11 +0000 (14:38 -0700)]
Modify crossgen to allow loading NIs during Ready To Run compilation

[tfs-changeset: 1543250]

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

9 years agoMerge pull request dotnet/coreclr#1893 from LLITCHEV/Issue1831
Lubomir Litchev [Thu, 29 Oct 2015 21:36:05 +0000 (14:36 -0700)]
Merge pull request dotnet/coreclr#1893 from LLITCHEV/Issue1831

Fix putarg_stk for tail call functions.

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

9 years agoAdd contract for getSystemVAmd64PassStructInRegisterDescriptor
Jan Kotas [Thu, 29 Oct 2015 20:27:34 +0000 (13:27 -0700)]
Add contract for getSystemVAmd64PassStructInRegisterDescriptor

[tfs-changeset: 1543232]

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

9 years agoMerge pull request dotnet/coreclr#1892 from mmitche/dont-use-git-commit
Matt Mitchell [Thu, 29 Oct 2015 19:12:26 +0000 (12:12 -0700)]
Merge pull request dotnet/coreclr#1892 from mmitche/dont-use-git-commit

Temporarily remove GIT_COMMIT capture and passing

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

9 years agoTemporarily remove GIT_COMMIT capture and passing
Matt Mitchell [Thu, 29 Oct 2015 19:00:12 +0000 (12:00 -0700)]
Temporarily remove GIT_COMMIT capture and passing

It looks like the previous build's GIT_COMMIT is being passed instead of the current, which is causing issues.  Disable this for now and add logging so that this can be debugged

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

9 years agoFix putarg_stk for tail call functions.
Lubomir Litchev [Wed, 28 Oct 2015 06:08:22 +0000 (23:08 -0700)]
Fix putarg_stk for tail call functions.

For tail calls the stack params should replace the current function arg
space and not be placed in the outgoing argument area.

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

9 years agoMerge pull request dotnet/coreclr#1873 from kangaroo/arm-cleanup
Aditya Mandaleeka [Thu, 29 Oct 2015 18:41:58 +0000 (11:41 -0700)]
Merge pull request dotnet/coreclr#1873 from kangaroo/arm-cleanup

[arm] Clean up a few places where the arm build has bit rotted

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

9 years agoMerge pull request dotnet/coreclr#1875 from adityamandaleeka/remove_suspension
Aditya Mandaleeka [Thu, 29 Oct 2015 18:37:10 +0000 (11:37 -0700)]
Merge pull request dotnet/coreclr#1875 from adityamandaleeka/remove_suspension

Initial removal of thread suspension code from PAL

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

9 years agoDisabled tests failing on Pinvoke to Kernel32.dll on Linux
William Godbe [Thu, 29 Oct 2015 17:32:21 +0000 (10:32 -0700)]
Disabled tests failing on Pinvoke to Kernel32.dll on Linux

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

9 years agoMake GC stress tests cross platform
Ludovic Henry [Wed, 28 Oct 2015 12:24:29 +0000 (12:24 +0000)]
Make GC stress tests cross platform

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

9 years agoModify Platform ID of Linux NIs (issue dotnet/coreclr#1035)
John Chen [Thu, 29 Oct 2015 05:06:35 +0000 (22:06 -0700)]
Modify Platform ID of Linux NIs (issue dotnet/coreclr#1035)

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

9 years agoMerge pull request dotnet/coreclr#1887 from dotnet-bot/from-tfs
Matt Ellis [Thu, 29 Oct 2015 00:34:56 +0000 (17:34 -0700)]
Merge pull request dotnet/coreclr#1887 from dotnet-bot/from-tfs

Merge changes from TFS

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

9 years agoSwitch to corefx directory before running find command
Aditya Mandaleeka [Thu, 29 Oct 2015 00:18:36 +0000 (17:18 -0700)]
Switch to corefx directory before running find command

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

9 years agoExpose Environment.Exit in mscorlib.dll.
Pallavi Taneja [Wed, 28 Oct 2015 19:51:36 +0000 (12:51 -0700)]
Expose Environment.Exit in mscorlib.dll.

This will later be consumed by the System.Runtime.Extensions contract.

[tfs-changeset: 1542759]

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

9 years ago[arm] Fix context accessor function naming
Geoff Norton [Wed, 28 Oct 2015 19:03:48 +0000 (19:03 +0000)]
[arm] Fix context accessor function naming

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

9 years agoMerge pull request dotnet/coreclr#1882 from bryanar/pr1-test-fix
Bryan P. Arant [Wed, 28 Oct 2015 14:46:14 +0000 (07:46 -0700)]
Merge pull request dotnet/coreclr#1882 from bryanar/pr1-test-fix

Fix for run-only pr1 tests.

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

9 years agoFix for run-only pr1 tests.
Bryan Arant [Wed, 28 Oct 2015 08:39:05 +0000 (01:39 -0700)]
Fix for run-only pr1 tests.

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

9 years agoMerge pull request dotnet/coreclr#1876 from stephentoub/local_realloc
Jan Vorlicek [Wed, 28 Oct 2015 00:59:26 +0000 (17:59 -0700)]
Merge pull request dotnet/coreclr#1876 from stephentoub/local_realloc

Implement LocalReAlloc in PAL

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

9 years agoAdd chmod +x to individual test scripts in runtest.sh
Aditya Mandaleeka [Tue, 27 Oct 2015 23:21:49 +0000 (16:21 -0700)]
Add chmod +x to individual test scripts in runtest.sh

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

9 years agoMerge pull request dotnet/coreclr#1878 from janvorli/fix-ex-try
Jan Vorlicek [Tue, 27 Oct 2015 23:10:09 +0000 (16:10 -0700)]
Merge pull request dotnet/coreclr#1878 from janvorli/fix-ex-try

Add missing exception holder to EX_TRY

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

9 years agoAdd missing exception holder to EX_TRY
Jan Vorlicek [Tue, 27 Oct 2015 17:30:58 +0000 (10:30 -0700)]
Add missing exception holder to EX_TRY

When the exception handling was changed recently, the exception holder
was added only to PAL_TRY / PAL_EXCEPT macros. But it needs to be
in the EX_TRY as well, otherwise first pass of exception handling
would incorrectly consider some exceptions unhandled.

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

9 years ago[arm] Fix the debug build as well
Geoff Norton [Tue, 27 Oct 2015 20:20:08 +0000 (20:20 +0000)]
[arm] Fix the debug build as well

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

9 years agoImplement CoTaskMemRealloc in PAL
stephentoub [Tue, 27 Oct 2015 16:48:10 +0000 (12:48 -0400)]
Implement CoTaskMemRealloc in PAL

Also implement CoTaskMemRealloc in PAL, as it's exposed via the public Marshal.CoTaskMemRealloc.

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

9 years ago[arm] Clean up a few places where the arm build has bit rotted
Geoff Norton [Mon, 26 Oct 2015 22:23:31 +0000 (22:23 +0000)]
[arm] Clean up a few places where the arm build has bit rotted

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

9 years agoImplement LocalReAlloc in PAL
stephentoub [Tue, 27 Oct 2015 03:03:04 +0000 (23:03 -0400)]
Implement LocalReAlloc in PAL

Marshal.ReAllocHGlobal is failing because it's expecting to find a LocalReAlloc implementation in libcoreclr's PAL.  This commit adds one.

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

9 years agoMerge pull request dotnet/coreclr#1868 from JohnChen0/crossgen-linux
John Chen [Tue, 27 Oct 2015 15:51:37 +0000 (08:51 -0700)]
Merge pull request dotnet/coreclr#1868 from JohnChen0/crossgen-linux

Fix a CrossGen assert on Linux

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

9 years agoRemove SuspendThread and SetThreadContext PAL tests.
Aditya Mandaleeka [Mon, 26 Oct 2015 23:11:01 +0000 (16:11 -0700)]
Remove SuspendThread and SetThreadContext PAL tests.

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

9 years agoRemove unneeded includes and error in threadsusp.cpp
Aditya Mandaleeka [Mon, 26 Oct 2015 22:42:45 +0000 (15:42 -0700)]
Remove unneeded includes and error in threadsusp.cpp

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

9 years agoRemove THREADMarkDiagnostic and its uses.
Aditya Mandaleeka [Mon, 26 Oct 2015 21:47:49 +0000 (14:47 -0700)]
Remove THREADMarkDiagnostic and its uses.

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

9 years agoRemove THREADHandleSuspendNative and THREADHandleResumeNative
Aditya Mandaleeka [Sat, 24 Oct 2015 01:34:59 +0000 (18:34 -0700)]
Remove THREADHandleSuspendNative and THREADHandleResumeNative

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

9 years agoSet dwSuspendCount when resuming in pipe case
Aditya Mandaleeka [Sat, 24 Oct 2015 01:32:08 +0000 (18:32 -0700)]
Set dwSuspendCount when resuming in pipe case

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

9 years agoDisable USE_SIGNALS_FOR_THREAD_SUSPENSION
Aditya Mandaleeka [Sat, 24 Oct 2015 01:30:20 +0000 (18:30 -0700)]
Disable USE_SIGNALS_FOR_THREAD_SUSPENSION

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