platform/upstream/coreclr.git
9 years agoRemoving System.dll from ProjectK and NetCoreForCoreCLR
Ryan Byington [Wed, 13 May 2015 21:24:23 +0000 (14:24 -0700)]
Removing System.dll from ProjectK and NetCoreForCoreCLR

Updating the runtime to find the necessary marshing helpers in the new assemblies for CoreCLR builds.

[tfs-changeset: 1470196]

9 years agoWhile trying to throw MissingManifestResourceException in NetCoreForCoreCLR we try...
Pallavi Taneja [Wed, 13 May 2015 17:20:39 +0000 (10:20 -0700)]
While trying to throw MissingManifestResourceException in NetCoreForCoreCLR we try to load MissingManifestResource_ResWFileNotLoaded, which is not present in the CoreCLR version of the mscorlib, resulting in throwing ArgumentNullException instead. This change simply adds the two resources to the CoreCLR version of the assembly.

[tfs-changeset: 1469999]

9 years agoMinor fix: add 'const' inadvertently omitted from CS #1467781.
Carol Eidt [Tue, 12 May 2015 23:00:55 +0000 (16:00 -0700)]
Minor fix: add 'const' inadvertently omitted from CS #1467781.

[tfs-changeset: 1469457]

9 years agoMerge pull request #981 from CarolEidt/EnableSIMDAndAVX
Carol Eidt [Tue, 12 May 2015 22:28:50 +0000 (15:28 -0700)]
Merge pull request #981 from CarolEidt/EnableSIMDAndAVX

Enable FEATURE_SIMD and FEATURE_AVX_SUPPORT in the JIT

9 years agoEnable FEATURE_SIMD and FEATURE_AVX_SUPPORT in the JIT
Carol Eidt [Tue, 12 May 2015 04:25:51 +0000 (21:25 -0700)]
Enable FEATURE_SIMD and FEATURE_AVX_SUPPORT in the JIT

For amd64 processors, the JIT supports SIMD intrinsics and supports generating AVX instructions when the processor support is available.

Fix # 977

9 years agoMerge pull request #982 from AndreyAkinshin/master
Carol Eidt [Tue, 12 May 2015 21:11:14 +0000 (14:11 -0700)]
Merge pull request #982 from AndreyAkinshin/master

Documentation/ryujit-overview.md: small improvements

9 years agoDocumentation/ryujit-overview.md: small improvements
Andrey Akinshin [Tue, 12 May 2015 07:59:37 +0000 (10:59 +0300)]
Documentation/ryujit-overview.md: small improvements

9 years agoMerge pull request #988 from pgavlin/GcInfoConst
Pat Gavlin [Tue, 12 May 2015 19:43:51 +0000 (12:43 -0700)]
Merge pull request #988 from pgavlin/GcInfoConst

Fix some const-correctness issues in the GC info encoder.

9 years agoMerge pull request #986 from janvorli/fix-osx-personality
Jan Vorlicek [Tue, 12 May 2015 19:40:38 +0000 (21:40 +0200)]
Merge pull request #986 from janvorli/fix-osx-personality

Fix OSX personality routines encoding

9 years agoFix some const-correctness issues in the GC info encoder.
Pat Gavlin [Tue, 12 May 2015 18:27:16 +0000 (11:27 -0700)]
Fix some const-correctness issues in the GC info encoder.

9 years agoMerge pull request #985 from jkotas/cachefullname
Jan Kotas [Tue, 12 May 2015 17:26:05 +0000 (10:26 -0700)]
Merge pull request #985 from jkotas/cachefullname

Cache Type.FullName in StackTrace

9 years agoFix OSX personality routines encoding
Jan Vorlicek [Tue, 12 May 2015 15:31:09 +0000 (17:31 +0200)]
Fix OSX personality routines encoding

This change fixes a crash that occured in case a managed callback
called from a native code throws an exception. The correct behavior
is to exit the process and dump the managed call stack. It works ok
on Linux, but on OSX, it crashes with segmentation violation trying
to execute code at address 4.
The problem is caused by the fact that either the assembler or
the linker ignores personality routines specified using the encoding
0 (absolute pointer) and stores value 4 instead of the routine address
no matter what routine is specified.
Fortunatelly, there is another encoding that can be used and that works.
It is an indirect PC relative encoding (code 0x9b).
However, there is another problem. The linker issues a warning when there
are more than 3 personality routines in the whole libcoreclr.dylib:
ld: warning: too many personality routines for compact unwind to encode
As for now, I have removed the ExceptionHijackPersonalityRoutine from
the ExceptionHijack asm helper to fix this problem.
We will need to figure out what to do about it once we enable the thread
hijacking on Unix. This personality routine's purpose is to make stack
walker walk stack of a highjacked function as if the highhack routine was
called from it. It seems we can use a different technique for that -
to create a helper frame that would have IP pointing to a function that
is never called, but has an unwind info that ensures that we walk
through the hijack correctly. The same technique is used for hardware
exception handling on OSX.

9 years agoCache Type.FullName in StackTrace
Jan Kotas [Tue, 12 May 2015 16:00:23 +0000 (09:00 -0700)]
Cache Type.FullName in StackTrace

9 years agoMerge pull request #929 from justinvp/stacktrace_stringallocations
Jan Kotas [Tue, 12 May 2015 15:47:26 +0000 (08:47 -0700)]
Merge pull request #929 from justinvp/stacktrace_stringallocations

Removes some string-related allocations from StackTrace and StackFrame

9 years agoMerge pull request #979 from stephentoub/export_opensemaphorew
Jan Kotas [Tue, 12 May 2015 02:34:40 +0000 (19:34 -0700)]
Merge pull request #979 from stephentoub/export_opensemaphorew

Export OpenSemaphoreW from PAL

9 years agoMerge pull request #975 from jkotas/missingrc
Jan Kotas [Tue, 12 May 2015 02:34:17 +0000 (19:34 -0700)]
Merge pull request #975 from jkotas/missingrc

Update assertion failure message

9 years agoUpdate assertion failure message
Jan Kotas [Mon, 11 May 2015 18:49:22 +0000 (11:49 -0700)]
Update assertion failure message

9 years agoMerge pull request #980 from janvorli/fix-vm-range-issue
Jan Kotas [Tue, 12 May 2015 01:42:38 +0000 (18:42 -0700)]
Merge pull request #980 from janvorli/fix-vm-range-issue

Fix VM total space issue

9 years agoFix VM total space issue
Jan Vorlicek [Tue, 12 May 2015 00:43:48 +0000 (02:43 +0200)]
Fix VM total space issue

This change fixes an issue that caused brick table corruption due to
an incorrectly reported VM total space and the gc_heap::grow_brick_card_tables
not being resilient against that.
This change updates the GlobalMemoryStatusEx PAL function to return appropriate
VM user space size value and also modifies the gc_heap::grow_brick_card_tables
so that in case an end address of a new GC heap segment is larger than the
approximate maximum obtained using the GlobalMemoryStatusEx, we don't
clip down the range that the new card_table / brick_table will cover.
Otherwise an object allocated above that range would cause indexing into the
card_table to overrun the end of the table.

9 years agoExport OpenSemaphoreW from PAL
Stephen Toub [Mon, 11 May 2015 22:59:19 +0000 (18:59 -0400)]
Export OpenSemaphoreW from PAL

Semaphore.OpenExisting uses OpenSemaphoreW from the PAL, but it's not being exported, resulting in EntryPointNotFoundExceptions.

9 years agoRemove unnecessary allocations
Justin Van Patten [Tue, 5 May 2015 16:36:22 +0000 (09:36 -0700)]
Remove unnecessary allocations

I noticed some string allocations that can be trivially avoided in
StackTrace and StackFrame.

9 years agoMerge pull request #856 from DickvdBrink/guid-fix
Jan Kotas [Sat, 9 May 2015 04:52:49 +0000 (21:52 -0700)]
Merge pull request #856 from DickvdBrink/guid-fix

Parse Guid correctly

9 years agoMerge pull request #968 from toptensoftware/master
Jan Kotas [Sat, 9 May 2015 04:48:00 +0000 (21:48 -0700)]
Merge pull request #968 from toptensoftware/master

osxbundlerun - corerun for use in OS-X app packages

9 years agoosxbundlerun - corerun for use in OS-X app packages
Brad Robinson [Sat, 9 May 2015 03:50:16 +0000 (13:50 +1000)]
osxbundlerun - corerun for use in OS-X app packages

9 years agoMerge pull request #967 from dotnet-bot/from-tfs
Jan Kotas [Sat, 9 May 2015 03:38:01 +0000 (20:38 -0700)]
Merge pull request #967 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoRecognize System.Numerics as a SIMDVectorAssembly (1168471)
Carol Eidt [Sat, 9 May 2015 02:09:51 +0000 (19:09 -0700)]
Recognize System.Numerics as a SIMDVectorAssembly (1168471)

With the refactoring of the SIMD Vector types, System.Numerics needs to also be marked as a SIMDVectorAssembly.

[tfs-changeset: 1467781]

9 years agoMerge pull request #965 from stephentoub/fix_progress_model
Jan Kotas [Fri, 8 May 2015 23:07:47 +0000 (16:07 -0700)]
Merge pull request #965 from stephentoub/fix_progress_model

Fix System.Progress`1 in model.xml

9 years agoFix System.Progress in model.xml
Stephen Toub [Fri, 8 May 2015 21:37:28 +0000 (17:37 -0400)]
Fix System.Progress in model.xml

The BCL rewriter is stripping System.Progress`1 out of mscorlib when
compiling for Linux and OSX, because the model.xml has it conditionally
and erroneously included based on FEATURE_COMINTEROP.  Code trying to use
System.Progress`1 type forwarded from System.Runtime.Extensions.dll then
blows up at run time, since the type isn't available.

9 years agoMerge pull request #964 from dotnet-bot/from-tfs
Jan Kotas [Fri, 8 May 2015 18:49:49 +0000 (11:49 -0700)]
Merge pull request #964 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #960 from adityamandaleeka/pipes-for-create-thread-suspended
Aditya Mandaleeka [Fri, 8 May 2015 18:43:59 +0000 (11:43 -0700)]
Merge pull request #960 from adityamandaleeka/pipes-for-create-thread-suspended

Add ability to use pipes for creating threads suspended

9 years agoSet IMAGE_SECTION_HEADER::PointerToRawData correctly
Jan Kotas [Fri, 8 May 2015 18:10:13 +0000 (11:10 -0700)]
Set IMAGE_SECTION_HEADER::PointerToRawData correctly

The OS loader expects PointerToRawData to be zero for sections without raw data.

[tfs-changeset: 1467437]

9 years agoUse pipes for creating threads suspended on Darwin too
Aditya Mandaleeka [Fri, 8 May 2015 18:05:31 +0000 (11:05 -0700)]
Use pipes for creating threads suspended on Darwin too

Remove USE_PIPES_FOR_CREATING_SUSPENDED_THREADS and just enable it for all
the platforms. Previously, it was disabled on Darwin.

9 years agoMerge pull request #961 from ajensenwaud/freebsd-lldb-doc21
Jan Kotas [Fri, 8 May 2015 00:03:43 +0000 (17:03 -0700)]
Merge pull request #961 from ajensenwaud/freebsd-lldb-doc21

Updated FreeBSD installation instructions with LLDB steps

9 years agoUpdated FreeBSD installation instructions with LLDB steps
Anders Jensen-Waud [Thu, 7 May 2015 23:16:52 +0000 (09:16 +1000)]
Updated FreeBSD installation instructions with LLDB steps

Included build instructions for FreeBSD on how to
manually build and install LLDB on FreeBSD STABLE
Included FreeBSD LLDB install script

Fixed spacing issues

Fixed installation formatting

9 years agoAdd ability to use pipes for creating threads suspended
Aditya Mandaleeka [Thu, 7 May 2015 21:56:17 +0000 (14:56 -0700)]
Add ability to use pipes for creating threads suspended

Added the ability in PAL to create a thread in suspended state by
specifying a pipe which ResumeThread will write to in order to
wake it up. This functionality is protected behind
USE_PIPES_FOR_CREATING_SUSPENDED_THREADS which is enabled on
everything except Darwin.

9 years agoMerge pull request #957 from dotnet-bot/from-tfs
Jan Kotas [Thu, 7 May 2015 21:06:07 +0000 (14:06 -0700)]
Merge pull request #957 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #958 from edhedges/patch-1
Jan Kotas [Thu, 7 May 2015 20:54:43 +0000 (13:54 -0700)]
Merge pull request #958 from edhedges/patch-1

Updated Garbage Collector design document URL

9 years agoUpdated Garbage Collector design document URL
Eddie Hedges [Thu, 7 May 2015 20:51:54 +0000 (15:51 -0500)]
Updated Garbage Collector design document URL

9 years agoMerge pull request #956 from dotnet-bot/from-tfs
Jan Kotas [Thu, 7 May 2015 19:59:04 +0000 (12:59 -0700)]
Merge pull request #956 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoEnable crossgen CreatePDB for desktop
Jan Kotas [Thu, 7 May 2015 19:41:45 +0000 (12:41 -0700)]
Enable crossgen CreatePDB for desktop

[tfs-changeset: 1466606]

9 years agoMerge changes from parent branch
dotnet-bot [Thu, 7 May 2015 06:43:46 +0000 (23:43 -0700)]
Merge changes from parent branch

[tfs-changeset: 1466545]

9 years agoMerge pull request #949 from jkotas/warnings
Jan Kotas [Thu, 7 May 2015 18:55:33 +0000 (11:55 -0700)]
Merge pull request #949 from jkotas/warnings

Changes for building using VS2015

9 years agoChanges for building using VS2015
Jan Kotas [Thu, 7 May 2015 06:53:09 +0000 (23:53 -0700)]
Changes for building using VS2015

9 years agoMerge pull request #942 from dotnet-bot/from-tfs
Jan Kotas [Thu, 7 May 2015 17:05:32 +0000 (10:05 -0700)]
Merge pull request #942 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoFix build break on Unix
Jan Kotas [Thu, 7 May 2015 16:39:14 +0000 (09:39 -0700)]
Fix build break on Unix

9 years agoDisable AssemblyLoadContext in AppX mode
Gaurav Khanna [Thu, 7 May 2015 00:22:02 +0000 (17:22 -0700)]
Disable AssemblyLoadContext in AppX mode

When running an app in AppX mode, the AssemblyLoadContext based PInvoke resolution mechanism kicks in incorrectly as it does not account for an assembly bound by the WinRT binder. It mistakes it to be the AssemblyLoadContext binder and attempts to perform a resolution via it, passing it NULL value for the managed load context. This results in GCHandle throwing InvalidOperationException.

The fix is to not go via the host if we are an AppX process and when we do, we account for WinRT binder as well.

[tfs-changeset: 1466015]

9 years agoMerge pull request #945 from jkotas/gcvalidation
Jan Kotas [Thu, 7 May 2015 07:30:38 +0000 (00:30 -0700)]
Merge pull request #945 from jkotas/gcvalidation

Fix detection of uninitialized bricks during heap verification

9 years agoFix detection of uninitialized bricks during heap verification
Jan Kotas [Thu, 7 May 2015 07:04:19 +0000 (00:04 -0700)]
Fix detection of uninitialized bricks during heap verification

9 years agoMerge pull request #946 from kangaroo/issue-943
Jan Kotas [Thu, 7 May 2015 06:54:06 +0000 (23:54 -0700)]
Merge pull request #946 from kangaroo/issue-943

Hide the visibility of the C++ operators by default.

9 years agoHide the visibility of the C++ operators by default.
Geoff Norton [Thu, 7 May 2015 05:39:36 +0000 (22:39 -0700)]
Hide the visibility of the C++ operators by default.

Currently the export of the C++ operators can cause issues when interoping with
native code on (at least) OSX, since it will hook the delete from native libraries.
This should be fixed long term by #247 when proper library exports are figured out
but for now we can just hide these on llvm.

Fixes #943

9 years agoMerge pull request #944 from toptensoftware/master
Jan Kotas [Thu, 7 May 2015 03:45:08 +0000 (20:45 -0700)]
Merge pull request #944 from toptensoftware/master

Fix for build script on Win7 - label too long

9 years agoFix for build script on Win7 - label too long
Brad Robinson [Thu, 7 May 2015 01:24:25 +0000 (11:24 +1000)]
Fix for build script on Win7 - label too long

9 years agoMerge pull request #936 from jkotas/assemblyloadcontext
Jan Kotas [Wed, 6 May 2015 21:48:35 +0000 (14:48 -0700)]
Merge pull request #936 from jkotas/assemblyloadcontext

Minor AssemblyLoadContext fixes

9 years agoMerge pull request #941 from dotnet-bot/from-tfs
Jan Kotas [Wed, 6 May 2015 21:48:15 +0000 (14:48 -0700)]
Merge pull request #941 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoRenaming UAP to UWP
Sedar Gokbulut [Wed, 6 May 2015 21:09:12 +0000 (14:09 -0700)]
Renaming UAP to UWP

[tfs-changeset: 1465826]

9 years agoMerge pull request #844 from milizhang/complus_doc
Rich Lander [Wed, 6 May 2015 13:07:07 +0000 (06:07 -0700)]
Merge pull request #844 from milizhang/complus_doc

Add generated document for ComPlus_* configurations

9 years agoMinor AssemblyLoadContext fixes
Jan Kotas [Wed, 6 May 2015 06:17:18 +0000 (23:17 -0700)]
Minor AssemblyLoadContext fixes

Ifdefed out Windows-specific code for Unix
Fixed typo

9 years agoAdd generated document for configurations and the docgen script.
Mili (Yi) Zhang [Mon, 27 Apr 2015 23:58:28 +0000 (19:58 -0400)]
Add generated document for configurations and the docgen script.

9 years agoMerge pull request #932 from swaroop-sridhar/GcLib
Swaroop Sridhar [Tue, 5 May 2015 21:45:49 +0000 (14:45 -0700)]
Merge pull request #932 from swaroop-sridhar/GcLib

GcInfo: Add support for Standalone build

9 years agoGcInfo: Add support for Standalone build
Swaroop Sridhar [Thu, 30 Apr 2015 03:17:48 +0000 (20:17 -0700)]
GcInfo: Add support for Standalone build

 The STANDALONE_BUILD switch can be used to build the GcInfoEncoder library
 independently by clients outside the CoreClr tree.

 The GcInfo library uses some custom data-structures (ex: ArrayList)
 and includes some utility libraries (ex: UtilCode) which pull in several other
 headers with considerable unrelated content. Rather than porting all the
 utility code to suite other clients, the  STANDALONE_BUILD switch can be used
 to include only the minimal set of headers specific to GcInfo encodings.

 Clients of STANDALONE_BUILD will likely use standard library
 implementations of data-structures like ArrayList, HashMap etc., in place
 of the custom implementation currently used by GcInfoEncoder.

 Rather than spew the GcInfoEnoder code with
 #ifdef STANDALONE_BUILD ... #else .. #endif blocks, we include a special
 header GcInfoUtil.h in STANDALONE_BUILD mode.  GcInfoUtil.h is expected to
 supply the interface/implementation for the data-structures and utilities
 used by GcInfoEncoder. This header should be provided by the clients doing
 the standalone build in their source tree.

9 years agoMerge pull request #920 from ghuntley/gitignore
Jan Kotas [Tue, 5 May 2015 18:32:24 +0000 (11:32 -0700)]
Merge pull request #920 from ghuntley/gitignore

exclude Visual Studio 2015 `.vs` working directory

9 years agoMerge pull request #910 from zyzil/issue-291
Jan Kotas [Tue, 5 May 2015 04:28:42 +0000 (21:28 -0700)]
Merge pull request #910 from zyzil/issue-291

Added comments to clarify why ObsoleteAttribute is used.

9 years agoexclude Visual Studio 2015 `.vs` working directory
Geoffrey Huntley [Mon, 4 May 2015 02:02:06 +0000 (12:02 +1000)]
exclude Visual Studio 2015 `.vs` working directory
"The .vs directory is the new location where per-user solution-specific
items are saved. Previously there was no directory where this
information could be placed, so the IDE kept adding files alongside the
solution. It's finally a solution to a problem that's been here for a
very long time." - @sharwell

9 years agoAdded comments to clarify usage of Obsolete.
Kevin Mullins [Sat, 2 May 2015 01:38:09 +0000 (20:38 -0500)]
Added comments to clarify usage of Obsolete.

The obsolete attribute is used when generating documentation, so
the attribute needs to not be removed.  Added additional comments
to clarify this so that it is known why the warning is disabled.

Fix #291

9 years agoMerge pull request #928 from dotnet-bot/from-tfs
Jan Kotas [Tue, 5 May 2015 03:08:32 +0000 (20:08 -0700)]
Merge pull request #928 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoFix arm64 build break
Jan Kotas [Tue, 5 May 2015 02:02:07 +0000 (19:02 -0700)]
Fix arm64 build break

[tfs-changeset: 1464653]

9 years agoMerge pull request #654 from cmckinsey/coreclr446
Jan Kotas [Mon, 4 May 2015 23:23:10 +0000 (16:23 -0700)]
Merge pull request #654 from cmckinsey/coreclr446

Avoid widening small integer return values for calls

9 years agoMerge pull request #923 from AndreyAkinshin/master
Jan Kotas [Mon, 4 May 2015 15:46:26 +0000 (08:46 -0700)]
Merge pull request #923 from AndreyAkinshin/master

Fix typos in Documentation/ryujit-overview.md

9 years agoMerge pull request #924 from richlander/rich-comments
Jan Kotas [Mon, 4 May 2015 14:37:43 +0000 (07:37 -0700)]
Merge pull request #924 from richlander/rich-comments

Remove legacy comment

9 years agoRemove legacy comment
Richard Lander [Mon, 4 May 2015 14:24:39 +0000 (07:24 -0700)]
Remove legacy comment

9 years agoFix typos in Documentation/ryujit-overview.md
Andrey Akinshin [Mon, 4 May 2015 12:17:06 +0000 (15:17 +0300)]
Fix typos in Documentation/ryujit-overview.md

9 years agoMerge pull request #922 from richlander/rich-comments
Jan Kotas [Mon, 4 May 2015 08:54:58 +0000 (01:54 -0700)]
Merge pull request #922 from richlander/rich-comments

Remove inaccurate comments

9 years agoRemove inaccurate comments
Richard Lander [Mon, 4 May 2015 04:56:45 +0000 (21:56 -0700)]
Remove inaccurate comments

9 years agoMerge pull request #903 from tannergooding/master
Matthew Whilden [Sun, 3 May 2015 22:54:09 +0000 (15:54 -0700)]
Merge pull request #903 from tannergooding/master

Only clean previous output for the selected configuration.

9 years agoAvoid widening small integer return values on CoreCLR
Chris McKinsey [Fri, 1 May 2015 07:14:29 +0000 (00:14 -0700)]
Avoid widening small integer return values on CoreCLR

Disable the JIT64/desktop compatibility mode for redundantly widening
small integer return values on CoreCLR since it is not required their.
This leads to overall code size reductions of about .3% on mscorlib.

9 years agoMerge pull request #908 from mikem8361/palthread2
Mike McLaughlin [Sat, 2 May 2015 18:36:10 +0000 (11:36 -0700)]
Merge pull request #908 from mikem8361/palthread2

Fixed PAL thread allocation stack overflow.

9 years agoFixed PAL thread allocation stack overflow.
Mike McLaughlin [Fri, 1 May 2015 23:30:38 +0000 (16:30 -0700)]
Fixed PAL thread allocation stack overflow.

Add -Bsymbolic linker option to prevent static variables from being shared across PAL instances

Install coreclrpal and palrt libraries so VS has easy access to link against them.

Don't install the debug-pal library to binary directory.

Fix "corerun" lldb test command.

9 years agoMerge pull request #913 from dotnet-bot/from-tfs
Jan Kotas [Sat, 2 May 2015 14:33:23 +0000 (07:33 -0700)]
Merge pull request #913 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #906 from dotnet-bot/from-tfs
Jan Kotas [Sat, 2 May 2015 13:48:56 +0000 (06:48 -0700)]
Merge pull request #906 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #912 from jkotas/xmmYmmStateSupport
Jan Kotas [Sat, 2 May 2015 07:56:27 +0000 (00:56 -0700)]
Merge pull request #912 from jkotas/xmmYmmStateSupport

Implement AVX detection asm helper on Unix

9 years agoMerge pull request #695 from ValMenn/xplat_build_update
Jan Kotas [Sat, 2 May 2015 07:42:16 +0000 (00:42 -0700)]
Merge pull request #695 from ValMenn/xplat_build_update

Xplat build changes

9 years agoMerge pull request #911 from justinvp/formatdeadcode
Jan Kotas [Sat, 2 May 2015 07:26:39 +0000 (00:26 -0700)]
Merge pull request #911 from justinvp/formatdeadcode

Remove dead code (unused variables)

9 years agoImplement AVX detection asm helper on Unix
Jan Kotas [Sat, 2 May 2015 07:17:57 +0000 (00:17 -0700)]
Implement AVX detection asm helper on Unix

9 years agoRemove dead code (unused variables)
Justin Van Patten [Sat, 2 May 2015 04:09:08 +0000 (21:09 -0700)]
Remove dead code (unused variables)

The `p` and `i` variables aren't used and don't do anything.

9 years agoAdd arcs to fgOrderTree JitDump
Carol Eidt [Sat, 2 May 2015 01:14:23 +0000 (18:14 -0700)]
Add arcs to fgOrderTree JitDump

[tfs-changeset: 1463719]

9 years agoMerge pull request #905 from dotnet-bot/from-tfs
Jan Kotas [Fri, 1 May 2015 21:02:11 +0000 (14:02 -0700)]
Merge pull request #905 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoFix AVX OS support detection
Jan Kotas [Fri, 1 May 2015 20:24:30 +0000 (13:24 -0700)]
Fix AVX OS support detection

In order to check for OS support for AVX, we need to add a check for the OSXSAVE bit in SetCpuInfo in the EEJItManager. In addition, the arch spec indicates that bits 0x6 of xcr0 (obtained by executing xgetbv instruction with ecx == 0) must be set. This fix adds both of these, although the CRT uses only the check of the two bits from SetCpuInfo.

(Change made by @CarolEidt)

[tfs-changeset: 1463578]

9 years agoAdd config setting for amount of codeheap to reserve for jump stubs
Jan Kotas [Fri, 1 May 2015 20:17:57 +0000 (13:17 -0700)]
Add config setting for amount of codeheap to reserve for jump stubs

This config settings allows overriding amount of of codeheap to reserve for jump stubs to avoid intermittent "Insufficient memory within specified address space range" OutOfMemoryException in specific large memory intensive workloads.

[tfs-changeset: 1463573]

9 years agoMerge pull request #904 from dotnet-bot/from-tfs
Jan Kotas [Fri, 1 May 2015 19:03:23 +0000 (12:03 -0700)]
Merge pull request #904 from dotnet-bot/from-tfs

Merge changes from TFS

9 years agoMerge pull request #902 from JohnChen0/master
John Chen [Fri, 1 May 2015 18:36:47 +0000 (11:36 -0700)]
Merge pull request #902 from JohnChen0/master

Fix loading mscorlib.ni.dll on Linux

9 years agoFix SOS DumpObj crash in DDRs
Mike McLaughlin [Fri, 1 May 2015 18:05:40 +0000 (11:05 -0700)]
Fix SOS DumpObj crash in DDRs

[tfs-changeset: 1463503]

9 years agoOnly clean previous output for the selected configuration.
Tanner Gooding [Fri, 1 May 2015 17:54:04 +0000 (10:54 -0700)]
Only clean previous output for the selected configuration.

This modifies the `build.cmd`, `build.sh`, and `buildtest.cmd` to only
remove previous output (binaries, intermediates, and logs) for the
selected configuration when the `clean` argument is specified.

This also modifies `runtest.cmd` to output log files in the same format
as `build.cmd`, `build.sh`, and `buildtest.cmd` do currently.

9 years agoFix loading mscorlib.ni.dll on Linux
John Chen (CLR) [Fri, 1 May 2015 15:32:39 +0000 (08:32 -0700)]
Fix loading mscorlib.ni.dll on Linux

- HelloWorld.exe now works with mscorlib.ni.dll on Linux.
- Generating or using native images for other assemblies not yet supported.

9 years agoMerge pull request #900 from tony/markdown-inline-backticks
Jan Kotas [Fri, 1 May 2015 16:31:15 +0000 (09:31 -0700)]
Merge pull request #900 from tony/markdown-inline-backticks

Documentation: Inline source should use single backticks

9 years agoDocumentation: Inline source should use single backticks in markdown.
Tony Narlock [Fri, 1 May 2015 12:54:48 +0000 (07:54 -0500)]
Documentation: Inline source should use single backticks in markdown.

9 years agoMerge pull request #899 from tony/freebsd-10.1-build-clarify
Jan Kotas [Fri, 1 May 2015 16:02:40 +0000 (09:02 -0700)]
Merge pull request #899 from tony/freebsd-10.1-build-clarify

FreeBSD instructions: clarify minimum version of Clang / build argument

9 years agoFreeBSD instructions: clarify minimum version of Clang for CoreCLR and build.sh argum...
Tony Narlock [Fri, 1 May 2015 12:41:20 +0000 (07:41 -0500)]
FreeBSD instructions: clarify minimum version of Clang for CoreCLR and build.sh argument for FreeBSD 10.1-RELEASE systems

9 years agoMerge pull request #897 from ajensenwaud/bsdfixes
Jan Kotas [Fri, 1 May 2015 03:02:52 +0000 (20:02 -0700)]
Merge pull request #897 from ajensenwaud/bsdfixes

Fix unixcoreruncommon build error on FreeBSD

9 years agoFix unixcoreruncommon build error on FreeBSD
Anders Jensen-Waud [Fri, 1 May 2015 01:16:53 +0000 (11:16 +1000)]
Fix unixcoreruncommon build error on FreeBSD
Needed cstdlib to build properly

9 years agoMerge pull request #893 from AndyAyersMS/LocallocTest
Andy Ayers [Fri, 1 May 2015 01:08:18 +0000 (18:08 -0700)]
Merge pull request #893 from AndyAyersMS/LocallocTest

Add a test that triggers stack probing.