platform/upstream/coreclr.git
8 years agoMerge pull request #2006 from richardlford/gettypetypeofmatrix
Richard L Ford [Tue, 10 Nov 2015 20:56:23 +0000 (12:56 -0800)]
Merge pull request #2006 from richardlford/gettypetypeofmatrix

Respond to review of gettypetypeofmatrix test.

8 years agoRespond to review of gettypetypeofmatrix test.
Richard L Ford [Tue, 10 Nov 2015 18:08:07 +0000 (10:08 -0800)]
Respond to review of gettypetypeofmatrix test.

The automatic formatter missed putting "public" and
"static" in a canonical order, so do that manually.

Also remove a case of Hungarian notation.

8 years agoMerge pull request #2000 from richardlford/gettypetypeofmatrix
Richard L Ford [Tue, 10 Nov 2015 17:56:43 +0000 (09:56 -0800)]
Merge pull request #2000 from richardlford/gettypetypeofmatrix

Add gettypetypeofmatrix test.

8 years agoMerge pull request #1970 from mmitche/enbable-by-default
Matt Mitchell [Tue, 10 Nov 2015 17:17:45 +0000 (09:17 -0800)]
Merge pull request #1970 from mmitche/enbable-by-default

Enable coreclr tests by default

8 years agoEnable coreclr tests by default
Matt Mitchell [Thu, 5 Nov 2015 20:00:02 +0000 (12:00 -0800)]
Enable coreclr tests by default

8 years agoMerge pull request #1999 from adityamandaleeka/remove_suspension
Jan Kotas [Tue, 10 Nov 2015 15:15:23 +0000 (07:15 -0800)]
Merge pull request #1999 from adityamandaleeka/remove_suspension

More PAL thread cleanup (last one)

8 years agoAdd gettypetypeofmatrix test.
Richard L Ford [Mon, 9 Nov 2015 23:42:12 +0000 (15:42 -0800)]
Add gettypetypeofmatrix test.

Ported the JIT/Directed/gettypetypeof/gettypetypeofmatrix.cs
test from the desktop clr suite to coreclr.

8 years agoRemove InternalRand.
Aditya Mandaleeka [Mon, 9 Nov 2015 23:32:41 +0000 (15:32 -0800)]
Remove InternalRand.

8 years agoRemove thread parameter from several more PAL functions.
Aditya Mandaleeka [Sat, 7 Nov 2015 02:19:26 +0000 (18:19 -0800)]
Remove thread parameter from several more PAL functions.

8 years agoMerge pull request #1998 from pgavlin/AddNinjaSupport
Pat Gavlin [Mon, 9 Nov 2015 18:44:57 +0000 (10:44 -0800)]
Merge pull request #1998 from pgavlin/AddNinjaSupport

Add support for ninja to the CoreCLR build.

8 years agoMerge pull request #1994 from dotnet-bot/from-tfs
Jan Kotas [Mon, 9 Nov 2015 16:12:59 +0000 (08:12 -0800)]
Merge pull request #1994 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoAdd support for ninja to the CoreCLR build.
Pat Gavlin [Mon, 9 Nov 2015 04:00:30 +0000 (20:00 -0800)]
Add support for ninja to the CoreCLR build.

Just what it says on the tin.

8 years agoMerge pull request #1990 from stephentoub/fix_eventsource_typo
Vance Morrison [Mon, 9 Nov 2015 03:14:50 +0000 (19:14 -0800)]
Merge pull request #1990 from stephentoub/fix_eventsource_typo

Fix a typo in EventSource_EventParametersMismatch error string

8 years agoMerge pull request #1988 from stephentoub/fix_eventsource_emptyarray
Vance Morrison [Mon, 9 Nov 2015 03:14:30 +0000 (19:14 -0800)]
Merge pull request #1988 from stephentoub/fix_eventsource_emptyarray

Fix exception when writing null/empty arrays to EventSource

8 years agoExpose Environment.GetCommandLineArgs in mscorlib
Pallavi Taneja [Sun, 8 Nov 2015 23:34:22 +0000 (15:34 -0800)]
Expose Environment.GetCommandLineArgs in mscorlib

[tfs-changeset: 1546251]

8 years agoMerge pull request #1925 from akoeplinger/remove-env-helper
Jan Kotas [Sun, 8 Nov 2015 20:38:35 +0000 (12:38 -0800)]
Merge pull request #1925 from akoeplinger/remove-env-helper

Remove Env helper class in tests

8 years agoMerge pull request #1926 from akoeplinger/fix-hardcoded-windows
Jan Kotas [Sun, 8 Nov 2015 20:32:28 +0000 (12:32 -0800)]
Merge pull request #1926 from akoeplinger/fix-hardcoded-windows

Fix hardcoded Utilities.IsWindows property

8 years agoMerge pull request #1987 from bbowyersmyth/StringCodeComments
Jan Kotas [Sun, 8 Nov 2015 20:29:16 +0000 (12:29 -0800)]
Merge pull request #1987 from bbowyersmyth/StringCodeComments

Improved and corrected some String code comments

8 years agoFix a typo in EventSource_EventParametersMismatch error string
stephentoub [Sat, 7 Nov 2015 20:45:35 +0000 (15:45 -0500)]
Fix a typo in EventSource_EventParametersMismatch error string

8 years agoFix exception when writing null/empty array to EventSource
stephentoub [Sat, 7 Nov 2015 06:46:02 +0000 (22:46 -0800)]
Fix exception when writing null/empty array to EventSource

EventSource has two WriteEvent overloads that take a byte[].  If the
byte[] provided is null, it uses an empty array.  It then tries to get the
address of the 0th element of the array, resulting in an
IndexOutOfRangeException.  We could instead just use ```byte* blob =
arg1``` instead of ```byte* blob = &arg1[0]```, but doing so with an empty
array has undefined behavior in C#.  Instead, we just special-case null
and empty arrays.

8 years agoImproved and corrected some String code comments
Bruce Bowyer-Smyth [Sat, 7 Nov 2015 04:34:21 +0000 (14:34 +1000)]
Improved and corrected some String code comments

8 years agoMerge pull request #1982 from dotnet-bot/from-tfs
Jan Kotas [Sat, 7 Nov 2015 03:31:09 +0000 (19:31 -0800)]
Merge pull request #1982 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #1984 from caslan/removeCSExports
Jan Kotas [Sat, 7 Nov 2015 03:20:14 +0000 (19:20 -0800)]
Merge pull request #1984 from caslan/removeCSExports

Remove unneeded EnterCriticalSection / LeaveCriticalSection exports

8 years agoRemove EnterCriticalSection / LeaveCriticalSection exports that are not needed
Cagri [Sat, 7 Nov 2015 00:29:49 +0000 (16:29 -0800)]
Remove EnterCriticalSection / LeaveCriticalSection exports that are not needed

8 years agoFix build break when NO_HOST_CPP_EH_ONLY is defined
Jan Kotas [Fri, 6 Nov 2015 21:46:27 +0000 (13:46 -0800)]
Fix build break when NO_HOST_CPP_EH_ONLY is defined

[tfs-changeset: 1546051]

8 years agoMerge pull request #1959 from adityamandaleeka/remove_suspension
Aditya Mandaleeka [Fri, 6 Nov 2015 20:52:30 +0000 (12:52 -0800)]
Merge pull request #1959 from adityamandaleeka/remove_suspension

Remove thread parameter from a few more places in PAL

8 years agoMerge pull request #1978 from Djuffin/debug-alloc-fix
Eugene Zemtsov [Fri, 6 Nov 2015 20:02:08 +0000 (12:02 -0800)]
Merge pull request #1978 from Djuffin/debug-alloc-fix

Selective VirtualProtect in debugger heap for Realloc

8 years agoMerge pull request #1980 from pgavlin/StructABITests
Jan Vorlicek [Fri, 6 Nov 2015 19:40:58 +0000 (20:40 +0100)]
Merge pull request #1980 from pgavlin/StructABITests

Add some missing files.

8 years agoAdd some missing files.
Pat Gavlin [Fri, 6 Nov 2015 18:02:02 +0000 (10:02 -0800)]
Add some missing files.

The lack of these files causes the struct ABI tests to fail to build.

8 years agoMerge pull request #1905 from naamunds/XplatDoc
Nate Amundson [Fri, 6 Nov 2015 18:09:42 +0000 (12:09 -0600)]
Merge pull request #1905 from naamunds/XplatDoc

Add libcurl and libssl packages to instructions

8 years agoMerge pull request #1841 from caslan/supportforBSTR
Yi Zhang (CLR) [Fri, 6 Nov 2015 00:23:56 +0000 (16:23 -0800)]
Merge pull request #1841 from caslan/supportforBSTR

Add support for BSTRs on Unix

8 years agoMerge pull request #1972 from pgavlin/StructABITests
Pat Gavlin [Fri, 6 Nov 2015 00:23:45 +0000 (16:23 -0800)]
Merge pull request #1972 from pgavlin/StructABITests

Add some targeted by-value struct passing tests.

8 years agoSelective VirtualProtect in debugger heap for Realloc
Eugene [Thu, 5 Nov 2015 22:42:54 +0000 (14:42 -0800)]
Selective VirtualProtect in debugger heap for Realloc

8 years agoMerge pull request #1963 from Djuffin/debug-alloc-fix
Chris [Thu, 5 Nov 2015 22:20:25 +0000 (14:20 -0800)]
Merge pull request #1963 from Djuffin/debug-alloc-fix

Restrict allocation of executable memory by DebuggerHeap

8 years agoMerge pull request #1971 from AndyAyersMS/SimplfiyTest
Matt Mitchell [Thu, 5 Nov 2015 21:58:18 +0000 (13:58 -0800)]
Merge pull request #1971 from AndyAyersMS/SimplfiyTest

Reduce number of threads used by the LocallocLarge test

8 years agoMerge pull request #1976 from mmitche/unzip-params
Matt Mitchell [Thu, 5 Nov 2015 21:51:33 +0000 (13:51 -0800)]
Merge pull request #1976 from mmitche/unzip-params

Fix unzip arg order

8 years agoFix unzip arg order
Matt Mitchell [Thu, 5 Nov 2015 21:50:39 +0000 (13:50 -0800)]
Fix unzip arg order

8 years agoAdd some targeted by-value struct passing tests.
Pat Gavlin [Thu, 5 Nov 2015 19:32:13 +0000 (11:32 -0800)]
Add some targeted by-value struct passing tests.

These tests target the SysV AMD64 ABI in particular, which relies on
field types to decide how to pass by-value structs.

8 years agoReduce number of threads used by the LocallocLarge test
Andy Ayers [Thu, 5 Nov 2015 20:03:00 +0000 (12:03 -0800)]
Reduce number of threads used by the LocallocLarge test

This test used to create ~3000 threads. Reduce that to ~300 while we sort out what is behind #1966.

8 years agoMerge pull request #1968 from mmitche/reenable-coreclr-linux
Matt Mitchell [Thu, 5 Nov 2015 19:58:50 +0000 (11:58 -0800)]
Merge pull request #1968 from mmitche/reenable-coreclr-linux

Reenable coreclr tests by default on Linux

8 years agoUpdate trigger phrases to be regex
Matt Mitchell [Thu, 5 Nov 2015 17:47:17 +0000 (09:47 -0800)]
Update trigger phrases to be regex

Quieter zip and ignoring warnings while unzipping

8 years agoMerge pull request #1967 from mmitche/use-unzip
Matt Mitchell [Thu, 5 Nov 2015 17:40:21 +0000 (09:40 -0800)]
Merge pull request #1967 from mmitche/use-unzip

Switch to using zip/unzip

8 years agoSwitch to using zip/unzip to avoid path length issues in the packer/unpacker
Matt Mitchell [Thu, 5 Nov 2015 17:31:00 +0000 (09:31 -0800)]
Switch to using zip/unzip to avoid path length issues in the packer/unpacker

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

Merge changes from TFS

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

Remove SetConsoleCtrlHandler from Unix PAL

8 years agoRestrict allocation of executable memory by DebuggerHeap
Eugene [Thu, 5 Nov 2015 02:21:45 +0000 (18:21 -0800)]
Restrict allocation of executable memory by DebuggerHeap

DebuggerHeap is a common class that is used for both executable and
non-executable memory allocations by debugging infrustructure.
On Windows, OS supports concept of executable heap and CLR doesn't need
to do anything extra for each executable allocation. On Linux/OSX
this is not true. That's why this changes preserves fExecutable flag for each heap
and makes sure that we mark memory as executable only when it is necessary.

8 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.

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

Merge changes from TFS

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

Some code cleanup for the SystemVStructs work.

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

[tfs-changeset: 1545169]

8 years agoRemove thread parameter from shmfilelockmgr functions
Aditya Mandaleeka [Wed, 4 Nov 2015 20:47:52 +0000 (12:47 -0800)]
Remove thread parameter from shmfilelockmgr functions

8 years agoRemove thread parameter from some string functions in PAL.
Aditya Mandaleeka [Wed, 4 Nov 2015 03:21:51 +0000 (19:21 -0800)]
Remove thread parameter from some string functions in PAL.

8 years agoRemove thread parameter from virtual memory functions in PAL
Aditya Mandaleeka [Wed, 4 Nov 2015 03:18:32 +0000 (19:18 -0800)]
Remove thread parameter from virtual memory functions in PAL

8 years agoRemove thread parameter from some PAL initialization functions.
Aditya Mandaleeka [Wed, 4 Nov 2015 02:02:56 +0000 (18:02 -0800)]
Remove thread parameter from some PAL initialization functions.

8 years agoRemove NativeVsnprintf and NativeVfprintf.
Aditya Mandaleeka [Wed, 4 Nov 2015 01:59:19 +0000 (17:59 -0800)]
Remove NativeVsnprintf and NativeVfprintf.

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

[tfs-changeset: 1545107]

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

Static analysis fixes

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

Fix sos clrstack unwinding for the special HelperMethodFrame.

8 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).

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

Adjust platform IDs for Unix NIs

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

Merge changes from TFS

8 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.

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

Clean up PAL File functions

8 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

8 years agoMerge pull request #1929 from bryanar/pr1-test-fix
Bryan P. Arant [Tue, 3 Nov 2015 21:57:59 +0000 (13:57 -0800)]
Merge pull request #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.

8 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.

8 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

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

Fix a bug in classification of structs with field holes.

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

Temporarily disable ubuntu coreclr release tests

8 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

8 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]

8 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.

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

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

8 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

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

Fix handling of embedded scopes with multiple exception holders

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

Remove thread parameter from InternalMalloc/Free/New/Delete

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

8 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

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

8 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

8 years agoFix hardcoded Utilities.IsWindows property
Alexander Köplinger [Mon, 2 Nov 2015 19:55:33 +0000 (20:55 +0100)]
Fix hardcoded Utilities.IsWindows property

This could probably use the new RuntimeInformation API in the future,
but since this would require touching project.json and bringing in a new
dependency I decided to go with the simple fix for now :)

8 years agoRemove Env helper class in tests
Alexander Köplinger [Mon, 2 Nov 2015 12:48:31 +0000 (13:48 +0100)]
Remove Env helper class in tests

It's not used in a lot of places and just makes life more complicated, because
Utilities.IsWindows is hardcoded to true right now (which should be fixed separately).

See https://github.com/dotnet/coreclr/pull/1907 for some details.

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

Fixed failing test 'InnerFinally'

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

Initial draft for inlining plans

8 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.

8 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.

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

Fix build breaks in GCSample

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

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

Merge changes from TFS

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

Enable Ubuntu x64 Release test runs in CI by default

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

Fix Unix exclusion lists

8 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]

8 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]

8 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]

8 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]

8 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

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

Fix for GH issue #1884.

8 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

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

Make GC stress tests cross platform

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

Remove redefinition of new and delete in alloc.h