platform/upstream/coreclr.git
9 years agoAdd StackString class for stack/heap allocation for MAX_LONGPATH.
Lakshmi Priya Sekar [Thu, 10 Sep 2015 06:18:32 +0000 (23:18 -0700)]
Add StackString class for stack/heap allocation for MAX_LONGPATH.
Add stackstring.cpp to build.

9 years agoMerge pull request #1520 from sergey-raevskiy/clarify-comment
Jan Kotas [Wed, 9 Sep 2015 15:13:46 +0000 (08:13 -0700)]
Merge pull request #1520 from sergey-raevskiy/clarify-comment

Clarify comment

9 years agoClarify comment
sergey-raevskiy [Wed, 9 Sep 2015 10:48:59 +0000 (13:48 +0300)]
Clarify comment

9 years agoMerge pull request #1518 from janvorli/fix-some-printf-formats
Jan Vorlicek [Wed, 9 Sep 2015 00:53:19 +0000 (02:53 +0200)]
Merge pull request #1518 from janvorli/fix-some-printf-formats

Fix printf formatting for ll, I and I32 length modifiers

9 years agoReflect PR feedback
Jan Vorlicek [Tue, 8 Sep 2015 22:53:41 +0000 (00:53 +0200)]
Reflect PR feedback

9 years agoMerge pull request #1497 from adityamandaleeka/fix_warnings
Aditya Mandaleeka [Tue, 8 Sep 2015 22:42:57 +0000 (15:42 -0700)]
Merge pull request #1497 from adityamandaleeka/fix_warnings

Fix the remaining unused variable/label warnings

9 years agoFix printf formatting for ll, I and I32 length modifiers
Jan Vorlicek [Tue, 8 Sep 2015 22:04:14 +0000 (00:04 +0200)]
Fix printf formatting for ll, I and I32 length modifiers

These modifiers were not handled at all.

9 years agoMerge pull request #1516 from janvorli/fix-managed-exception-dispatch-2
Jan Vorlicek [Tue, 8 Sep 2015 21:46:22 +0000 (23:46 +0200)]
Merge pull request #1516 from janvorli/fix-managed-exception-dispatch-2

Fix missing uses of the INSTALL_MANAGED_EXCEPTION_DISPATCHER

9 years agoFix missing uses of the INSTALL_MANAGED_EXCEPTION_DISPATCHER
Jan Vorlicek [Tue, 8 Sep 2015 21:04:28 +0000 (23:04 +0200)]
Fix missing uses of the INSTALL_MANAGED_EXCEPTION_DISPATCHER

This fixes issues stemming from my recent changes in managed exception dispatching
where I have missed few places where we need to perform managed exception dispatching
or unhandled exception reporting.

9 years agoFix the remaining unused variable/label warnings
Aditya Mandaleeka [Fri, 4 Sep 2015 01:11:49 +0000 (18:11 -0700)]
Fix the remaining unused variable/label warnings

9 years agoMerge pull request #1515 from janvorli/fix-funceval-personality-routine
Jan Vorlicek [Tue, 8 Sep 2015 16:57:10 +0000 (18:57 +0200)]
Merge pull request #1515 from janvorli/fix-funceval-personality-routine

Remove FuncEvalHijackPersonalityRoutine for PAL

9 years agoRemove FuncEvalHijackPersonalityRoutine for PAL
Jan Vorlicek [Tue, 8 Sep 2015 12:01:30 +0000 (14:01 +0200)]
Remove FuncEvalHijackPersonalityRoutine for PAL

The personality routine on Windows is responsible for redirecting exception unwinding
to a different context when function evaluation is injected into a managed thread and
there is an exception that escapes the evaluation. However, the FuncEvalHijackRealWorker
catches all exceptions that happen during the function evaluation, so nothing should
escape.
Moreover, if anything escaped, it would go to the original hijacked code which is not
expected.
So I am replacing the personality routine for PAL with UnhandledExceptionHandlerUnix
to guard against unexpected exception escaping.

I am also setting the same personality routine to the ExceptionHijack function. Some
time ago, it was removed completely there as a temporary fix for a problem with limited
max number of personality routines in single executable. I have looked at it
again and I can see that no exception should escape the ExceptionHijackWorker either and
so the same thing as for FuncEvalHijack applies for ExceptionHijack too.

9 years agoMerge pull request #1496 from janvorli/fix-exception-memleak
Jan Vorlicek [Tue, 8 Sep 2015 12:50:24 +0000 (14:50 +0200)]
Merge pull request #1496 from janvorli/fix-exception-memleak

Fix memory leak from managed exceptions

9 years agoMerge pull request #1514 from janvorli/fix-managed-exception-dispatch-way-2
Jan Vorlicek [Tue, 8 Sep 2015 12:26:39 +0000 (14:26 +0200)]
Merge pull request #1514 from janvorli/fix-managed-exception-dispatch-way-2

Fix managed exception dispatching

9 years agoFix managed exception dispatching
Jan Vorlicek [Tue, 8 Sep 2015 11:23:13 +0000 (13:23 +0200)]
Fix managed exception dispatching

The managed exception dispatching is initiated from the UNINSTALL_MANAGED_EXCEPTION_DISPATCHER
macro and it should be used only at the border between managed and native code, when managed
code calls native one. This macro is part of the UNINSTALL_UNWIND_AND_CONTINUE_HANDLER_NO_PROBE
macro. However, it turns out that the UNINSTALL_UNWIND_AND_CONTINUE_HANDLER_NO_PROBE
(or the UNINSTALL_UNWIND_AND_CONTINUE_HANDLER that uses it) is also used at places where
there is no managed / native border. In that case, the managed dispatching results incorrectly
in skipping native frames that would otherwise handle the exception.

The fix removes the INSTALL_MANAGED_EXCEPTION_DISPATCHER / UNINSTALL_MANAGED_EXCEPTION_DISPATCHER
from the INSTALL_UNWIND_AND_CONTINUE_HANDLER_NO_PROBE / UNINSTALL_UNWIND_AND_CONTINUE_HANDLER_NO_PROBE
and puts them to specific places where INSTALL_UNWIND_AND_CONTINUE_HANDLER_NO_PROBE /
UNINSTALL_UNWIND_AND_CONTINUE_HANDLER_NO_PROBE and INSTALL_UNWIND_AND_CONTINUE_HANDLER /
UNINSTALL_UNWIND_AND_CONTINUE_HANDLER are used at the border between managed and native code.

9 years agoMerge pull request #1507 from mikem8361/fixosx
Mike McLaughlin [Mon, 7 Sep 2015 17:27:16 +0000 (10:27 -0700)]
Merge pull request #1507 from mikem8361/fixosx

 Fix debugger/debuggee connection on OS X

9 years agoFix debugger/debuggee connection on OSx.
Mike McLaughlin [Sat, 5 Sep 2015 22:39:17 +0000 (15:39 -0700)]
Fix debugger/debuggee connection on OSx.

The reason there were problems connecting on OS X was that the read
on the debugger/debuggee pipe didn't return the full number of bytes
requested on the first read. There are times (depending on the size
of the read request) that multiple reads to be made to get all the
bytes requested. This change adds code to retry the read or write
until all the bytes requested are read or written.

9 years agoMerge pull request #1503 from benpye/arm-strike-build-fix
Jan Vorlicek [Mon, 7 Sep 2015 06:52:06 +0000 (08:52 +0200)]
Merge pull request #1503 from benpye/arm-strike-build-fix

Fix ARM Strike build

9 years agoMerge pull request #1501 from erozenfeld/ReadyToRunThrowHelpers
Jan Kotas [Sun, 6 Sep 2015 00:02:43 +0000 (17:02 -0700)]
Merge pull request #1501 from erozenfeld/ReadyToRunThrowHelpers

Add mappings for ReadyToRun helpers used by llilc.

9 years agoFixes ARM Strike build
Ben Pye [Sat, 5 Sep 2015 23:56:17 +0000 (23:56 +0000)]
Fixes ARM Strike build

9 years agoAdd mappings for ReadyToRun helpers used by llilc:
Eugene Rozenfeld [Fri, 14 Aug 2015 06:14:09 +0000 (23:14 -0700)]
Add mappings for ReadyToRun helpers used by llilc:
READYTORUN_HELPER_ThrowNullRef and READYTORUN_HELPER_ThrowDivZero.

Allow ReadyToRun tests to be run with llilc.

9 years agoFix memory leak from managed exceptions
Jan Vorlicek [Fri, 4 Sep 2015 13:19:46 +0000 (15:19 +0200)]
Fix memory leak from managed exceptions

Handling thrown PAL_SEHException was causing leaks for all exceptions thrown due to
two aspects:
1) PAL_GetStackBase() and PAL_GetStackLimit() were missing calls to pthread_attr_destroy()
2) We were calling the DispatchManagedException from C++ catch handlers and this function
   never returns. So the C++ exception handling never called __cxa_end_catch that is
   responsible for freeing the exception storage allocated by the C++ runtime.
The fix to the 2nd aspect was to store a copy of the exception in the catch handler, let it
complete and then call the DispatchManagedException with the copy. It was also necessary to
slightly modify the unwinding of sequences of native frames since there is now no rethrowable
exception and the StartUnwindingManagedFrames has to throw a new one.
This change has a secondary benefit - the StartUnwindingManagedFrames no longer calls
__cxa_rethrow, but rather a helper C++ function that uses regular "throw" keyword.
That makes the code more portable.

9 years agoMerge pull request #1491 from janvorli/unix-remove-thread-affinity-and-critical-region
Jan Vorlicek [Fri, 4 Sep 2015 19:52:54 +0000 (21:52 +0200)]
Merge pull request #1491 from janvorli/unix-remove-thread-affinity-and-critical-region

Remove thread affinity and critical region stuff for Unix

9 years agoRemove thread affinity and critical region stuff for Unix
Jan Vorlicek [Fri, 4 Sep 2015 08:16:37 +0000 (10:16 +0200)]
Remove thread affinity and critical region stuff for Unix

The WaitHandleNative::CorWaitMultipleNative was calling Thread::BeginThreadAffinityAndCriticalRegion
that results in incrementing the Thread::m_dwCriticalRegionCount. However, there is nothing
that would decrement it on CoreCLR, so if the WaitHandleNative::CorWaitMultipleNative is called,
in debug build we get an assert in Thread::InternalReset.

It turns out that the critical region and thread affinity stuff is not to be used in CoreCLR,
so I have disabled handling of that in CoreCLR for Unix.
The only remainder are the static methods Thread::BeginThreadAffinity and Thread::EndThreadAffinity
which are used in the ThreadAffinityHolder. Conditionally removing the holder usage would be messy,
so I have rather kept those methods and made their bodies empty.

9 years agoMerge pull request #1484 from gitchomik/master
Jan Kotas [Fri, 4 Sep 2015 18:15:54 +0000 (11:15 -0700)]
Merge pull request #1484 from gitchomik/master

Documentation - building mscorlib.dll using Mono on Linux

9 years agoBuilding mscorlib.dll using Mono on Linux
gitchomik [Thu, 3 Sep 2015 19:10:02 +0000 (21:10 +0200)]
Building mscorlib.dll using Mono on Linux

Some information about building mscorlib.dll without Windows

Update linux-instructions.md

some @ellismg suggestions

9 years agoMerge pull request #1493 from christos-P/patch-1
Jan Kotas [Fri, 4 Sep 2015 17:46:39 +0000 (10:46 -0700)]
Merge pull request #1493 from christos-P/patch-1

minor correction

9 years agoMerge pull request #1490 from BruceForstall/FixILTests
Matt Mitchell [Fri, 4 Sep 2015 16:44:02 +0000 (09:44 -0700)]
Merge pull request #1490 from BruceForstall/FixILTests

Fix IL JIT tests

9 years agominor correction
christos-P [Fri, 4 Sep 2015 15:39:12 +0000 (18:39 +0300)]
minor correction

9 years agoMerge pull request #1492 from benjamin-hodgson/patch-1
Jan Kotas [Fri, 4 Sep 2015 12:13:43 +0000 (05:13 -0700)]
Merge pull request #1492 from benjamin-hodgson/patch-1

Fix link to API review process documentation

9 years agoMerge pull request #1489 from kangaroo/arm-clang-fixes
Jan Kotas [Fri, 4 Sep 2015 12:12:42 +0000 (05:12 -0700)]
Merge pull request #1489 from kangaroo/arm-clang-fixes

[arm] Fix RtlRestoreContext on ARM with newer clang

9 years agoFix link to API review process documentation
Benjamin Hodgson [Fri, 4 Sep 2015 10:57:44 +0000 (11:57 +0100)]
Fix link to API review process documentation

9 years ago[arm] Fix RtlRestoreContext on ARM with newer clang
Geoff Norton [Fri, 4 Sep 2015 03:26:34 +0000 (03:26 +0000)]
[arm] Fix RtlRestoreContext on ARM with newer clang

9 years agoMore System.Console IL test cleanup
Bruce Forstall [Fri, 4 Sep 2015 04:19:49 +0000 (21:19 -0700)]
More System.Console IL test cleanup

9 years agoFix more System.Console references
Bruce Forstall [Fri, 4 Sep 2015 01:42:49 +0000 (18:42 -0700)]
Fix more System.Console references

9 years agoAdd System.Console references and replace usages with [System.Console]
Bruce Forstall [Fri, 4 Sep 2015 00:36:18 +0000 (17:36 -0700)]
Add System.Console references and replace usages with [System.Console]

9 years agoCanonicalize appearance of empty mscorlib assembly references in .il tests
Bruce Forstall [Fri, 4 Sep 2015 00:14:24 +0000 (17:14 -0700)]
Canonicalize appearance of empty mscorlib assembly references in .il tests

9 years agoMerge pull request #1486 from AndyAyersMS/FixWarnings
Andy Ayers [Thu, 3 Sep 2015 22:26:21 +0000 (15:26 -0700)]
Merge pull request #1486 from AndyAyersMS/FixWarnings

Fix compilation warnings in gcinfoencoder.

9 years agoFix compilation warnings in gcinfoencoder.
Andy Ayers [Thu, 3 Sep 2015 21:11:36 +0000 (14:11 -0700)]
Fix compilation warnings in gcinfoencoder.

Add fake uses for two variables referenced only in asserts.

9 years agoMerge pull request #1483 from adityamandaleeka/unused_pc_functions
Aditya Mandaleeka [Thu, 3 Sep 2015 21:00:36 +0000 (14:00 -0700)]
Merge pull request #1483 from adityamandaleeka/unused_pc_functions

Fix warnings about Get/SetPc functions

9 years agoMerge pull request #1481 from mmitche/fix-strike-build-arm-cross
Matt Mitchell [Thu, 3 Sep 2015 20:17:38 +0000 (13:17 -0700)]
Merge pull request #1481 from mmitche/fix-strike-build-arm-cross

Fix the SOS strike build on arm/arm64 cross

9 years agoMerge pull request #1451 from Priya91/longpath
Lakshmi Priya [Thu, 3 Sep 2015 19:32:18 +0000 (12:32 -0700)]
Merge pull request #1451 from Priya91/longpath

Replace MAX_PATH defines with new defines in pal.

9 years agoFix warnings about Get/SetPc functions
Aditya Mandaleeka [Thu, 3 Sep 2015 19:01:13 +0000 (12:01 -0700)]
Fix warnings about Get/SetPc functions

9 years agoFix the SOS strike build on arm/arm64 cross
Matt Mitchell [Thu, 3 Sep 2015 17:33:33 +0000 (10:33 -0700)]
Fix the SOS strike build on arm/arm64 cross

Fix wrong casing for filename and remove bailing for non-x64

9 years agoMerge pull request #1479 from mmitche/fix-package-issues
Matt Mitchell [Thu, 3 Sep 2015 16:24:20 +0000 (09:24 -0700)]
Merge pull request #1479 from mmitche/fix-package-issues

Package updates and fixes

9 years agoFix directory longname test failures on Linux.
Lakshmi Priya Sekar [Tue, 1 Sep 2015 00:23:01 +0000 (17:23 -0700)]
Fix directory longname test failures on Linux.

9 years agoPackage updates and fixes
Matt Mitchell [Wed, 2 Sep 2015 23:18:14 +0000 (16:18 -0700)]
Package updates and fixes
1) Float package versions
2) Change readytorun packages to use project.json.  The versions that were referenced in the packages.config didn't actually exist anyway, and on machines with cleaner caches, might cause a build breka
3) Lock SIMD packages

9 years agoMerge pull request #1450 from ww898/build_with_spaces
Matt Mitchell [Wed, 2 Sep 2015 15:07:32 +0000 (08:07 -0700)]
Merge pull request #1450 from ww898/build_with_spaces

Update build.cmd to support spaces in coreclr checkout directory

9 years agoMerge pull request #1472 from ellismg/cleanup-msbuild-build-args
Matt Mitchell [Wed, 2 Sep 2015 15:06:51 +0000 (08:06 -0700)]
Merge pull request #1472 from ellismg/cleanup-msbuild-build-args

Fix release build of mscorlib from build.sh

9 years agoMerge pull request #1471 from mikem8361/modenumosx
Mike McLaughlin [Wed, 2 Sep 2015 02:45:16 +0000 (19:45 -0700)]
Merge pull request #1471 from mikem8361/modenumosx

Added process module enumeration for OSx.

9 years agoChanged popen to execute "/usr/bin/vmmap".
Mike McLaughlin [Wed, 2 Sep 2015 02:42:36 +0000 (19:42 -0700)]
Changed popen to execute "/usr/bin/vmmap".

9 years agoMerge pull request #1470 from dotnet-bot/from-tfs
Matt Ellis [Wed, 2 Sep 2015 00:03:27 +0000 (17:03 -0700)]
Merge pull request #1470 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #1464 from gitchomik/patch-1
Matt Ellis [Wed, 2 Sep 2015 00:02:43 +0000 (17:02 -0700)]
Merge pull request #1464 from gitchomik/patch-1

Update linux-instructions.md

9 years agoAdded process module enumeration for OSx.
Mike McLaughlin [Sat, 29 Aug 2015 00:51:53 +0000 (17:51 -0700)]
Added process module enumeration for OSx.

Enable building dbi and dbgshim on OSx. Cache the process module list in the local process data because EnumProcessModules/GetModuleFileNameExW are called by dbgshim a lot and building the list every time really affected performance especially on OSx.

9 years agoFix release build of mscorlib from build.sh
Matt Ellis [Tue, 1 Sep 2015 22:17:54 +0000 (15:17 -0700)]
Fix release build of mscorlib from build.sh

The mscorlib build in build.sh was not correctly flowing __BuildType
into MSBuild, which caused us to always build a Debug mscorlib.

While I was in the area, I removed the defines for OSGroup (which are
unused, as we use __BuildOS instead) and cleaned up some of the property
switches so we always pass prefixed properties (the bare names are the
computed ones from our targets in msbuild).

9 years agoMerge pull request #1469 from mikem8361/freebsdfix
Mike McLaughlin [Tue, 1 Sep 2015 21:10:21 +0000 (14:10 -0700)]
Merge pull request #1469 from mikem8361/freebsdfix

Fix FreeBSD build after merge of my changes from the ProjectK branch.

9 years agoMerge pull request #1458 from ANDREENKOS/SIMDTests
Pat Gavlin [Tue, 1 Sep 2015 18:33:15 +0000 (11:33 -0700)]
Merge pull request #1458 from ANDREENKOS/SIMDTests

delete fixed tests from issue list

9 years agoFix FreeBSD build after merge of my changes from the ProjectK branch.
Mike McLaughlin [Tue, 1 Sep 2015 16:47:47 +0000 (09:47 -0700)]
Fix FreeBSD build after merge of my changes from the ProjectK branch.

9 years agoMerge pull request #1467 from janvorli/fix-curl-pinvoke
Stephen Toub [Tue, 1 Sep 2015 14:54:41 +0000 (10:54 -0400)]
Merge pull request #1467 from janvorli/fix-curl-pinvoke

Fix PInvokes into libraries using pthread locks

9 years agoFix pthread locks initialization issue
Jan Vorlicek [Tue, 1 Sep 2015 11:25:55 +0000 (13:25 +0200)]
Fix pthread locks initialization issue

This change fixes a problem on Linux when pinvoke loads a shared library and
that library transitively uses pthread locks. In that case, the locks may
not be initialized yet and behave as nops, causing the thread synchronization
to not to work.
Linking corerun / coreconsole with pthreads ensures that the locks are always
properly initialized.

9 years ago The UPDATE_CONTEXT_POINTERS actually breaks lots of debuggers tests. The root probl...
Zhicheng Zhu [Tue, 1 Sep 2015 03:03:00 +0000 (20:03 -0700)]
 The UPDATE_CONTEXT_POINTERS actually breaks lots of debuggers tests.  The root problem is that when arm unwind the stack, we will call this function
     hr = RtlpUnwindFunctionFull(pContext->Pc - (ULONG)ImageBase,
                                         (ULONG)ImageBase,
                                         &Rfe,
                                         pContext,
                                         &DummyEstablisherFrame,
                                         &DummyHandlerRoutine,
                                         &DummyHandlerData,
                                         NULL);  <-- UnwindParams

     This will set UnwindParams as NULL, and eventually passed to UPDATE_CONTEXT_POINTERS and UPDATE_FP_CONTEXT_POINTERS in RtlpPopRegisterMask. This will generate the AV.
     The fix is just simply checking the whether the Params is NULL or not.

[tfs-changeset: 1520758]

9 years agoFix the build break caused by my recent xplat SOS changes.
Mike McLaughlin [Mon, 31 Aug 2015 20:24:29 +0000 (13:24 -0700)]
Fix the build break caused by my recent xplat SOS changes.

[tfs-changeset: 1520601]

9 years agoUpdate linux-instructions.md
gitchomik [Mon, 31 Aug 2015 19:39:11 +0000 (21:39 +0200)]
Update linux-instructions.md

Added information about Native Components in runtime directory

9 years agodelete fixed tests from issue list
Sergey Andreenko [Fri, 28 Aug 2015 20:58:18 +0000 (13:58 -0700)]
delete fixed tests from issue list

According to https://github.com/dotnet/corefx/pull/2971 remove tests
that were affected by https://github.com/dotnet/coreclr/issues/1441 from
issues.

9 years agoRespond to PR feedback.
Lakshmi Priya Sekar [Fri, 28 Aug 2015 20:46:30 +0000 (13:46 -0700)]
Respond to PR feedback.

9 years agoMerge pull request #1455 from janvorli/ready-to-run-tests-2
Jan Vorlicek [Fri, 28 Aug 2015 19:28:21 +0000 (21:28 +0200)]
Merge pull request #1455 from janvorli/ready-to-run-tests-2

Ensure ReadyToRun test verifies version resiliency

9 years agoEnsure ReadyToRun test verifies version resiliency
Jan Vorlicek [Fri, 28 Aug 2015 10:12:28 +0000 (12:12 +0200)]
Ensure ReadyToRun test verifies version resiliency

This change modifies the ReadyToRun test so that it verifies assembly version resiliency.

9 years agoMerge pull request #1446 from benpye/arm-regression-fix
Jan Kotas [Fri, 28 Aug 2015 04:29:00 +0000 (21:29 -0700)]
Merge pull request #1446 from benpye/arm-regression-fix

Fix build regression for ARM.

9 years agoMerge pull request #1442 from mikem8361/cmdaliases
Mike McLaughlin [Fri, 28 Aug 2015 01:40:22 +0000 (18:40 -0700)]
Merge pull request #1442 from mikem8361/cmdaliases

Enabled GCInfo, EEHeap, DumpRuntimeTypes and EHInfo SOS commands

9 years agoReplace MAX_PATH defines with new defines in pal.
Lakshmi Priya Sekar [Fri, 28 Aug 2015 00:46:38 +0000 (17:46 -0700)]
Replace MAX_PATH defines with new defines in pal.

9 years agoMerge pull request #1449 from Priya91/longpath-binder
Lakshmi Priya [Thu, 27 Aug 2015 23:42:55 +0000 (16:42 -0700)]
Merge pull request #1449 from Priya91/longpath-binder

Replace missed MAX_PATH defines with new defines in vm.

9 years agoEnabled GCInfo, EEHeap, DumpRuntimeTypes and EHInfo SOS commands.
Mike McLaughlin [Thu, 20 Aug 2015 22:43:16 +0000 (15:43 -0700)]
Enabled GCInfo, EEHeap, DumpRuntimeTypes and EHInfo SOS commands.

Added some aliases for the most common commands:

    bpmd            -> sos bpmd
    clrstack        -> sos ClrStack
    clrthreads      -> sos Threads
    dumpheap        -> sos DumpHeap
    dumpobj         -> sos DumpObj
    dso             -> sos DumpStackObjects
    eeheap          -> sos EEHeap
    gcroot          -> sos GCRoot
    ip2md           -> sos IP2MD
    printexception  -> sos PrintException

Updated the debugging documentation.

Remove the "build.out" file unintentionally added.

9 years agoMerge pull request #1406 from ANDREENKOS/SIMDTests
Pat Gavlin [Thu, 27 Aug 2015 21:31:43 +0000 (14:31 -0700)]
Merge pull request #1406 from ANDREENKOS/SIMDTests

SIMD tests

9 years agoMerge pull request #1439 from kouvel/PalErrorOnNamedSyncObject
Koundinya Veluri [Thu, 27 Aug 2015 20:32:05 +0000 (13:32 -0700)]
Merge pull request #1439 from kouvel/PalErrorOnNamedSyncObject

Return error upon attemping to create named objects in PAL

9 years agoUpdate build.cmd to support spaces in clerclr checkout directory
Mikhail Pilin [Thu, 27 Aug 2015 19:27:21 +0000 (21:27 +0200)]
Update build.cmd to support spaces in clerclr checkout directory

9 years agoReplace missed MAX_PATH defines with new defines in vm.
Lakshmi Priya Sekar [Thu, 27 Aug 2015 18:24:07 +0000 (11:24 -0700)]
Replace missed MAX_PATH defines with new defines in vm.

9 years agoMerge pull request #1445 from LLITCHEV/master
Lubomir Litchev [Thu, 27 Aug 2015 17:47:05 +0000 (10:47 -0700)]
Merge pull request #1445 from LLITCHEV/master

Fix for ref counting issue introduced in a recent optimization.

9 years agoNew tests were added.
Sergey Andreenko [Sat, 22 Aug 2015 04:09:50 +0000 (21:09 -0700)]
New tests were added.

Some new SIMD tests were added, useless were deleted.
Tests, that are affected by issue 1441 are excluded.

mend

9 years agoSIMD tests
Sergey Andreenko [Tue, 18 Aug 2015 00:48:22 +0000 (17:48 -0700)]
SIMD tests

Commit includes SIMD tests of two types:
1) Intrinsic tests, that call functions from RyuJIT SIMD intrinsic list.
2) Bytecode tests, which generate different bytecodes in IL with SIMD
struct.

9 years agoMerge pull request #1205 from benpye/pal-test-junit
Matt Mitchell [Thu, 27 Aug 2015 15:39:16 +0000 (08:39 -0700)]
Merge pull request #1205 from benpye/pal-test-junit

runpaltests.sh outputs a XUnit compatible result file for Jenkins.

9 years agoFix build regression for ARM.
Ben Pye [Thu, 27 Aug 2015 03:27:46 +0000 (04:27 +0100)]
Fix build regression for ARM.

Allow mscorlib.dll to be built for non x64 platforms on Linux.

9 years agoFix for ref counting issue introduced in a recent optimization.
Lubomir Litchev [Thu, 27 Aug 2015 07:08:12 +0000 (00:08 -0700)]
Fix for ref counting issue introduced in a recent optimization.

A recent optimization failed to update references to a LclVar when a
bounds check node and index were intruduced. This change is making sure
the ref count is maintained properly.

9 years agoReturn error upon attemping to create named objects in PAL.
Koundinya Veluri [Fri, 21 Aug 2015 18:43:34 +0000 (11:43 -0700)]
Return error upon attemping to create named objects in PAL.

Update PAL APIs that create named objects (mutex, semaphore, event, file mapping) to return a not-supported error code. It was decided to not support cross-process synchronization in PAL at present time due to complexities involved in reliably emulating Windows' behavior. @stephentoub has already made changes on the FX side to throw PlatformNotSupportedException in these cases.

Related to issue #1237.

9 years agoUse printf instead of non standard -e
Ben Pye [Wed, 26 Aug 2015 23:06:36 +0000 (00:06 +0100)]
Use printf instead of non standard -e

9 years agoTry fixing FreeBSD PAL tests
Ben Pye [Wed, 26 Aug 2015 22:40:33 +0000 (23:40 +0100)]
Try fixing FreeBSD PAL tests

9 years agoMerge pull request #1435 from Priya91/longpath-binder
Lakshmi Priya [Wed, 26 Aug 2015 22:03:10 +0000 (15:03 -0700)]
Merge pull request #1435 from Priya91/longpath-binder

Replace MAX_PATH with new defines in clr\src\binder.

9 years agorunpaltests.sh outputs a XUnit compatible result file for Jenkins.
Ben Pye [Sat, 4 Jul 2015 15:45:48 +0000 (16:45 +0100)]
runpaltests.sh outputs a XUnit compatible result file for Jenkins.

9 years agoMerge pull request #1437 from janvorli/ready-to-run-tests
Jan Vorlicek [Wed, 26 Aug 2015 19:45:35 +0000 (21:45 +0200)]
Merge pull request #1437 from janvorli/ready-to-run-tests

Add ready to run tests

9 years agoAdd ready to run tests
Jan Vorlicek [Mon, 18 May 2015 13:17:53 +0000 (15:17 +0200)]
Add ready to run tests

Add tests to verify ready to run handles versioning correctly.

9 years agoMerge pull request #1436 from janvorli/fix-gc-during-exception-handling-2
Jan Vorlicek [Wed, 26 Aug 2015 13:40:01 +0000 (15:40 +0200)]
Merge pull request #1436 from janvorli/fix-gc-during-exception-handling-2

Fix corner case of GC stack walking during exception handling

9 years agoFix corner case of GC stack walking during exception handling
Jan Vorlicek [Wed, 26 Aug 2015 10:34:25 +0000 (12:34 +0200)]
Fix corner case of GC stack walking during exception handling

This change fixes a corner case of GC stack walking during exception handling
that I have missed in my previous fix. When GC suspends a thread while it is
performing second pass of exception handling, in some cases the previous
exception tracker is already collapsed into the current one and so the
evidence on a frame being a parent of an already executed handler funclet
cannot be extracted from previous trackers and stack walker tries to pass
an outdated reference to GC.
Fortunatelly, the information about the parent from the collapsed tracker
is stored in the tracker into which the collapsed one was merged and
so we can test it using that.

9 years agoMerge pull request #1371 from adityamandaleeka/gcsuspension_2
Aditya Mandaleeka [Wed, 26 Aug 2015 01:34:04 +0000 (18:34 -0700)]
Merge pull request #1371 from adityamandaleeka/gcsuspension_2

Implement GC suspension for Linux [WIP]

9 years agoReplace MAX_PATH with new defines in vm.
Lakshmi Priya Sekar [Tue, 25 Aug 2015 23:19:37 +0000 (16:19 -0700)]
Replace MAX_PATH with new defines in vm.

9 years agoMerge pull request #1434 from kangaroo/pinvoke-stubs
Jan Kotas [Tue, 25 Aug 2015 20:59:38 +0000 (13:59 -0700)]
Merge pull request #1434 from kangaroo/pinvoke-stubs

[amd64] Implement the pinvoke stubs for unix

9 years agoReplace MAX_PATH with new defines.
Lakshmi Priya Sekar [Tue, 25 Aug 2015 20:13:51 +0000 (13:13 -0700)]
Replace MAX_PATH with new defines.

9 years ago[amd64] Implement the pinvoke stubs for unix
Geoff Norton [Tue, 25 Aug 2015 01:30:12 +0000 (18:30 -0700)]
[amd64] Implement the pinvoke stubs for unix

9 years agoDetect whether we interrupted an epilog properly
Aditya Mandaleeka [Tue, 25 Aug 2015 02:24:13 +0000 (19:24 -0700)]
Detect whether we interrupted an epilog properly

9 years agoMerge pull request #1381 from JeremyKuhne/maxpath
Jeremy Kuhne [Tue, 25 Aug 2015 01:18:56 +0000 (18:18 -0700)]
Merge pull request #1381 from JeremyKuhne/maxpath

Run code under long paths on Unix

9 years agoMerge pull request #1428 from jkotas/readytorun-doc
Jan Kotas [Tue, 25 Aug 2015 01:02:28 +0000 (18:02 -0700)]
Merge pull request #1428 from jkotas/readytorun-doc

Add ReadyToRun overview to documentation

9 years agoAdd ReadyToRun overview to documentation
Jan Kotas [Mon, 24 Aug 2015 11:50:43 +0000 (04:50 -0700)]
Add ReadyToRun overview to documentation