platform/upstream/coreclr.git
9 years agoMerge pull request #738 from libengu/AddJITCSETests
Bengu Li [Sat, 18 Apr 2015 06:15:57 +0000 (23:15 -0700)]
Merge pull request #738 from libengu/AddJITCSETests

Add JIT CSE tests

9 years agoAdd JIT CSE tests
Bengu Li [Sat, 18 Apr 2015 04:39:09 +0000 (21:39 -0700)]
Add JIT CSE tests

Add JIT CSE (common sub-expression elimination) optimization tests.
Related proj, config, and sln files added and updated. Passed build,
buildtest, runtest. Code went through Microsoft internal process
to meet open-source requirements.

9 years agoMerge pull request #737 from janvorli/fix-div-overflow-exception
Jan Kotas [Sat, 18 Apr 2015 02:51:43 +0000 (19:51 -0700)]
Merge pull request #737 from janvorli/fix-div-overflow-exception

Ensure we differentiate between division by zero and overflow

9 years agoEnsure we differentiate between division by zero and overflow
Jan Vorlicek [Thu, 16 Apr 2015 12:04:29 +0000 (14:04 +0200)]
Ensure we differentiate between division by zero and overflow

This change implements parsing of the IDIV instruction operand so that
we can find whether an integer division error was a division by zero or
an integer overflow.
It replaces the previous functionality that was implemented for OSX only
and was incomplete (it didn't handle memory operands) and partially incorrect
(not handling R8..R15 properly).

9 years agoMerge pull request #730 from josteink/freebsd-linking
Sergiy Kuryata [Fri, 17 Apr 2015 17:59:25 +0000 (10:59 -0700)]
Merge pull request #730 from josteink/freebsd-linking

CoreClr: Fix FreeBSD linking-issues.

9 years agoMerge pull request #734 from josteink/freebsd-fpregs
Jan Kotas [Fri, 17 Apr 2015 16:34:25 +0000 (09:34 -0700)]
Merge pull request #734 from josteink/freebsd-fpregs

Fix up final FPU-registers for FreeBSD x86_64.

9 years agoFix up final FPU-registers for FreeBSD x86_64.
Jostein Kjønigsen [Fri, 10 Apr 2015 06:09:06 +0000 (06:09 +0000)]
Fix up final FPU-registers for FreeBSD x86_64.

FreeBSD now builds without compilation errors. For FreeBSD and glory!

                ,        ,
               /(        )`
               \ \___   / |
               /- _  `-/  '
              (/\/ \ \   /\
              / /   | `    \
              O O   ) /    |
              `-^--'`<     '
             (_.)  _  )   /
              `.___/`    /
                `-----' /
   <----.     __ / __   \
   <----|====O)))==) \) /====
   <----'    `--' `.__,' \
                |        |
                 \       /       /\
            ______( (_  / \______/
          ,'  ,-----'   |
          `--{__________)

This closes https://github.com/dotnet/coreclr/issues/594#issuecomment-93995183

9 years agoCoreClr: Fix FreeBSD linking-issues.
Jostein Kjønigsen [Fri, 17 Apr 2015 08:13:28 +0000 (08:13 +0000)]
CoreClr: Fix FreeBSD linking-issues.

This fix brings the build almost up to 100% (from 35%), where it fails due to PIC-errors.

9 years agoMerge pull request #729 from mikem8361/clrstackfix
Mike McLaughlin [Fri, 17 Apr 2015 03:00:46 +0000 (20:00 -0700)]
Merge pull request #729 from mikem8361/clrstackfix

The ICorDebug version of sos ClrStack command stopped working

9 years agoMerge pull request #723 from janvorli/fix-dangling-else
Jan Kotas [Fri, 17 Apr 2015 00:08:29 +0000 (17:08 -0700)]
Merge pull request #723 from janvorli/fix-dangling-else

Fix dangling else warnings

9 years agoThe ICorDebug version of sos ClrStack command ("sos ClrStack -i") stopped working...
Mike McLaughlin [Thu, 16 Apr 2015 23:46:49 +0000 (16:46 -0700)]
The ICorDebug version of sos ClrStack command ("sos ClrStack -i") stopped working.  The existing was enumerating

all the modules in the target process to find the coreclr module, but under linux we just picked the first module found
because given just the base address of the module, it isn't easy to determine correct module given the context and
constrains the debugshim code ran.  We were lucky and picked the correct module but now the order has changed
which broke this command.

The fix is to just get the address for coreclr and create the ICorDebug interface from that instead of enumerating all the modules.

9 years agoMerge pull request #701 from janvorli/fix-freebsd-rc-issue
Jan Kotas [Thu, 16 Apr 2015 23:44:16 +0000 (16:44 -0700)]
Merge pull request #701 from janvorli/fix-freebsd-rc-issue

Fix .rc processing issue on FreeBSD

9 years agoMerge pull request #726 from janvorli/fix-copyright-headers
Jan Kotas [Thu, 16 Apr 2015 23:43:20 +0000 (16:43 -0700)]
Merge pull request #726 from janvorli/fix-copyright-headers

Add missing MIT license headers

9 years agoFix the return macro on Windows
Jan Vorlicek [Thu, 16 Apr 2015 23:35:47 +0000 (01:35 +0200)]
Fix the return macro on Windows

There seems to be a bug in the VC++ compiler that causes the
following error to occur:
ex.cpp(492): fatal error C1061: compiler limit : blocks nested too deeply
There seems to be no nesting when I look at preprocessed source of the ex.cpp
and it builds fine on Unix.
To make the Windows build happy, I have left the return macro definition
for MSVC as it was before my change and only changed it for other compilers.

9 years agoMerge pull request #721 from pgavlin/CorWarnings
Jan Kotas [Thu, 16 Apr 2015 23:08:24 +0000 (16:08 -0700)]
Merge pull request #721 from pgavlin/CorWarnings

Fix two sources of warnings in cor{,info}.h

9 years agoMerge pull request #724 from ellismg/use-libcoreclr-for-some-apis
Jan Kotas [Thu, 16 Apr 2015 23:02:12 +0000 (16:02 -0700)]
Merge pull request #724 from ellismg/use-libcoreclr-for-some-apis

PInvoke to libcoreclr for three APIs

9 years agoMerge pull request #722 from dotnet-bot/from-tfs
Matt Ellis [Thu, 16 Apr 2015 22:32:31 +0000 (15:32 -0700)]
Merge pull request #722 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoAdd missing MIT license headers
Jan Vorlicek [Thu, 16 Apr 2015 22:00:58 +0000 (00:00 +0200)]
Add missing MIT license headers

.rc and .def files were missing the MIT license headers, so this
change adds them.

9 years agoPInvoke to libcoreclr for three APIs
Matt Ellis [Thu, 16 Apr 2015 21:33:00 +0000 (14:33 -0700)]
PInvoke to libcoreclr for three APIs

After pulling the PAL out of the runtime, we redirected all the PInvokes
which were going to libcoreclr to libcoreclrpal. It turns out that
CoTaskMemAlloc, CoTaskMemFree and CoCreateGuid are still exported by the
runtime itself and not the PAL.

Update the three PInvokes for these functions from managed code to point
at the runtime itself.

9 years agoFix dangling else warnings
Jan Vorlicek [Thu, 16 Apr 2015 21:29:48 +0000 (23:29 +0200)]
Fix dangling else warnings

This change fixes all dangling else warnings and removes the
compiler flag that was disabling their reporting.

9 years agoMerge pull request #691 from josteink/freebsd-threading
Jan Vorlicek [Thu, 16 Apr 2015 20:49:19 +0000 (22:49 +0200)]
Merge pull request #691 from josteink/freebsd-threading

PAL: Fix threading on FreeBSD.

9 years agoFix for the build break. I had moved UAP Host under a folder whcih is built only...
Sedar Gokbulut [Thu, 16 Apr 2015 20:44:15 +0000 (13:44 -0700)]
Fix for the build break. I had moved UAP Host under a folder whcih is built only for x86. I'm changing the dirs.proj's to build the UAPHost for all architectures.
I verified that UAPHost gets built on x86coresys and armcoresys, whille VSIntegration and MSBuildTask folders gets built only on x86coresys.

[tfs-changeset: 1454192]

9 years agoFix two sources of warnings in cor{,info}.h
Pat Gavlin [Thu, 16 Apr 2015 20:26:55 +0000 (13:26 -0700)]
Fix two sources of warnings in cor{,info}.h

- cor.h was incorrectly casting a pointer-to-const to a
  pointer-to-non-const.
- corinfo.h contained a 0-sized array, which is not standard C++,
  and therefore generates a warning on compilers without MSVC
  extensions enabled. Using a 1-sized array (which is already done
  elsewhere in the same file) prevents this warning.

9 years agoPAL: Fix threading on FreeBSD.
Jostein Kjønigsen [Mon, 13 Apr 2015 07:35:54 +0000 (07:35 +0000)]
PAL: Fix threading on FreeBSD.

9 years agoMerge pull request #719 from ellismg/preload-pal-from-corerun
Matt Ellis [Thu, 16 Apr 2015 18:23:29 +0000 (11:23 -0700)]
Merge pull request #719 from ellismg/preload-pal-from-corerun

Explicitly load libcoreclrpal in corerun

9 years agoExplicitly load libcoreclrpal in corerun
Matt Ellis [Thu, 16 Apr 2015 17:58:41 +0000 (10:58 -0700)]
Explicitly load libcoreclrpal in corerun

libcoreclr has a dependency on libcoreclrpal, but libcoreclrpal is
usually not on the path the loader probes, since it is SxS with the
runtime itself.

Instead of forcing LD_LIBRARY_PATH to be set just have corerun load the
PAL from the same folder as the runtime before loading libcoreclr.

Fixes #709

9 years agoMerge pull request #718 from janvorli/cleanup-safecrt
Jan Kotas [Thu, 16 Apr 2015 13:39:55 +0000 (06:39 -0700)]
Merge pull request #718 from janvorli/cleanup-safecrt

Cleanup safecrt in PAL

9 years agoCleanup safecrt in PAL
Jan Vorlicek [Thu, 16 Apr 2015 12:48:04 +0000 (14:48 +0200)]
Cleanup safecrt in PAL

The safecrt code in PAL was heavily sprinkled with #ifdefs for POSITIONAL_PARAMETERS
(that we never define) and _SAFECRT_IMPL (which is always defined in the PAL code).
This change cleans that up by removing checks of those ifdefs.
Also, I've found that the src/pal/src/safecrt/crtdefs.h is not used anywhere,
so I am removing it as well.

9 years agoMerge pull request #714 from richlander/rich-readme
Rich Lander [Thu, 16 Apr 2015 01:38:41 +0000 (18:38 -0700)]
Merge pull request #714 from richlander/rich-readme

Update README to accomodate wiki move

9 years agoMerge pull request #716 from janvorli/fix-tailcall
Jan Vorlicek [Thu, 16 Apr 2015 01:26:21 +0000 (03:26 +0200)]
Merge pull request #716 from janvorli/fix-tailcall

Fix issue with the disabled tail calls via helpers

9 years agoFix issue with the disabled tail calls via helpers
Jan Vorlicek [Thu, 16 Apr 2015 00:58:28 +0000 (02:58 +0200)]
Fix issue with the disabled tail calls via helpers

This change fixes an issue that occured after I've disabled tail calls via
helpers. The problem was that the goto to NO_TAIL_CALL needs to happen
before the GTF_CALL_M_TAILCALL flag is set, otherwise the jitter
doesn't emit any call.

9 years agoMerge pull request #715 from janvorli/remove-long-double
Jan Vorlicek [Thu, 16 Apr 2015 00:27:46 +0000 (02:27 +0200)]
Merge pull request #715 from janvorli/remove-long-double

Remove long double support from safecrt routines in PAL

9 years agoMerge pull request #713 from dotnet-bot/from-tfs
Jan Kotas [Thu, 16 Apr 2015 00:15:29 +0000 (17:15 -0700)]
Merge pull request #713 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoRemove long double support from safecrt routines in PAL
Jan Vorlicek [Wed, 15 Apr 2015 23:53:17 +0000 (01:53 +0200)]
Remove long double support from safecrt routines in PAL

This change removes the long double support from the safecrt
printf style routines in PAL. The existing support was effectively
disabled anyways, we didn't have similar support in the non-safe
printf style functions and coreclr has no need to print long doubles.

9 years agoUpdate README to accomodate wiki move
Rich Lander [Wed, 15 Apr 2015 23:43:18 +0000 (16:43 -0700)]
Update README to accomodate wiki move

9 years agoThis change makes System.Runtime.InteropServices.FormatterSerives public and __Dynami...
Pallavi Taneja [Wed, 15 Apr 2015 23:38:11 +0000 (16:38 -0700)]
This change makes System.Runtime.InteropServices.FormatterSerives public and __DynamicallyInvokable to unblock serialization engine that reflects on this type during deserializatoin. This is import to unblock the F5 debugging using coreclr bits.

[tfs-changeset: 1453460]

9 years agoMerge pull request #712 from bendono/dnx-doc
Rich Lander [Wed, 15 Apr 2015 23:19:30 +0000 (16:19 -0700)]
Merge pull request #712 from bendono/dnx-doc

Fixed several grammar and spelling mistakes.

9 years agoFixed several grammar and spelling mistakes.
Ben Monroe [Wed, 15 Apr 2015 21:31:32 +0000 (06:31 +0900)]
Fixed several grammar and spelling mistakes.

9 years agoMerge pull request #662 from richlander/rich-wiki
Rich Lander [Wed, 15 Apr 2015 17:55:55 +0000 (10:55 -0700)]
Merge pull request #662 from richlander/rich-wiki

Move subset of wiki files to coreclr repo

9 years agoMerge pull request #707 from ellismg/fix-689
Matt Mitchell [Wed, 15 Apr 2015 14:51:21 +0000 (07:51 -0700)]
Merge pull request #707 from ellismg/fix-689

Use "x64" and not "amd64" in build.sh

9 years agoMerge pull request #706 from dotnet-bot/from-tfs
Jan Kotas [Wed, 15 Apr 2015 10:22:38 +0000 (03:22 -0700)]
Merge pull request #706 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoUse "x64" and not "amd64" in build.sh
Matt Ellis [Wed, 15 Apr 2015 07:44:22 +0000 (00:44 -0700)]
Use "x64" and not "amd64" in build.sh

The help text for build.sh said that you should pass "x64" as a
paramter for the build architecture.  However, the script was looking
for amd64.  Update the script to look for x64 since that's what we use
everywhere else (and the behavior you got if you didn't pass an
argument to this script.)

Fixes #689

9 years agoMoving UAP Host sources out from coreclr\hosts to where it'll be residing together...
Sedar Gokbulut [Wed, 15 Apr 2015 05:11:02 +0000 (22:11 -0700)]
Moving UAP Host sources out from coreclr\hosts to where it'll be residing together with other UAP components

[tfs-changeset: 1452859]

9 years agoMerge pull request #705 from ellismg/mscorlib-pal-rename
Mike McLaughlin [Wed, 15 Apr 2015 04:59:08 +0000 (21:59 -0700)]
Merge pull request #705 from ellismg/mscorlib-pal-rename

Update PAL name

9 years agoRename "CoreClrPal" to "coreclrpal"
Matt Ellis [Wed, 15 Apr 2015 01:56:24 +0000 (18:56 -0700)]
Rename "CoreClrPal" to "coreclrpal"

Simply change the case of the library the PAL lives in so that is all
lowercase.

9 years agoUpdate PAL name
Matt Ellis [Wed, 15 Apr 2015 00:55:10 +0000 (17:55 -0700)]
Update PAL name

As of 19d02824, the Win32 functions exported by the PAL are now in
libCoreClrPal instead of libcoreclr itself.  Update mscorlib's PInvokes
to match this change.

9 years agoMerge pull request #704 from mikem8361/sharepal
Mike McLaughlin [Tue, 14 Apr 2015 23:57:21 +0000 (16:57 -0700)]
Merge pull request #704 from mikem8361/sharepal

Create shared PAL module and change all the modules to use it

9 years agoCreate shared PAL module and change all the debugger modules and coreclr to use it.
Mike McLaughlin [Tue, 14 Apr 2015 19:29:13 +0000 (12:29 -0700)]
Create shared PAL module and change all the debugger modules and coreclr to use it.

9 years agoRename and re-title wiki documents
Richard Lander [Sun, 12 Apr 2015 23:51:23 +0000 (16:51 -0700)]
Rename and re-title wiki documents

9 years agoChange pathing in documentation to match build update
Richard Lander [Wed, 1 Apr 2015 18:28:06 +0000 (11:28 -0700)]
Change pathing in documentation to match build update

9 years agoAdding note about installing mono packages built from source and not from the officia...
Matthew Whilden [Wed, 1 Apr 2015 00:28:44 +0000 (17:28 -0700)]
Adding note about installing mono packages built from source and not from the official location

9 years agoUpdate Windows instructions
Richard Lander [Tue, 14 Apr 2015 21:03:09 +0000 (14:03 -0700)]
Update Windows instructions

9 years agoUpdate instructions to match Linux
Richard Lander [Sat, 11 Apr 2015 19:56:41 +0000 (12:56 -0700)]
Update instructions to match Linux

9 years agoUpdated Linux instructions
Jan Kotas [Wed, 25 Mar 2015 02:34:49 +0000 (19:34 -0700)]
Updated Linux instructions

9 years agoUpdated Linux instructions
Jan Vorlicek [Tue, 24 Mar 2015 19:58:45 +0000 (20:58 +0100)]
Updated Linux instructions

9 years agoRename OSX instructions
Richard Lander [Tue, 24 Mar 2015 18:06:36 +0000 (11:06 -0700)]
Rename OSX instructions

9 years agoUpdated Linux instructions
Matt Ellis [Thu, 19 Mar 2015 20:53:37 +0000 (13:53 -0700)]
Updated Linux instructions

9 years agoImprove readability of Linux instructions
Richard Lander [Tue, 17 Mar 2015 16:26:34 +0000 (09:26 -0700)]
Improve readability of Linux instructions

9 years agoInitial OS X instructions
Richard Lander [Mon, 16 Mar 2015 07:18:26 +0000 (00:18 -0700)]
Initial OS X instructions

9 years agoCorrect test instructions
Richard Lander [Tue, 14 Apr 2015 21:02:50 +0000 (14:02 -0700)]
Correct test instructions
- Correct running test instructions
- Add links for Linux and Mac OS X builds.

9 years agoUpdated Building and Running CoreCLR on Linux
Matt Ellis [Wed, 4 Mar 2015 23:08:55 +0000 (15:08 -0800)]
Updated Building and Running CoreCLR on Linux

9 years agoUpdated Building and Running CoreCLR on Linux
Jan Vorlicek [Fri, 20 Feb 2015 23:33:52 +0000 (00:33 +0100)]
Updated Building and Running CoreCLR on Linux

9 years agoCreated Testing across repos
AlexGhiondea [Fri, 20 Feb 2015 20:18:14 +0000 (12:18 -0800)]
Created Testing across repos

9 years agoUpdated Building and Running CoreCLR on Linux
Jan Kotas [Sat, 7 Feb 2015 20:22:18 +0000 (12:22 -0800)]
Updated Building and Running CoreCLR on Linux

9 years agoCreated Building and Running CoreCLR on Linux
Matt Ellis [Sat, 7 Feb 2015 00:05:49 +0000 (16:05 -0800)]
Created Building and Running CoreCLR on Linux

9 years agoMerge pull request #702 from dotnet-bot/from-tfs
Jan Kotas [Tue, 14 Apr 2015 20:01:23 +0000 (13:01 -0700)]
Merge pull request #702 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #703 from janvorli/implement-jit-tailcall
Jan Kotas [Tue, 14 Apr 2015 20:00:55 +0000 (13:00 -0700)]
Merge pull request #703 from janvorli/implement-jit-tailcall

Disable JIT_TailCall invocation on Unix

9 years agoMirror subfolders for unixcorerun.
Matt Ellis [Tue, 14 Apr 2015 17:14:26 +0000 (10:14 -0700)]
Mirror subfolders for unixcorerun.

My previous change introduced a new subfolder to unixcorerun, but I forgot to update the .gitmirror file to a .gitmirrrorall file.

[tfs-changeset: 1452317]

9 years agoMerge pull request #697 from mikem8361/dactablefix
Mike McLaughlin [Tue, 14 Apr 2015 16:51:19 +0000 (09:51 -0700)]
Merge pull request #697 from mikem8361/dactablefix

Add back security class vtables to dac global table

9 years agoFix .rc processing issue on FreeBSD
Jan Vorlicek [Tue, 14 Apr 2015 15:35:44 +0000 (17:35 +0200)]
Fix .rc processing issue on FreeBSD

This change fixes issue that occurs on FreeBSD when compiling the
.rc files into the gettext format. For some reason, the shell
expression evaluation returns the resulting resource id as a string
datatype. That leads to a failure when trying to format the result
as a hex number using sprintf.
The change ensures that if that happens, the type is changed to numeric.

9 years agoMerge pull request #699 from jkotas/readonlycollections
Jan Kotas [Tue, 14 Apr 2015 15:36:25 +0000 (08:36 -0700)]
Merge pull request #699 from jkotas/readonlycollections

Enable generic IReadOnlyCollection interfaces on array for Unix

9 years agoDisable JIT_TailCall invocation on Unix
Jan Vorlicek [Tue, 14 Apr 2015 11:32:51 +0000 (13:32 +0200)]
Disable JIT_TailCall invocation on Unix

This change prevents jitter from performing tail calls in case the tail call
would require a tailcall helper.
The reason is that we don't have the JIT_TailCall function implemented for Unix
and even if we did, the underlying function to copy the arguments, the
StubLinkerCPU::CreateTailCallCopyArgsThunk, would be difficult to port to Unix due
to the fact that it assumes that va_list is represented as the parameters
being placed in memory one after another while on Unix, it is an opaque structure.
Jan Kotas has recommended to disable this kind of tail calls on Unix and
create a work item to refactor the way these tail calls are implemented.
Besides these Unix specific issues, the current implementation has performance
and maintainability issues, according to Jan Kotas.

9 years agoMerge pull request #696 from stephentoub/path_invalid_chars
Jan Vorlicek [Tue, 14 Apr 2015 08:18:57 +0000 (10:18 +0200)]
Merge pull request #696 from stephentoub/path_invalid_chars

Update Path.InvalidFileNameChars on Unix

9 years agoMerge pull request #694 from dotnet-bot/from-tfs
Jan Kotas [Tue, 14 Apr 2015 07:29:57 +0000 (00:29 -0700)]
Merge pull request #694 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoEnable generic IReadOnlyCollection interfaces on array for Unix
Jan Kotas [Tue, 14 Apr 2015 07:25:45 +0000 (00:25 -0700)]
Enable generic IReadOnlyCollection interfaces on array for Unix

IReadOnlyCollection support on array was incorrectly enabled for COM interop only

9 years agoAdd back security classes to dac global vtable.
Mike McLaughlin [Tue, 14 Apr 2015 01:27:46 +0000 (18:27 -0700)]
Add back security classes to dac global vtable.

9 years agoUpdate Path.InvalidFileNameChars on Unix
Stephen Toub [Tue, 14 Apr 2015 01:58:35 +0000 (21:58 -0400)]
Update Path.InvalidFileNameChars on Unix

Path.InvalidFileNameChars included '*', '?', and '\\', which are valid in filenames.

While fixing that, I also fixed up InvalidPathChars, even though it's obsolete and I don't think anything uses it on Unix.

9 years agoMerge pull request #690 from ellismg/fix-mac-build
Matt Ellis [Mon, 13 Apr 2015 16:16:22 +0000 (09:16 -0700)]
Merge pull request #690 from ellismg/fix-mac-build

Fix MacOS Build Break

9 years agoFixing the public key token that gets used to find System.Uri in System.Runtime durin...
Ryan Byington [Mon, 13 Apr 2015 15:36:34 +0000 (08:36 -0700)]
Fixing the public key token that gets used to find System.Uri in System.Runtime during marshaling.

[tfs-changeset: 1451527]

9 years agoMerge pull request #683 from janvorli/refactor-rctopo-awk
Jan Vorlicek [Mon, 13 Apr 2015 14:04:02 +0000 (16:04 +0200)]
Merge pull request #683 from janvorli/refactor-rctopo-awk

Refactor the windows text resources processing

9 years agoFix MacOS Build Break
Matt Ellis [Sun, 12 Apr 2015 07:26:54 +0000 (00:26 -0700)]
Fix MacOS Build Break

The newest version of XCode and the Command Line tools in OSX has an
issue where including some header files will issue an error because the
__debug header can not be included.  See
https://devforums.apple.com/message/1124445 for more context.

While a fix is being developed by apple, simple include a dummy version
of this header file so the build works with the new toolset.

9 years agoMerge pull request #687 from zhangkaizhao/master
Jan Kotas [Sun, 12 Apr 2015 08:52:54 +0000 (01:52 -0700)]
Merge pull request #687 from zhangkaizhao/master

C++11 requires a space between literal and identifier

9 years agoMerge pull request #649 from richlander/rich-dnx
Rich Lander [Sun, 12 Apr 2015 05:26:30 +0000 (22:26 -0700)]
Merge pull request #649 from richlander/rich-dnx

Add instructions to create custom DNX with CoreCLR

9 years agoAdd instructions to create custom DNX with CoreCLR
Richard Lander [Thu, 2 Apr 2015 18:01:03 +0000 (11:01 -0700)]
Add instructions to create custom DNX with CoreCLR

9 years agoMerge pull request #688 from dotnet-bot/from-tfs
Matt Ellis [Sat, 11 Apr 2015 21:41:14 +0000 (14:41 -0700)]
Merge pull request #688 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoWhen marshaling System.URI we to and from WinRT we use need to access System.URI...
Yi Zhang [Sat, 11 Apr 2015 18:39:55 +0000 (11:39 -0700)]
When marshaling System.URI we to and from WinRT we use need to access System.URI members(get_OriginalString, ctor). We currently use TypeName::GetTypeFromAsmQualifiedName to load the type and specify System.dll. The change is to simply use System.Runtime instead.

[tfs-changeset: 1451164]

9 years agoC++11 requires a space between literal and identifier
zhangkaizhao [Sat, 11 Apr 2015 15:50:59 +0000 (23:50 +0800)]
C++11 requires a space between literal and identifier

9 years agoMerge pull request #676 from dotnet-bot/from-tfs
Jan Kotas [Sat, 11 Apr 2015 11:45:01 +0000 (04:45 -0700)]
Merge pull request #676 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #686 from jkotas/persian
Jan Kotas [Sat, 11 Apr 2015 11:13:39 +0000 (04:13 -0700)]
Merge pull request #686 from jkotas/persian

Add CAL_PERSIAN to portable System.Globalization

9 years agoAdd CAL_PERSIAN to portable System.Globalization
Jan Kotas [Sat, 11 Apr 2015 03:54:34 +0000 (20:54 -0700)]
Add CAL_PERSIAN to portable System.Globalization

9 years agoMerge pull request #685 from jkotas/prebuilt
Jan Kotas [Sat, 11 Apr 2015 03:13:45 +0000 (20:13 -0700)]
Merge pull request #685 from jkotas/prebuilt

Update prebuilt ETW headers

9 years agoUpdate prebuilt ETW headers
Jan Kotas [Sat, 11 Apr 2015 02:08:04 +0000 (19:08 -0700)]
Update prebuilt ETW headers

9 years agoRefactor the windows text resources processing
Jan Vorlicek [Fri, 10 Apr 2015 15:52:13 +0000 (17:52 +0200)]
Refactor the windows text resources processing

This change refactors the windows text resource processing into
a parsing script and a script with platform specific function
responsible for writing to the output file.

9 years agoMerge pull request #684 from libengu/GCTest
Matt Mitchell [Fri, 10 Apr 2015 18:49:25 +0000 (11:49 -0700)]
Merge pull request #684 from libengu/GCTest

Add JIT GC tests

9 years agoAdd JIT GC tests
Bengu Li [Fri, 10 Apr 2015 17:56:47 +0000 (10:56 -0700)]
Add JIT GC tests

Selected working JIT GC test cases from old test bed before ToF
for porting into CoreCLR.

Related proj, config, and sln files added and updated. Passed
build, buildtest, runtest.

Cleaned up the source code. Updated comments to remove internal
information such as reference to internal bug numbers etc, removed
some not useful comment. Code is re-formatted for consistent style.
Copyright added. Scrub tool SSS ran. Pragma warning about parenthesis
ignored.

9 years agoMerge pull request #674 from janvorli/fix-finally-issue
Jan Vorlicek [Fri, 10 Apr 2015 14:21:17 +0000 (16:21 +0200)]
Merge pull request #674 from janvorli/fix-finally-issue

Fix one more exception handling issue

9 years agoFix one more exception handling issue
Jan Vorlicek [Thu, 9 Apr 2015 18:56:37 +0000 (20:56 +0200)]
Fix one more exception handling issue

This change fixes exception handling issue that resulted in a finally block being invoked multiple
times in case of a rethrown exception in some specific cases.
The problem was caused by the ExceptionTracker::StackRange::CombineWith that was not handling
correctly the case when the current stack range was empty. It was copying only the upper limit
from the previous range and leaving the lower limit at the default (max) value.
This case happens in the interleaved exception handling when processing the first managed
frame after a block of native frames was unwound.
There is one additional fix in the UnwindManagedExceptionPass1 where we were popping one
frame from the thread's frame list before performing the native frames unwind. This was
not correct since in some cases, there can be more frames that need to be removed.

9 years agoMerge pull request #647 from josteink/bsd_fpregs
Sergiy Kuryata [Fri, 10 Apr 2015 05:20:24 +0000 (22:20 -0700)]
Merge pull request #647 from josteink/bsd_fpregs

PAL: Preliminary work on FPU/SSE-registers for FreeBSD x86_64.

9 years agoMerge pull request #675 from janvorli/remove-timezone-from-pal
Sergiy Kuryata [Fri, 10 Apr 2015 05:07:37 +0000 (22:07 -0700)]
Merge pull request #675 from janvorli/remove-timezone-from-pal

Remove timezone usage from PAL

9 years agoMerge pull request #671 from pgavlin/lldbfix
Matthew Whilden [Fri, 10 Apr 2015 03:26:56 +0000 (20:26 -0700)]
Merge pull request #671 from pgavlin/lldbfix

Fix a casing problem in lldbplugin/CMakeLists.txt