platform/upstream/coreclr.git
9 years agoMerge pull request #843 from AndyAyersMS/JitTesting
Andy Ayers [Wed, 29 Apr 2015 18:03:42 +0000 (11:03 -0700)]
Merge pull request #843 from AndyAyersMS/JitTesting

Initial roadmap for JIT testing

9 years agoMerge pull request #831 from stephentoub/build_mscorlib_2015
Stephen Toub [Wed, 29 Apr 2015 14:21:34 +0000 (10:21 -0400)]
Merge pull request #831 from stephentoub/build_mscorlib_2015

Enable building linuxmscorlib / osxmscorlib with VS2015

9 years agoMerge pull request #860 from JohnChen0/master
John Chen [Wed, 29 Apr 2015 06:18:34 +0000 (23:18 -0700)]
Merge pull request #860 from JohnChen0/master

Build crossgen for Linux

9 years agoBuild crossgen for Linux
John Chen (JOCHEN7) [Tue, 28 Apr 2015 20:20:01 +0000 (13:20 -0700)]
Build crossgen for Linux

- Crossgen is now built as part of coreclr
- Crossgen successfully compiles mscorlib.dll
- Resulting mscorlib.ni.dll not yet usable

9 years agoMerge pull request #848 from Djuffin/dbi-linux
Eugene Zemtsov [Wed, 29 Apr 2015 03:29:32 +0000 (20:29 -0700)]
Merge pull request #848 from Djuffin/dbi-linux

Make DbgShim really useful for managed attach on Linux

9 years agoMerge pull request #865 from jkotas/deadcode-eh
Jan Vorlicek [Wed, 29 Apr 2015 03:10:55 +0000 (20:10 -0700)]
Merge pull request #865 from jkotas/deadcode-eh

Delete some dead exception handling related code in the PAL

9 years agoMerge pull request #863 from jkotas/fix-link
Jan Kotas [Wed, 29 Apr 2015 02:01:02 +0000 (19:01 -0700)]
Merge pull request #863 from jkotas/fix-link

Fix link to JIT overview doc

9 years agoMerge pull request #864 from dotnet-bot/from-tfs
Jan Kotas [Wed, 29 Apr 2015 01:59:20 +0000 (18:59 -0700)]
Merge pull request #864 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoDelete some dead exception handling related code in the PAL
Jan Kotas [Wed, 29 Apr 2015 01:52:44 +0000 (18:52 -0700)]
Delete some dead exception handling related code in the PAL

9 years agoRemove unused code and address codereview comments
Eugene Zemtsov [Wed, 29 Apr 2015 01:21:33 +0000 (18:21 -0700)]
Remove unused code and address codereview comments

9 years agoUpdating WinRT Projections to use Facades
Ryan Byington [Wed, 29 Apr 2015 00:53:30 +0000 (17:53 -0700)]
Updating WinRT Projections to use Facades

WinRT projections currently depend on implementation assemblies like System.Uri living in System.dll. System.Uri has already been moved out of System.dll to Internal.Uri.dll which breaks the projection for System.Uri. This change updates the WinRT projection to understand Facades like System.Runtime to resolve System.Uri.

When we load a type like System.Uri we need to know if it is a projected type. We currently do this by comparing the namespace plus type name and assembly however this only works because we know the implementation assembly at compile time.

I am changing it so that we use ClassLoader to resolve the typedef and assembly and compare the resolved assembly with the current one.

Also removing the cached assemblies as they don’t add a lot of value anymore.

[tfs-changeset: 1461733]

9 years agoMerge pull request #861 from adityamandaleeka/remove-mac-build-hack
Aditya Mandaleeka [Wed, 29 Apr 2015 00:26:31 +0000 (17:26 -0700)]
Merge pull request #861 from adityamandaleeka/remove-mac-build-hack

Remove Mac build workaround for __debug

9 years agoMerge pull request #855 from briansull/Wno-switch
Brian Sullivan [Wed, 29 Apr 2015 00:09:59 +0000 (17:09 -0700)]
Merge pull request #855 from briansull/Wno-switch

Wno switch

9 years agoFix link to JIT overview doc
Jan Kotas [Wed, 29 Apr 2015 00:05:06 +0000 (17:05 -0700)]
Fix link to JIT overview doc

9 years agoMerge pull request #845 from CarolEidt/RyuJITOverview
Carol Eidt [Tue, 28 Apr 2015 23:00:07 +0000 (16:00 -0700)]
Merge pull request #845 from CarolEidt/RyuJITOverview

Ryu jit overview

9 years agoRemove Mac build workaround
Aditya Mandaleeka [Tue, 28 Apr 2015 21:33:14 +0000 (14:33 -0700)]
Remove Mac build workaround

Remove the workaround for the issue in XCode 6.3 where __debug was being
included by some system headers but was not present. We were adding our
own include directory with a dummy '__debug' file. The issue has been
fixed by Apple in 6.3.1 so we no longer need this workaround.

9 years agoMerge pull request #857 from chribben/patch-1
Jan Kotas [Tue, 28 Apr 2015 22:19:38 +0000 (15:19 -0700)]
Merge pull request #857 from chribben/patch-1

Update linux-instructions.md

9 years agoMerge pull request #859 from JeremyKuhne/UpdateBuildDocs
Jeremy Kuhne [Tue, 28 Apr 2015 22:03:13 +0000 (15:03 -0700)]
Merge pull request #859 from JeremyKuhne/UpdateBuildDocs

Update CoreFx build instructions.

9 years agoMerge pull request #858 from mikem8361/staticpal
Mike McLaughlin [Tue, 28 Apr 2015 21:44:14 +0000 (14:44 -0700)]
Merge pull request #858 from mikem8361/staticpal

Go back to a statically linked PAL (issue #728).

9 years agoUpdate CoreFx build instructions.
Jeremy Kuhne [Tue, 28 Apr 2015 21:19:55 +0000 (14:19 -0700)]
Update CoreFx build instructions.

9 years agoUpdate linux-instructions.md
Christian Jacobsen [Tue, 28 Apr 2015 19:45:47 +0000 (21:45 +0200)]
Update linux-instructions.md

Substituted Unix with Linux in paths

9 years agoMerge pull request #853 from janvorli/fix-coreclr-resources-locale
Jan Vorlicek [Tue, 28 Apr 2015 18:36:18 +0000 (11:36 -0700)]
Merge pull request #853 from janvorli/fix-coreclr-resources-locale

Add back setting locale for gettext

9 years agoRemoved the -Wno-switch compiler option for the Clang builds on Linux
Brian Sullivan [Mon, 20 Apr 2015 23:36:14 +0000 (16:36 -0700)]
Removed the -Wno-switch compiler option for the Clang builds on Linux

Fix all these warnings in the JIT that were disabled by the -Wno-switch option
Fix the two new warnings in Strike/strike.cpp

9 years agoAdd back setting locale for gettext
Jan Vorlicek [Tue, 28 Apr 2015 16:28:53 +0000 (09:28 -0700)]
Add back setting locale for gettext

Add back setting locale for gettext that was accidentally removed by change #736

9 years agoAdd RyuJIT Overview to documentation
Carol Eidt [Mon, 27 Apr 2015 23:08:59 +0000 (16:08 -0700)]
Add RyuJIT Overview to documentation

Updated the overview doc, translated to markdown, and fixed
the link in compiler.cpp.

Fix #636

9 years agoFixes based on review feedback.
Andy Ayers [Tue, 28 Apr 2015 17:24:56 +0000 (10:24 -0700)]
Fixes based on review feedback.

Added some missing newlines, got rid of a few special characters, and fixed up some bad grammar.

9 years agoMerge pull request #852 from dotnet/richlander-patch-2
Matthew Whilden [Tue, 28 Apr 2015 17:13:20 +0000 (10:13 -0700)]
Merge pull request #852 from dotnet/richlander-patch-2

Update README.md

9 years agoUpdate README.md
Rich Lander [Tue, 28 Apr 2015 16:32:16 +0000 (09:32 -0700)]
Update README.md

- Fix custom DNX link.

9 years agoGo back to a statically linked PAL (issue #728).
Mike McLaughlin [Sun, 26 Apr 2015 00:44:45 +0000 (17:44 -0700)]
Go back to a statically linked PAL (issue #728).

Cleanup signal handling. Make sure the default signal action will happen if no previous handler by restore the signal and returning from the handler restarting the h/w exception.

9 years agoMerge pull request #849 from josteink/freebsd-buildinstructions
Jan Kotas [Tue, 28 Apr 2015 06:02:01 +0000 (23:02 -0700)]
Merge pull request #849 from josteink/freebsd-buildinstructions

FreeBSD build-instructions: Remove unneeded Linux-reference.

9 years agoMerge pull request #815 from mikem8361/palthread
Mike McLaughlin [Tue, 28 Apr 2015 05:47:34 +0000 (22:47 -0700)]
Merge pull request #815 from mikem8361/palthread

Handle threads in side-by-side statically linked PALs

9 years agoHandle threads in side-by-side statically linked PALs
Mike McLaughlin [Tue, 31 Mar 2015 19:03:31 +0000 (12:03 -0700)]
Handle threads in side-by-side statically linked PALs

Create CPalThread object on the fly in InternalGetCurrentThread. SIGUSR1/SIGUSR2 are needed by the PAL thread suspend/resume logic. Enable them for PAL_InitializeDLL. Added an assert and ExitProcess to the on the fly CPalThread data allocation failure path.

Fixed a problem introduced in #807. HandleSuspendSignal and HandleResumeSignal needed to indicate whether to chain or continue the SIGUSR1/2 signal.

9 years agoFreeBSD build-instructions: Remove unneeded Linux-reference.
Jostein Kjønigsen [Tue, 28 Apr 2015 05:17:49 +0000 (15:17 +1000)]
FreeBSD build-instructions: Remove unneeded Linux-reference.

9 years agoGet rid of *scanf_unsafe function which do nothing useful and incorrectly pass argume...
Eugene Zemtsov [Tue, 28 Apr 2015 04:21:49 +0000 (21:21 -0700)]
Get rid of *scanf_unsafe function which do nothing useful and incorrectly pass arguments to real scanf functions

9 years agoUpdate README.md
Rich Lander [Tue, 28 Apr 2015 02:54:12 +0000 (19:54 -0700)]
Update README.md

- The instructions are really for .NET Core, not just CoreCLR.

9 years agoInitial roadmap for JIT testing
Andy Ayers [Mon, 27 Apr 2015 23:27:06 +0000 (16:27 -0700)]
Initial roadmap for JIT testing

First draft of a document describing testing needed for JIT development. Comments welcome.

9 years agoMerge pull request #839 from libengu/TestGenericExceptions
Bengu Li [Mon, 27 Apr 2015 21:44:31 +0000 (14:44 -0700)]
Merge pull request #839 from libengu/TestGenericExceptions

Add Generic/Exceptions test cases for JIT

9 years agoMerge pull request #837 from libengu/TestMDArray
Bengu Li [Mon, 27 Apr 2015 21:43:10 +0000 (14:43 -0700)]
Merge pull request #837 from libengu/TestMDArray

Add MultiDimensional Array test cases for JIT

9 years agoMerge pull request #835 from kyulee1/teststaticvalue
Bengu Li [Mon, 27 Apr 2015 21:42:11 +0000 (14:42 -0700)]
Merge pull request #835 from kyulee1/teststaticvalue

Test case for store (non-GC) value type to static field

9 years agoMerge pull request #838 from josteink/freebsd-libc
Jan Kotas [Mon, 27 Apr 2015 20:26:44 +0000 (13:26 -0700)]
Merge pull request #838 from josteink/freebsd-libc

PAL: Resolve libc-location build-time on FreeBSD.

9 years agoMerge pull request #840 from josteink/freebsd-buildinstructions
Jan Kotas [Mon, 27 Apr 2015 19:42:11 +0000 (12:42 -0700)]
Merge pull request #840 from josteink/freebsd-buildinstructions

Updated FreeBSD build-instructions.

9 years agoProper CLR module discovery in dbgshim on POSIX systems
Eugene Zemtsov [Thu, 23 Apr 2015 07:20:03 +0000 (00:20 -0700)]
Proper CLR module discovery in dbgshim on POSIX systems

9 years agoMark dbgshim functions as extern "C", for easier load via GetProcAddress
Eugene Zemtsov [Mon, 27 Apr 2015 19:14:03 +0000 (12:14 -0700)]
Mark dbgshim functions as extern "C", for easier load via GetProcAddress

9 years agoUpdated FreeBSD build-instructions.
Jostein Kjønigsen [Mon, 27 Apr 2015 18:56:43 +0000 (04:56 +1000)]
Updated FreeBSD build-instructions.

These instructions includes the new FreeBSD-specific changes introduced in
https://github.com/dotnet/corefxlab/pull/82

9 years agoPAL: Resolve libc-location build-time on FreeBSD.
Jostein Kjønigsen [Mon, 27 Apr 2015 18:20:25 +0000 (04:20 +1000)]
PAL: Resolve libc-location build-time on FreeBSD.

This closes https://github.com/dotnet/coreclr/issues/801

9 years agoAdd Generic/Exceptions test cases for JIT
Bengu Li [Mon, 27 Apr 2015 18:33:49 +0000 (11:33 -0700)]
Add Generic/Exceptions test cases for JIT

Add Generic/Exceptions test cases for JIT. Related proj, config files
added. Solution file update is delayed to later PRs for parallel working.
Passed build, buildtest, runtest.

9 years agoMerge pull request #836 from dotnet-bot/from-tfs
Jan Kotas [Mon, 27 Apr 2015 17:58:29 +0000 (10:58 -0700)]
Merge pull request #836 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoAdd MultiDimensional Array test cases for JIT
Bengu Li [Mon, 27 Apr 2015 17:54:03 +0000 (10:54 -0700)]
Add MultiDimensional Array test cases for JIT

Add MultiDimensional Array test cases for JIT. Related proj, config files
added. Solution file update is delayed to later PRs for parallel working.
Passed build, buildtest, runtest.

9 years agoTest case for store (no-GC) value type to static field
Kyungwoo Lee [Mon, 27 Apr 2015 16:35:34 +0000 (09:35 -0700)]
Test case for store (no-GC) value type to static field

9 years agoEnable building linuxmscorlib / osxmscorlib with VS2015
Stephen Toub [Mon, 27 Apr 2015 02:20:06 +0000 (22:20 -0400)]
Enable building linuxmscorlib / osxmscorlib with VS2015

Trying to do "build linuxmscorlib vs2015" was resulting in an error due to the script trying to read %_msbuildexe% when _msbuildexe hadn't been defined.  When that was addressed, mscorlib was then also failing to compile due to the csc compiler not understanding a flag that was being set in the response file based on UseRoslynCompiler not being set.  This commit addresses both issues.

9 years agoFix build break
Jan Kotas [Mon, 27 Apr 2015 16:44:52 +0000 (09:44 -0700)]
Fix build break

[tfs-changeset: 1460550]

9 years agoMerge pull request #830 from taylorjonl/freebsd-docs
Jan Kotas [Mon, 27 Apr 2015 16:05:43 +0000 (09:05 -0700)]
Merge pull request #830 from taylorjonl/freebsd-docs

Updated paths that contained Unix to Linux

9 years agoUpdated paths that contained Unix to Linux
taylorjonl [Mon, 27 Apr 2015 15:31:55 +0000 (09:31 -0600)]
Updated paths that contained Unix to Linux

9 years agoMerge pull request #829 from janvorli/fix-secondary-thread-gc
Jan Kotas [Mon, 27 Apr 2015 14:57:57 +0000 (07:57 -0700)]
Merge pull request #829 from janvorli/fix-secondary-thread-gc

Fix GC of other thread during native frames unwinding

9 years agoFix GC of other thread during native frames unwinding
Jan Vorlicek [Mon, 27 Apr 2015 00:28:22 +0000 (17:28 -0700)]
Fix GC of other thread during native frames unwinding

This change fixes a problem when the GC is attempting to scan a stack
of another thread that have just performed the native stack segment
unwind, but didn't have a chance to update the exception tracker
to reflect the fact that the stack range from m_pInitialExplicitFrame
and m_pLimitFrame is in the reclaimed part of the stack and is waiting
for the GC to complete (it uses the GCX_COOP).
The GC then attempts to scan explicit frames in the already reclaimed
part of the stack and crashes.
Besides fixing the issue, I have noticed that we are missing GCX_COOP
to enter the cooperative mode when unwinding frame chain in the
UnwindManagedExceptionPass1. I have also found that we don't have the
GCX_COOP in the HandleHardwareException properly scoped.
So I have fixed those as well.

9 years agoMerge pull request #825 from DickvdBrink/remove_deprecated_hash_map
Jan Kotas [Sun, 26 Apr 2015 23:45:02 +0000 (16:45 -0700)]
Merge pull request #825 from DickvdBrink/remove_deprecated_hash_map

Replace hash_map/set with unordered_map/set

9 years agoMerge pull request #826 from dotnet/richlander-patch-1
Jan Kotas [Sun, 26 Apr 2015 23:28:55 +0000 (16:28 -0700)]
Merge pull request #826 from dotnet/richlander-patch-1

Update windows-instructions.md

9 years agoMerge pull request #827 from kangaroo/freebsd-bringup
Jan Kotas [Sun, 26 Apr 2015 23:27:08 +0000 (16:27 -0700)]
Merge pull request #827 from kangaroo/freebsd-bringup

Complete FreeBSD bringup

9 years agoComplete FreeBSD bringup
Geoff Norton [Sun, 26 Apr 2015 22:32:22 +0000 (15:32 -0700)]
Complete FreeBSD bringup

Fixes issue #801 which was caused by the CoreCLR and PAL being
dlopened, but pthread not being initialized by the runtime linker yet.
FreeBSD requires that the main executable load pthread, rather than a
downstream dependency.  Also fixed a few missing calls to pthread_attr_init
which was causing asserts() on FBSD.

9 years agoUpdate windows-instructions.md
Rich Lander [Sun, 26 Apr 2015 22:26:40 +0000 (15:26 -0700)]
Update windows-instructions.md

- Added reference to issue #30 so that people can "watch at home" on this issue.

9 years agoReplace hash_map/set with unordered_map/set
Dick van den Brink [Sun, 26 Apr 2015 22:24:55 +0000 (00:24 +0200)]
Replace hash_map/set with unordered_map/set

hash_map/hash_set are deprecated in VS 2015
fix #821

9 years agoMerge pull request #822 from DickvdBrink/vs2015-build
Jan Kotas [Sun, 26 Apr 2015 20:50:09 +0000 (13:50 -0700)]
Merge pull request #822 from DickvdBrink/vs2015-build

Allow building with VS2015 installed

9 years agoMerge pull request #823 from stephentoub/filesecuritystate_path_unix
Jan Kotas [Sun, 26 Apr 2015 20:47:22 +0000 (13:47 -0700)]
Merge pull request #823 from stephentoub/filesecuritystate_path_unix

Fix FileSecurityState.VerifyPath on Unix

9 years agoAllow building with VS2015 installed
Dick van den Brink [Sun, 26 Apr 2015 17:36:42 +0000 (19:36 +0200)]
Allow building with VS2015 installed

Previous it was required to have VS2013 but now VS2015 can also be used. The default is still 2013 though.
On a machine with both version installed it is possible to force VS2013/VS2015 with a parameter.

Note: Still some work has to be done to make compilation successfull on VS2015.

9 years agoFix FileSecurityState.VerifyPath on Unix
Stephen Toub [Sun, 26 Apr 2015 14:15:55 +0000 (10:15 -0400)]
Fix FileSecurityState.VerifyPath on Unix

FileSecurityState.VerifyPath is throwing an exception if a path contains '?' or '*', but these are valid characters in paths on Unix.  This commit just uses PLATFORM_UNIX to remove this code when compiling for Linux or OSX.

9 years agoMerge pull request #819 from ajensenwaud/freebsd-lldb1
Jan Kotas [Sun, 26 Apr 2015 13:21:32 +0000 (06:21 -0700)]
Merge pull request #819 from ajensenwaud/freebsd-lldb1

Fixed lldb header related build errors on FreeBSD

9 years agoFixed lldb header related build errors on FreeBSD
Anders Jensen-Waud [Sat, 25 Apr 2015 22:49:55 +0000 (08:49 +1000)]
Fixed lldb header related build errors on FreeBSD

Include C standard libraries in order for build
to work properly on FreeBSD 10.1 when linking
against LLDB.

9 years agoMerge pull request #809 from richlander/rich-getcoreclr
Rich Lander [Sat, 25 Apr 2015 23:00:23 +0000 (16:00 -0700)]
Merge pull request #809 from richlander/rich-getcoreclr

Add NuGet and DNVM links to readme

9 years agoMerge pull request #807 from mikem8361/testcoreclrindebugger
Mike McLaughlin [Sat, 25 Apr 2015 18:27:47 +0000 (11:27 -0700)]
Merge pull request #807 from mikem8361/testcoreclrindebugger

Implemented hardware exception chaining.

9 years agoMerge pull request #813 from janvorli/fix-osx-hw-exceptions
Jan Vorlicek [Sat, 25 Apr 2015 18:00:43 +0000 (11:00 -0700)]
Merge pull request #813 from janvorli/fix-osx-hw-exceptions

Fix OSX hardware exception handling

9 years agoFix OSX hardware exception handling
Jan Vorlicek [Sat, 25 Apr 2015 16:43:34 +0000 (09:43 -0700)]
Fix OSX hardware exception handling

This change fixes a bug in the OSX hardware exception handling. The catch_exception_raise
function in machexceptions.cpp creates a stack frame that allows stack unwinder to
walk to the place where the hardware exception happened from the actual exception
handling code.
The problem was that this method stores the address of the faulting instruction
PLUS 1 as the return address on the stack. There was a long comment about the
reasons for doing so, but these reasons are not valid for jitted code that we
unwind using the windows style unwinder and the "+1" breaks the unwinder in
some cases.
In the case that we've hit, there was an idiv instruction with instruction code
0xF7 0xFF, followed by instruction code 0x25. The windows style unwinder got
the address of the second byte of the instruction code, the 0xFF, which followed
by the 0x25 is an unconditional indirect jump. So the unwinder decided based on
that that it is in the epilogue of the function and returned an unwound context
containing an invalid instruction pointer.
The fix is to not to increase the instruction by one in the catch_exception_raise.
We don't do that in the Linux exception handling either.
We may need to do this fixup at other place for exceptions happening in the debugger
libraries where a hardware exception can happen and be handled in our C++ code as well.

9 years agoMerge pull request #811 from richlander/rich-dnx
Rich Lander [Sat, 25 Apr 2015 07:34:12 +0000 (00:34 -0700)]
Merge pull request #811 from richlander/rich-dnx

Fix typo

9 years agoFix typo
Richard Lander [Sat, 25 Apr 2015 06:53:14 +0000 (23:53 -0700)]
Fix typo

9 years agoAdd NuGet and DNVM links to readme
Richard Lander [Sat, 25 Apr 2015 05:48:56 +0000 (22:48 -0700)]
Add NuGet and DNVM links to readme

9 years agoMerge pull request #806 from richlander/rich-getcoreclr
Rich Lander [Sat, 25 Apr 2015 05:18:00 +0000 (22:18 -0700)]
Merge pull request #806 from richlander/rich-getcoreclr

Update binary distribution instructions

9 years agoUpdate binary distribution instructions
Rich Lander [Fri, 24 Apr 2015 23:28:04 +0000 (16:28 -0700)]
Update binary distribution instructions

9 years agoImplemented hardware exception chaining.
Mike McLaughlin [Tue, 21 Apr 2015 22:25:24 +0000 (15:25 -0700)]
Implemented hardware exception chaining.

Test CLR hosting under a debugger (lldb). In order to test the debugger modules and coreclr running together in the same process, add the test command "corerun" to the lldb plugin that uses the CLR hosting apis to run managed code in the lldb process.

Fixed a problem where the dac module was picking up an constructor in the coreclr module instead of using the dac version. This is because the corerun code was dlopen'ing coreclr with RTLD_GLOBAL which exposed all the symbols to the reset of the dynamic modules loaded.  Changing it to RTLD_LOCAL (the default) fixes this problem.

Changed from an ASSERT to an ERROR in the hardware exception handler because ASSERT does an SIGTRAP (DebugBreak) that keeps recursively being hit.

Removed all signals that installed a fatal_signal_handler especially SIGINT which was interfering with lldb's. The rest of the signals, the default action should be good enough.

Checked if the EE was started in the VM's hardware exception handler just to make sure everything is ready before the managed exception chain is called.

Cleanup signal thread masking. Only wait for SIGINT/SIGQUIT explicitly instead of trying to mask all the signals we don't want to wait on.

9 years agoMerge pull request #804 from janhenke/patch-1
Rich Lander [Fri, 24 Apr 2015 22:44:39 +0000 (15:44 -0700)]
Merge pull request #804 from janhenke/patch-1

Update main README.md to include FreeBSD

9 years agoMerge pull request #805 from janvorli/fix-div-handling
Jan Vorlicek [Fri, 24 Apr 2015 22:31:06 +0000 (15:31 -0700)]
Merge pull request #805 from janvorli/fix-div-handling

Fix div by 0 detection

9 years agoMerge pull request #802 from libengu/Exclusion
Bengu Li [Fri, 24 Apr 2015 22:09:19 +0000 (15:09 -0700)]
Merge pull request #802 from libengu/Exclusion

Implement a runtest exclusion mechanism for individual tests

9 years agoFix div by 0 detection
Jan Vorlicek [Fri, 24 Apr 2015 21:43:46 +0000 (14:43 -0700)]
Fix div by 0 detection

This change adds check for the DIV instruction code as well. The existing
check to distinguish between div by 0 and division overflow was checking
just the IDIV instruction.

9 years agoUpdate main README.md to include FreeBSD
Jan Henke [Fri, 24 Apr 2015 21:03:09 +0000 (23:03 +0200)]
Update main README.md to include FreeBSD

This PR adds FreeBSD to the main README.md.

9 years agoImplement a runtest exclusion mechanism for individual tests
Bengu Li [Fri, 24 Apr 2015 19:44:21 +0000 (12:44 -0700)]
Implement a runtest exclusion mechanism for individual tests

Existing runtest.cmd and runtest.proj does not support excluding
individual tests from running thus a JIT testing that wants to
do so has to hard delete the built tests which caused a bunch
of potential issue and developer inconvinience. This change
implements a solution that developer can specify excluded tests
through a msbuild .targets file with ItemGroup ExcludeList.
Existing runtest builds XunitWrapper.dll for each top level test
directory and run the tests at the granularity of XunitWrapper.dll
level. The implmentaiton controls how many test cases are included
when XunitWrapper.dll is built. No more hard deletion. Passed
tests with and without exclusion.

9 years agoMerge pull request #800 from janhenke/fbsd-doc
Rich Lander [Fri, 24 Apr 2015 19:10:54 +0000 (12:10 -0700)]
Merge pull request #800 from janhenke/fbsd-doc

Initial FreeBSD instructions based on the Linux instructions.

9 years agoInitial FreeBSD instructions based on the Linux instructions.
Jan Henke [Fri, 24 Apr 2015 15:53:51 +0000 (17:53 +0200)]
Initial FreeBSD instructions based on the Linux instructions.

This file is a copy of the Linux instructions, modified for the differences
between Linux and FreeBSD. It is not perfect yet, we are still missing some
parts on FreeBSD (LLDB, CoreFX). Also the package download with NuGet.exe does
not work yet due to a problem with importing CA certs. Nevertheless this is a
start and better than nothing. Closes #799.

9 years agoMerge pull request #798 from justincormack/netbsd
Jan Vorlicek [Fri, 24 Apr 2015 15:02:34 +0000 (08:02 -0700)]
Merge pull request #798 from justincormack/netbsd

basic NetBSD platform support

9 years agobasic NetBSD platform support
Justin Cormack [Fri, 24 Apr 2015 12:28:07 +0000 (12:28 +0000)]
basic NetBSD platform support

9 years agoMerge pull request #790 from richlander/rich-readme
Rich Lander [Fri, 24 Apr 2015 05:51:30 +0000 (22:51 -0700)]
Merge pull request #790 from richlander/rich-readme

Add source instructions more prominently

9 years agoAdd source instructions more prominently
Richard Lander [Thu, 23 Apr 2015 05:03:23 +0000 (22:03 -0700)]
Add source instructions more prominently

9 years agoMerge pull request #795 from richlander/rich-windowsnuget
Rich Lander [Fri, 24 Apr 2015 05:46:45 +0000 (22:46 -0700)]
Merge pull request #795 from richlander/rich-windowsnuget

Add instructions for acquiring binaries for Windows via NuGet

9 years agoAdd instructions for acquiring binaries for Windows via NuGet
Rich Lander [Fri, 24 Apr 2015 00:32:33 +0000 (17:32 -0700)]
Add instructions for acquiring binaries for Windows via NuGet

9 years agoMerge pull request #796 from stephentoub/temp_currency_symbol
Matt Ellis [Fri, 24 Apr 2015 04:23:02 +0000 (21:23 -0700)]
Merge pull request #796 from stephentoub/temp_currency_symbol

Temporarily change invariant currency symbol on Unix for demo purposes

9 years agoTemporarily change invariant currency symbol on Unix for demo purposes
Stephen Toub [Fri, 24 Apr 2015 03:14:56 +0000 (23:14 -0400)]
Temporarily change invariant currency symbol on Unix for demo purposes

mscorlib's globalization stack on Unix is a temporary implementation, good enough to help unblock getting the rest of the system up and running and for some basic demos.  However, such demos are hindered slightly by the use of the international monetary symbol "\x00a4" when rendering currency.  This commit just makes a temporary tweak to instead use "$".

9 years agoMerge pull request #794 from dotnet/fix-gc-issue
Jan Vorlicek [Fri, 24 Apr 2015 01:14:07 +0000 (18:14 -0700)]
Merge pull request #794 from dotnet/fix-gc-issue

Fix GC stack unwinding issue

9 years agoFix GC stack unwinding issue
Jan Vorlicek [Fri, 24 Apr 2015 00:23:07 +0000 (17:23 -0700)]
Fix GC stack unwinding issue

This change fixes a GC stack unwinding issue when a GC is
triggered in a catch handler that caught a rethrown
exception.
The problem was that we need to propagate the m_fFixupCallerSPForGCReporting
to the new exception tracker created when interleaved exception handling
starts processing a block of managed frames after processing another
block of managed frames followed by a block of native frames.
Without this flag, the m_EnclosingClauseInfoForGCReporting's
caller SP is not updated when the target unwind frame is found and
such an update is needed.

9 years agoMerge pull request #788 from ellismg/fix-pal-dylib-loading
Matt Ellis [Thu, 23 Apr 2015 21:33:32 +0000 (14:33 -0700)]
Merge pull request #788 from ellismg/fix-pal-dylib-loading

Fix loading of PAL on OSX

9 years agoMerge pull request #787 from sokket/master
Jonathan Miller [Thu, 23 Apr 2015 21:02:46 +0000 (14:02 -0700)]
Merge pull request #787 from sokket/master

Fixing an issue in FILECanonicalizePath where some paths did not canonicalize properly

9 years agoMerge pull request #783 from Djuffin/dbi-linux
Eugene Zemtsov [Thu, 23 Apr 2015 20:17:01 +0000 (13:17 -0700)]
Merge pull request #783 from Djuffin/dbi-linux

CoreCLR DBI  automatically detects CLR instance to attach to

9 years agoFix loading of PAL on OSX
Matt Ellis [Thu, 23 Apr 2015 00:00:41 +0000 (17:00 -0700)]
Fix loading of PAL on OSX

On OSX our trick to preload the PAL from the host before trying to load
coreclr doesn't actually cause the OSX loader to correctly resolve the
dependency.

This change moves to use rpath and then add an entry to the rpath list
for libcoreclr to @loader_path.

This way, we can load libcoreclr even in cases where the path to the PAL
is not on DYLD_LIBRARY_PATH and your CWD is not the doesn't have a copy.

Related issues are #709 and #719

9 years agoAddressing PR feedback in the test cases and fixing casing for test case runs
Jonathan Miller [Thu, 23 Apr 2015 18:43:46 +0000 (11:43 -0700)]
Addressing PR feedback in the test cases and fixing casing for test case runs