platform/upstream/coreclr.git
7 years agoMerge pull request #12139 from pgavlin/coredistoolsfix
Pat Gavlin [Wed, 7 Jun 2017 20:09:01 +0000 (13:09 -0700)]
Merge pull request #12139 from pgavlin/coredistoolsfix

Define `__cdecl` if necessary in coredistools.h.

7 years agoMerge pull request #12109 from briansull/ibc-tuning
Brian Sullivan [Wed, 7 Jun 2017 18:20:50 +0000 (11:20 -0700)]
Merge pull request #12109 from briansull/ibc-tuning

Fixed the loading of ReadyToRun tuning native image

7 years agoDefine `__cdecl` if necessary in coredistools.h.
Pat Gavlin [Wed, 7 Jun 2017 17:28:44 +0000 (10:28 -0700)]
Define `__cdecl` if necessary in coredistools.h.

This fixes a build break for CoreDisTools on Linux.

7 years agoMerge pull request #12122 from BruceForstall/CleanupEffectiveVal
Bruce Forstall [Wed, 7 Jun 2017 17:06:31 +0000 (10:06 -0700)]
Merge pull request #12122 from BruceForstall/CleanupEffectiveVal

Remove use of gtEffectiveVal in RyuJIT codegen

7 years agoMerge pull request #11994 from CarolEidt/Throughput
Carol Eidt [Wed, 7 Jun 2017 16:43:44 +0000 (09:43 -0700)]
Merge pull request #11994 from CarolEidt/Throughput

Streamline LSRA for non-enregistered lclVars

7 years agoUpdate CoreClr, CoreFx to preview1-25407-02, preview1-25407-02, respectively (#12133)
dotnet bot [Wed, 7 Jun 2017 15:47:22 +0000 (08:47 -0700)]
Update CoreClr, CoreFx to preview1-25407-02, preview1-25407-02, respectively (#12133)

7 years agoFix portable build sos plugin problems (#12125)
Mike McLaughlin [Wed, 7 Jun 2017 06:53:15 +0000 (23:53 -0700)]
Fix portable build sos plugin problems (#12125)

* Fix portable build sos plugin problems.

Removing the explicit reference to liblldb. Since the lldb program has
already loaded this lib, our will now load regardless of the distro
and version of lldb.

Issue #12098.

* Fix OSX build.

7 years agoUpdate CoreClr, CoreFx to preview1-25406-05, preview1-25406-02, respectively (#11951)
dotnet bot [Wed, 7 Jun 2017 04:21:29 +0000 (21:21 -0700)]
Update CoreClr, CoreFx to preview1-25406-05, preview1-25406-02, respectively (#11951)

7 years agoFix build breakage on high-processsor machines (#12114)
Omair Majid [Wed, 7 Jun 2017 04:19:48 +0000 (00:19 -0400)]
Fix build breakage on high-processsor machines (#12114)

The build calls `make -j $NumProc`. This breaks on machines with a high
number of procesors (such as 25).

To reproduce this on any machine, edit build.sh and change

    buildTool install -j $NumProc

to

    buildTool install -j 100

The error trace looks like this:

    In file included from coreclr/bin/obj/Linux.x64.Debug/Generated/eventpipe/dotnetruntime.cpp:12:
    In file included from coreclr/src/vm/common.h:306:
    In file included from coreclr/src/vm/eepolicy.h:15:
    In file included from coreclr/src/vm/vars.hpp:70:
    In file included from coreclr/src/vm/eeprofinterfaces.h:19:
    In file included from coreclr/src/inc/profilepriv.h:128:
    In file included from coreclr/src/inc/profilepriv.inl:18:
    In file included from coreclr/src/vm/eetoprofinterfaceimpl.h:23:
    coreclr/src/inc/eventtracebase.h:306:10: fatal error: 'clretwallmain.h' file not found

It turns out that the eventpipe code has a dependency on
clretwallmain.h. src/CMakeLists.txt points out that clretwallmain.h is a
generated file. But there's no actual dependency between the eventpipe
target and the header file(s).

Fix that by fixing the generator script to insert an explicit dependency
between 'eventpipe' module and 'GeneratedEventingFiles' module.

7 years agoRestore logic for when to use satellite resource lookup under AppX (#12117)
Jan Kotas [Wed, 7 Jun 2017 03:25:45 +0000 (20:25 -0700)]
Restore logic for when to use satellite resource lookup under AppX (#12117)

Remove unused cache of Assembly flags while I was on it

7 years agoMore formatting
Carol Eidt [Wed, 7 Jun 2017 01:39:13 +0000 (18:39 -0700)]
More formatting

7 years agoFormatting
Carol Eidt [Wed, 7 Jun 2017 00:57:39 +0000 (17:57 -0700)]
Formatting

7 years agoStreamline LSRA for non-enregistered lclVars
Carol Eidt [Tue, 16 May 2017 23:56:05 +0000 (16:56 -0700)]
Streamline LSRA for non-enregistered lclVars

- Don't create any lclVar intervals if no lclVars are ever enregistered.
- Don't create intervals for tracked lclVars that are not register candidates.
- Don't create any `RegToVarMap`s when no lclVars are ever enregistered.
- Don't do edge resolution if no lclVars are enregistered.
- Eliminate non-candidate lclVars from the sets used by LSRA.

Also:
- Change VarToRegMap to use regNumberSmall.
- Enhance `COMPLus_JitLsraStats` and `COMPlus_JitTimeLogCsv` dumping.

7 years agoRemove use of gtEffectiveVal in RyuJIT codegen
Bruce Forstall [Tue, 6 Jun 2017 23:37:40 +0000 (16:37 -0700)]
Remove use of gtEffectiveVal in RyuJIT codegen

This is not required in RyuJIT at the codegen phase: COMMA and
value-producing NOPs are no longer in place.

7 years agoMerge pull request #12113 from JosephTremoulet/NoTailStress
Joseph Tremoulet [Tue, 6 Jun 2017 22:46:55 +0000 (18:46 -0400)]
Merge pull request #12113 from JosephTremoulet/NoTailStress

Stop extraneously setting tail call stress

7 years agoMerge pull request #12119 from wtgodbe/StableVersion
William Godbe [Tue, 6 Jun 2017 22:03:23 +0000 (15:03 -0700)]
Merge pull request #12119 from wtgodbe/StableVersion

Fix error with Stable Version

7 years agoFix error with Stable Version
wtgodbe [Tue, 6 Jun 2017 21:59:31 +0000 (14:59 -0700)]
Fix error with Stable Version

7 years agoMerge pull request #12079 from hseok-oh/ryujit/fix_11850
Bruce Forstall [Tue, 6 Jun 2017 21:14:03 +0000 (14:14 -0700)]
Merge pull request #12079 from hseok-oh/ryujit/fix_11850

[RyuJIT/ARM32] Fix assertion when struct argument passing less than 4 byte

7 years agoMerge pull request #11897 from wtgodbe/TestCorrectVersion
William Godbe [Tue, 6 Jun 2017 21:07:04 +0000 (14:07 -0700)]
Merge pull request #11897 from wtgodbe/TestCorrectVersion

Test packages from current build in pipeline

7 years agoFix for CoreRT issue https://github.com/dotnet/corert/issues/3672 (armel tizen) ...
sergey ignatov [Tue, 6 Jun 2017 20:11:38 +0000 (23:11 +0300)]
Fix for CoreRT issue https://github.com/dotnet/corert/issues/3672 (armel tizen) (#12104)

7 years agoStop extraneously setting tail call stress
Joseph Tremoulet [Tue, 6 Jun 2017 20:11:17 +0000 (16:11 -0400)]
Stop extraneously setting tail call stress

Tests GitHub_10780 and GitHub_11689 are repro cases for issues that don't
have anything to do with tail calls; the bit of code in their csproj's
that sets COMPlus_TailCallStress was an accidental copy-paste inclusion
from GitHub_11408.  Remove that extra code.

7 years agoTest packages from current build in pipeline
wtgodbe [Wed, 24 May 2017 21:34:46 +0000 (14:34 -0700)]
Test packages from current build in pipeline

7 years agoMerge pull request #12069 from CarolEidt/CrossGenMinOpts
Carol Eidt [Tue, 6 Jun 2017 18:47:33 +0000 (11:47 -0700)]
Merge pull request #12069 from CarolEidt/CrossGenMinOpts

Support COMPlus_JITMinOpts for crossgen

7 years agoFixed the loading of ReadyToRun tuning native image
Brian Sullivan [Tue, 6 Jun 2017 18:06:20 +0000 (11:06 -0700)]
Fixed the loading of ReadyToRun tuning native image

Corrected the new ifdef that prevented the loading of tuning/profiling ReadyToRun native images
Commented out a costly precondition check, it is always true at all callsites.

7 years agoRename CMAKE_ENABLE_CODE_COVERAGE to CLR_CMAKE_ENABLE_CODE_COVERAGE (#12106)
Omair Majid [Tue, 6 Jun 2017 17:28:09 +0000 (13:28 -0400)]
Rename CMAKE_ENABLE_CODE_COVERAGE to CLR_CMAKE_ENABLE_CODE_COVERAGE (#12106)

7 years agonew JitEE interface method: expandRawHandleIntrinsic (#12071)
Sergey Andreenko [Tue, 6 Jun 2017 17:19:11 +0000 (10:19 -0700)]
new JitEE interface method: expandRawHandleIntrinsic (#12071)

Create a new JitEE method expandRawHandleIntrinsic. Delete old isDelegateCreationAllowed and getAddrModuleDomainID.

Support CORINFO_INTRINSIC_GetRawHandle.
Change JITEEVersionIdentifier.
fix MEASURE_CLRAPI_CALLS: add resolveVirtualMethod and expandRawHandleIntrinsic there.

7 years agoFix a bad merge for Windows standalone GC build (#12097)
Sean Gillespie [Tue, 6 Jun 2017 17:05:50 +0000 (10:05 -0700)]
Fix a bad merge for Windows standalone GC build (#12097)

7 years agoFix crash due to lack of PSPSym in the CoreRT ABI (#12082)
Petr Bred [Tue, 6 Jun 2017 15:59:40 +0000 (18:59 +0300)]
Fix crash due to lack of PSPSym in the CoreRT ABI (#12082)

Signed-off-by: Petr Bred <bredpetr@gmail.com>
7 years ago[Local GC] Add TrapReturningThreads to the GC/EE interface (#12067)
Sean Gillespie [Tue, 6 Jun 2017 05:23:46 +0000 (22:23 -0700)]
[Local GC] Add TrapReturningThreads to the GC/EE interface (#12067)

7 years agoTypeForwardedFrom attributes on coretypes for NetFX serialization (#12059)
Viktor Hofer [Mon, 5 Jun 2017 23:17:54 +0000 (01:17 +0200)]
TypeForwardedFrom attributes on coretypes for NetFX serialization (#12059)

* TypeForwardedFrom attributes on coretypes for NetFX serialization

* ValueTuple added

* Removed StubEnvironment typeforwards

* Modified FQAN for some special type forwards

* Support desktop to core serialization with InternalsVisibleTo for mscorlib

* Remove typeforwards from nested types

* Removed unused file

7 years agoMerge pull request dotnet/corert#3793 from dotnet/nmirror
Jan Kotas [Mon, 5 Jun 2017 19:38:24 +0000 (12:38 -0700)]
Merge pull request dotnet/corert#3793 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
7 years agoDisable AppDomainLeaks configuration option for now until it is removed (#12095)
Sean Gillespie [Mon, 5 Jun 2017 22:42:03 +0000 (15:42 -0700)]
Disable AppDomainLeaks configuration option for now until it is removed (#12095)

7 years agoMerge pull request #11205 from mskvortsov/FixFloatingLdSt
Brian Sullivan [Mon, 5 Jun 2017 22:28:48 +0000 (15:28 -0700)]
Merge pull request #11205 from mskvortsov/FixFloatingLdSt

[RyuJIT/ARM32] Workaround vstr/vldr addressing modes limitations

7 years agoMerge pull request #12091 from pgavlin/TailCallStress11689
Pat Gavlin [Mon, 5 Jun 2017 21:33:58 +0000 (14:33 -0700)]
Merge pull request #12091 from pgavlin/TailCallStress11689

Disable tail call stress in GH_11689 if ZapDisable is enabled.

7 years agoMerge pull request #11884 from mikedn/arm-cmp-setcc
Pat Gavlin [Mon, 5 Jun 2017 21:06:45 +0000 (14:06 -0700)]
Merge pull request #11884 from mikedn/arm-cmp-setcc

[WIP] Lower long compares that are materialized into a register for ARM32

7 years agoMerge pull request #12072 from ellismg/update-buildtools
Matt Ellis [Mon, 5 Jun 2017 20:44:29 +0000 (13:44 -0700)]
Merge pull request #12072 from ellismg/update-buildtools

Update BuildTools

7 years agoMerge pull request #12085 from dotnet/Clean_up_properties_sent_for_Publish_builds
Matt Galbraith [Mon, 5 Jun 2017 20:05:43 +0000 (13:05 -0700)]
Merge pull request #12085 from dotnet/Clean_up_properties_sent_for_Publish_builds

Make all publish legs of CoreCLR uniform and match existing ones.

7 years agoDisable tail call stress in GH_11689 if ZapDisable is enabled.
Pat Gavlin [Mon, 5 Jun 2017 19:49:24 +0000 (12:49 -0700)]
Disable tail call stress in GH_11689 if ZapDisable is enabled.

Tail call stress does not mix well with ZapDisable due to the issues
described in #11408.

7 years agoMake all publish legs of CoreCLR uniform and match existing ones. Previously Release...
Matt Galbraith [Mon, 5 Jun 2017 17:34:46 +0000 (10:34 -0700)]
Make all publish legs of CoreCLR uniform and match existing ones.  Previously Release - Publish symbols was in the CoreFX-style format and the other three were not.  This unifies them.

7 years agoInline YieldProcessor on Linux (#12058)
Xiangyang (Mark) Guo [Mon, 5 Jun 2017 17:16:27 +0000 (10:16 -0700)]
Inline YieldProcessor on Linux (#12058)

7 years agoMore ldar/stlr support
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Mon, 15 May 2017 19:17:05 +0000 (19:17 +0000)]
More ldar/stlr support

7 years ago[Arm64] Add emitInsTargetRegSize support for ldar/stlr
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Fri, 12 May 2017 15:05:15 +0000 (15:05 +0000)]
[Arm64] Add emitInsTargetRegSize support for ldar/stlr

7 years agoMerge pull request #12025 from hseok-oh/ryujit/remorph_filedlist
Carol Eidt [Mon, 5 Jun 2017 15:34:55 +0000 (08:34 -0700)]
Merge pull request #12025 from hseok-oh/ryujit/remorph_filedlist

Skip argTable assignment for split struct when remorphing

7 years agoUpdate morph.cpp
Hyeongseok Oh [Mon, 5 Jun 2017 13:55:49 +0000 (22:55 +0900)]
Update morph.cpp

7 years agoFix an excess allocation of internal registers
Mikhail Skvortcov [Wed, 24 May 2017 12:42:41 +0000 (15:42 +0300)]
Fix an excess allocation of internal registers

7 years agoForbid making lea contained for vstr/vldr
Mikhail Skvortcov [Tue, 23 May 2017 15:45:02 +0000 (18:45 +0300)]
Forbid making lea contained for vstr/vldr

7 years agoModify genCreateAddrMode to make it behave the same way as on arm64
Mikhail Skvortcov [Tue, 23 May 2017 13:44:58 +0000 (16:44 +0300)]
Modify genCreateAddrMode to make it behave the same way as on arm64

7 years agoAdapt shared genLeaInstruction for arm32
Mikhail Skvortcov [Tue, 23 May 2017 13:25:07 +0000 (16:25 +0300)]
Adapt shared genLeaInstruction for arm32

7 years agoRemove arm32's genLeaInstruction
Mikhail Skvortcov [Tue, 23 May 2017 12:25:44 +0000 (15:25 +0300)]
Remove arm32's genLeaInstruction

7 years agoMove arm64's genLeaInstruction into codegenarmarch.cpp
Mikhail Skvortcov [Tue, 23 May 2017 12:19:45 +0000 (15:19 +0300)]
Move arm64's genLeaInstruction into codegenarmarch.cpp

7 years agoRevert commit dfca51c6
Mikhail Skvortcov [Tue, 23 May 2017 12:12:22 +0000 (15:12 +0300)]
Revert commit dfca51c6

7 years ago[RyuJIT/ARM32] Struct argument passing less than 4 byte
Hyeongseok Oh [Mon, 5 Jun 2017 07:04:26 +0000 (16:04 +0900)]
[RyuJIT/ARM32] Struct argument passing less than 4 byte

Fix assertion when struct argument is less than 4 byte and promoted

7 years agoRevert and remove isReMorph argument
Hyeongseok Oh [Mon, 5 Jun 2017 03:28:14 +0000 (12:28 +0900)]
Revert and remove isReMorph argument

- Revert commit that is removing nextSlotNum update in remorphing phase
- Remove isReMorph argument in SplitArg by using argsComplete

7 years agoAdditional fix for ETW failure in 32 process on 64 bit machines. (#12022)
Vance Morrison [Sat, 3 Jun 2017 15:30:36 +0000 (08:30 -0700)]
Additional fix for ETW failure in 32 process on 64 bit machines. (#12022)

* Addtional fix for ETW failure in 32 process on 64 bit machines.

The commit associated with Pull Request
    Fix failures in ETW logging on 4GB aware 32 bit processes #11941

Was incorrect.   Some long were changed to ulong, but the critical casting an IntPtr to ulong still does
sign extention and not zero extension.   Need to cast to a void* first.  This fixes this.

7 years agoMerge pull request #12068 from omajid/master
Matt Ellis [Sat, 3 Jun 2017 05:47:15 +0000 (22:47 -0700)]
Merge pull request #12068 from omajid/master

Fix typo in CRL_CMAKE_WARNINGS_ARE_ERRORS

7 years agoRemove relocations from SECTION_MethodDesc for ngened images for fields accessed...
gbalykov [Sat, 3 Jun 2017 03:31:28 +0000 (06:31 +0300)]
Remove relocations from SECTION_MethodDesc for ngened images for fields accessed from jit code for Linux ARM (#11963)

7 years agoCall sched_yield directly for Sleep(0) (#12063)
Koundinya Veluri [Sat, 3 Jun 2017 00:04:17 +0000 (17:04 -0700)]
Call sched_yield directly for Sleep(0) (#12063)

Related to PR #12057

7 years agoSupport COMPlus_JITMinOpts for crossgen
Carol Eidt [Fri, 2 Jun 2017 23:40:07 +0000 (16:40 -0700)]
Support COMPlus_JITMinOpts for crossgen

In order to better enable throughput measurement and analysis,
we would like to be able to specify COMPlus_JITMinOpts with crossgen.

7 years agoFix typo in CRL_CMAKE_WARNINGS_ARE_ERRORS
Omair Majid [Fri, 2 Jun 2017 23:00:26 +0000 (19:00 -0400)]
Fix typo in CRL_CMAKE_WARNINGS_ARE_ERRORS

7 years agoUpdate BuildTools
Matt Ellis [Fri, 2 Jun 2017 22:59:40 +0000 (15:59 -0700)]
Update BuildTools

This picks up some changes to how the tool runtime is published (we
now publish it as a portable app so we have less random .so's lying
around).

7 years agoMerge pull request #12064 from rartemev/fix_bash_script_issues
Roman Artemev [Fri, 2 Jun 2017 22:42:54 +0000 (15:42 -0700)]
Merge pull request #12064 from rartemev/fix_bash_script_issues

Fix path in bash script that runs test

7 years agofix procCount assertion (#12065)
Xiangyang (Mark) Guo [Fri, 2 Jun 2017 21:24:47 +0000 (14:24 -0700)]
fix procCount assertion (#12065)

7 years agoTiny typo in TaskCompletionSource xml comment (#12066)
Bar Arnon [Fri, 2 Jun 2017 21:24:29 +0000 (00:24 +0300)]
Tiny typo in TaskCompletionSource xml comment (#12066)

7 years agoAdd support for not breaking *nix build on warnings (#12039)
Omair Majid [Fri, 2 Jun 2017 20:55:14 +0000 (16:55 -0400)]
Add support for not breaking *nix build on warnings (#12039)

Add a build flag to make -Werror optional and let the build continue
even in the presence of warnings.

This option is very useful for anyone compiling with a different
(version of the) compiler. A different (version of the) compiler may
produce a different set of warnings and a piece of code that compiles
without warnings may emit warnings with a different (version of the)
compiler.

Resolves https://github.com/dotnet/coreclr/issues/8586

7 years agoMerge pull request dotnet/corert#3745 from dotnet/nmirror
Jan Kotas [Wed, 31 May 2017 06:22:43 +0000 (23:22 -0700)]
Merge pull request dotnet/corert#3745 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
7 years agoMerge pull request #11699 from swgillespie/local-gc-branch-merge
Sean Gillespie [Fri, 2 Jun 2017 19:08:18 +0000 (12:08 -0700)]
Merge pull request #11699 from swgillespie/local-gc-branch-merge

Integration from dev/local-gc into master

7 years agoattempt to fix r2r test failures
Roman Artemev [Fri, 2 Jun 2017 18:47:04 +0000 (11:47 -0700)]
attempt to fix r2r test failures

7 years agoMerge pull request #11803 from BruceForstall/FixRuntest
Bruce Forstall [Fri, 2 Jun 2017 18:41:22 +0000 (11:41 -0700)]
Merge pull request #11803 from BruceForstall/FixRuntest

Update runtest.cmd help to reflect reality

7 years agofix SleepEx(0,false) on Linux (#12057)
Xiangyang (Mark) Guo [Fri, 2 Jun 2017 18:28:36 +0000 (11:28 -0700)]
fix SleepEx(0,false) on Linux (#12057)

7 years agoReturn 0 on success from GC Reliability Framework scripts (#11990)
Sean Gillespie [Fri, 2 Jun 2017 17:17:53 +0000 (10:17 -0700)]
Return 0 on success from GC Reliability Framework scripts (#11990)

* Return 0 on success from GC Reliability Framework scripts

* Don't save standard out, Jenkins already does this

7 years agoMerge pull request #11957 from sjsinju/spill_temp_size
Carol Eidt [Fri, 2 Jun 2017 16:51:37 +0000 (09:51 -0700)]
Merge pull request #11957 from sjsinju/spill_temp_size

[RyuJit/ARM32] Adjust alignment for TYP_DOUBLE in tmpPreAllocateTemps

7 years agoMerge pull request #12003 from sjsinju/reg1_reg2_planB
Carol Eidt [Fri, 2 Jun 2017 16:50:31 +0000 (09:50 -0700)]
Merge pull request #12003 from sjsinju/reg1_reg2_planB

[RyuJit/ARM32] Fix wrong behavior of UINT->CHAR casting

7 years agoAdd support for flat vtables in RyuJIT (#12041)
Michal Strehovský [Fri, 2 Jun 2017 16:25:48 +0000 (09:25 -0700)]
Add support for flat vtables in RyuJIT (#12041)

CoreRT needs one less indirection to get to the virtual method.

On CoreCLR a virtual method call resolution goes like:

```
this -> MethodTable -> chunk(?) -> slot
```

On CoreRT, it's more flat:

```
this -> EEType -> slot
```

7 years agoFix a bug in LoadNativeStringResource to honor the contract properly when the buffer...
Yi Zhang (CLR) [Fri, 2 Jun 2017 16:10:34 +0000 (09:10 -0700)]
Fix a bug in LoadNativeStringResource to honor the contract properly when the buffer is not big enough (#12051)

* Return last error properly

* adjust pcwchUsed if ERROR_INSUFFICIENT_BUFFER

* return hr

* ERROR_INSUFFICIENT_BUFFER is a win32 error....

7 years agoInvoke jitShutdown during ProcessShutdownWork (#12054)
Jonghyun Park [Fri, 2 Jun 2017 13:12:19 +0000 (22:12 +0900)]
Invoke jitShutdown during ProcessShutdownWork (#12054)

7 years agoDelete long compare support from ARM32 codegen
Mike Danes [Wed, 24 May 2017 16:58:28 +0000 (19:58 +0300)]
Delete long compare support from ARM32 codegen

7 years agoEnable long relop lowering for ARM32
Mike Danes [Wed, 24 May 2017 16:53:22 +0000 (19:53 +0300)]
Enable long relop lowering for ARM32

7 years agoAdd ARM32 support for GT_SETCC/GT_CMP/GTF_SET_FLAGS
Mike Danes [Wed, 24 May 2017 11:17:28 +0000 (14:17 +0300)]
Add ARM32 support for GT_SETCC/GT_CMP/GTF_SET_FLAGS

7 years ago[x64/Linux] Fix FEATURE_INTERPRETER Release build (#12046)
Jonghyun Park [Fri, 2 Jun 2017 05:28:27 +0000 (14:28 +0900)]
[x64/Linux] Fix FEATURE_INTERPRETER Release build (#12046)

7 years agoFix formatting and bug
Hyeongseok Oh [Fri, 2 Jun 2017 04:51:33 +0000 (13:51 +0900)]
Fix formatting and bug

Fix formatting
Fix bug: DEBUG flag usage

7 years agoRemove updating nextSlotNum in remorphing phase
Hyeongseok Oh [Fri, 2 Jun 2017 03:18:10 +0000 (12:18 +0900)]
Remove updating nextSlotNum in remorphing phase

Remove updating nextSlotNum in remorphing phase
Remain updating it in remorphing phase for debugging only.

7 years agoModify comments
sjsujinkim [Fri, 2 Jun 2017 01:25:34 +0000 (10:25 +0900)]
Modify comments

7 years agoFix formatting
Hyeongseok Oh [Fri, 2 Jun 2017 01:12:47 +0000 (10:12 +0900)]
Fix formatting

7 years agoFix optdata restore functionality (#11935)
Daniel Podder [Thu, 1 Jun 2017 23:41:50 +0000 (18:41 -0500)]
Fix optdata restore functionality (#11935)

Fix optdata restore functionality (#11935)

Bring back optdata restore functionality following the move to 2.0
BuildTools and csproj-based CLI. Disable a harmless warning that broke
the Linux build when consuming PGO counts due to -Werr.

Fix #11796 for master

7 years agoEnsure that platform is considered for LongPlatformName instead of PackagePlatform...
Karthik Rajasekaran [Thu, 1 Jun 2017 22:59:00 +0000 (15:59 -0700)]
Ensure that platform is considered for LongPlatformName instead of PackagePlatform (#11900)

7 years agoSupport msbuildonunsupportedplatform on non-x64 architecture (#11966)
Jonghyun Park [Thu, 1 Jun 2017 22:18:40 +0000 (07:18 +0900)]
Support msbuildonunsupportedplatform on non-x64 architecture (#11966)

7 years agoFix 11991 (#12013)
Sergey Andreenko [Thu, 1 Jun 2017 21:24:39 +0000 (14:24 -0700)]
Fix 11991 (#12013)

Fix the case when the path doesn't have any '\'.
Fix clean_up.

7 years agoFix warnings on 32-bit platforms
Sean Gillespie [Thu, 1 Jun 2017 21:07:19 +0000 (14:07 -0700)]
Fix warnings on 32-bit platforms

7 years agoMerge pull request #11959 from hqueue/arm/ryujit/11779
Carol Eidt [Thu, 1 Jun 2017 20:16:18 +0000 (13:16 -0700)]
Merge pull request #11959 from hqueue/arm/ryujit/11779

[RyuJIT/ARM32][LSRA] Fix restoring TYP_DOUBLE interval in ARM32

7 years agoMerge pull request #11860 from rartemev/fix_tests_build_4
Roman Artemev [Thu, 1 Jun 2017 19:27:23 +0000 (12:27 -0700)]
Merge pull request #11860 from rartemev/fix_tests_build_4

Fixed tests build on Linux

7 years agoMerge pull request #11876 from hqueue/arm/ryujit/merge_lowerarmarch
Pat Gavlin [Thu, 1 Jun 2017 18:35:33 +0000 (11:35 -0700)]
Merge pull request #11876 from hqueue/arm/ryujit/merge_lowerarmarch

Merge remaining common arm32/arm64 lowering functions

7 years ago[Local GC] Remove uses of g_SystemInfo from the GC (#11628)
Sean Gillespie [Thu, 1 Jun 2017 17:17:35 +0000 (10:17 -0700)]
[Local GC] Remove uses of g_SystemInfo from the GC (#11628)

* [Local GC] Don't use g_SystemInfo to infer the number of processors

* [Local GC] Avoid using g_SystemInfo.dwAllocationGranularity from within
the GC.

In a few places, the GC aligns the size of a request memory reservation
to the allocation granularity before calling
GCToOSInterface::VirtualReserve. Upon inspection, this isn't necessary.

* [Local GC] Remove uses of g_SystemInfo from the handle table

* Add new API on GCToOSInterface for querying the total number of procs on the machine

7 years ago[Local GC] Obtaining configuration information (#11379)
Sean Gillespie [Tue, 30 May 2017 21:20:16 +0000 (17:20 -0400)]
[Local GC] Obtaining configuration information (#11379)

* [Local GC] Skeleton for GC configuration

* Initial tweaks after design feedback:
    1) Use string keys instead of enums. Upon receiving a string key,
    the EE looks at it and, if it's something that comes from startup
    flags, responds using the startup flag information. Otherwise, it
    forwards the string onto CLRConfig.
    2) Add a mechanism for getting string configuration values from the
    EE. This includes adding a RAII wrapper around strings so that they
    are freed correctly.

* Remove uses of g_pConfig from the GC and replace with GCConfig

* Use the GCConfig system for the GC log

* Fix poorly-named parameter

* Add documentation and caching of bool and int configs obtained from the EE

* Remove AppDomainLeaks as dead code

* Remove GC trace configs as dead code

* Repair unix build

* Fix an issue where we started the GC in the wrong latency mode

* Fix the unix build

* Pipe GCRetainVM configuration to the GC

* Dead code removal in the GC sample

* EEConfig -> GCConfig for heap verification constants in the GC

* Populate config information for bools and ints eagerly at startup

* Initialize g_theGCToCLR before initializing GCConfig

* Propegate HoardVM config to the GC

* Fix an incorrect comment

7 years ago[Local GC] Add async pinned handle methods to the handle interface (#11569)
Sean Gillespie [Tue, 16 May 2017 17:19:36 +0000 (10:19 -0700)]
[Local GC] Add async pinned handle methods to the handle interface (#11569)

* [Local GC] Add async pinned handle methods to the handle interface

* Add a callback to HandleAsyncPinnedHandles for handle enumeration

* Rename HandleAsyncPinnedHandles -> EnumerateAsyncPinnedHandles

* Introduce typedef for function pointer type

7 years ago[Local GC] Fix handle table interface violation (#11558)
Sean Gillespie [Sat, 13 May 2017 06:37:21 +0000 (23:37 -0700)]
[Local GC] Fix handle table interface violation (#11558)

7 years ago[Local GC] Fix some handle table interface violations in COMDependentHandle (#11358)
Sean Gillespie [Wed, 17 May 2017 22:41:34 +0000 (15:41 -0700)]
[Local GC] Fix some handle table interface violations in COMDependentHandle (#11358)

7 years agoFix a build break in feature branch caused by obsolete error (#11335)
Sean Gillespie [Wed, 17 May 2017 22:23:04 +0000 (15:23 -0700)]
Fix a build break in feature branch caused by obsolete error (#11335)

7 years ago[Local GC] Scaffolding for loading a standalone GC (#11242)
Sean Gillespie [Wed, 17 May 2017 22:07:34 +0000 (15:07 -0700)]
[Local GC] Scaffolding for loading a standalone GC (#11242)

* Configure the build system to build a CoreCLR capable of loading a standalone GC

* Proto-implementation of dynamic GC loading

* Build the GC with the VM's CMakeLists when doing a non-standalone build of the GC

* [Local GC] Introduce a new feature define, FEATURE_STANDALONE_GC_ONLY, to be used by the CI to explicitly test local GC dynamic loading code paths

* Fix the FEATURE_STANDALONE_GC_ONLY build for unix linkers

* Rebase against master

* Code review feedback: use the existing Unix exports file

7 years agogdbjit symbols exported (#11739)
chunseoklee [Thu, 1 Jun 2017 16:51:31 +0000 (01:51 +0900)]
gdbjit symbols exported (#11739)

* multiple export files as input for generate_exports_file

Now, generate_exports_file is able to process multiple input arguments.
This feature is useful when you want to export additional symbols depending on
compile time dependannt feature(-D option.)

* export file for gdbjit added

src/dlls/mscoree/gdbjit_unixexports.src file added
To enable gdbjit feature, libcoreclr.so should have __jit_xxx
symbols.
Current tizen build system removes .symtab section during rpm debuginfo
build. This patch moves __jit_xx symbols into .dynsym section.

7 years ago[Arm64] Use inner shareable for instGen_MemoryBarrier
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Tue, 16 May 2017 17:37:28 +0000 (17:37 +0000)]
[Arm64] Use inner shareable for instGen_MemoryBarrier