platform/upstream/coreclr.git
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 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 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 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

9 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

9 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

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

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

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

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

9 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'

9 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

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.

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.

9 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

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

9 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

9 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

9 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

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]

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]

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]

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]

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

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

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

9 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

9 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

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

Fix syntax error on x86

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

Modify Platform ID of Linux NIs (issue #1035)

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

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

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

Disabled tests failing on Pinvoke to Kernel32.dll on Linux

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.

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

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

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

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]

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

Fix reloc type in the absence of reloc hint

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]

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

Merge changes from TFS

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]

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

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

Merge changes from TFS

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

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

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]

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

Fix putarg_stk for tail call functions.

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]

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

Temporarily remove GIT_COMMIT capture and passing

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

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.

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

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

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

Initial removal of thread suspension code from PAL

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

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

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

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

Merge changes from TFS

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

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]

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

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

Fix for run-only pr1 tests.

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.

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

Implement LocalReAlloc in PAL

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

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

Add missing exception holder to EX_TRY

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.

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

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.

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

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.

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

Fix a CrossGen assert on Linux

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.

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

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.

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

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

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