platform/upstream/coreclr.git
8 years agoMerge pull request #7835 from DrewScoggins/coreclr-perf
Drew Scoggins [Fri, 28 Oct 2016 18:32:14 +0000 (11:32 -0700)]
Merge pull request #7835 from DrewScoggins/coreclr-perf

Adding CoreCLR Perf support for Jenkins

8 years agoMerge pull request #7872 from jkotas/revert-tuple-hash
Jan Kotas [Fri, 28 Oct 2016 14:42:28 +0000 (07:42 -0700)]
Merge pull request #7872 from jkotas/revert-tuple-hash

Revert changes in tuple hashing algorithm

8 years agoAdd comment about F# dependency on hashing algorithm
Jan Kotas [Fri, 28 Oct 2016 11:25:48 +0000 (04:25 -0700)]
Add comment about F# dependency on hashing algorithm

8 years agoRevert "Better Tuple hashing, avoid boxing in Equals/GetHashCode (#6767)"
Jan Kotas [Fri, 28 Oct 2016 11:20:21 +0000 (04:20 -0700)]
Revert "Better Tuple hashing, avoid boxing in Equals/GetHashCode (#6767)"

This reverts commit 361e6eb85c74b57691955d97dda801d725cd2a59.

Conflicts:
src/mscorlib/mscorlib.shared.sources.props

8 years agoC++ conformance. (building with /permissive-) (#7855)
Phil Christensen [Fri, 28 Oct 2016 09:09:35 +0000 (02:09 -0700)]
C++ conformance. (building with /permissive-) (#7855)

These issues were found when building with the /permissive- flag in the
latest version of MSVC. No tests were added/modified because this does not
change any behavior.
There are a few types of language conformance issues fixed in this:

1) Strict string conversion (this is also covered by the /Zc:strictStrings
flag)

The 'const' is not implicitly dropped by string literals, which means the
following is not allowed:
char str = "const string literal"; //error: cannot convert a 'const char'
to a 'char*'
This fix to to make str 'const char*'. (This can have a domino effect
depending on where str is used)

2) Fully qualified inline declarations members inside class

struct A {
void A::f() { } // Error: illegal qualified name in member declaration,
remove redundant 'A::' to fix
};

3) MSVC by default will allows name lookup in a dependent base. This is
disabled by /permissive-

template <class T> struct B {
  void f();
};

template <class T> struct D
 : public B<T> //B is a dependent base because its type depends on the type of T in D<T>.
{
    //One possible fix is to uncomment the following line.  If this
    //were a type we should have 'using typename'...
    //using B<T>::f;

    void g() {
       f(); //Error: identifier not found, one possible fix is change it to 'this->f();'
    }
};

void h()
{
   D<int> d;
   d.g();
}

4) Warning 4800 has been removed in version 19.1 (1910) of the compiler.

For backwards compatability, surround the usage of 4800.
This is not related to C++ conformance.
 #if _MSC_VER <= 1900
 // 'BOOL' forcing value to bool 'true' or 'false'
 #pragma warning(disable: 4800)
 #endif

8 years agoMerge pull request #7866 from dotnet-bot/from-tfs
Jan Kotas [Fri, 28 Oct 2016 03:39:24 +0000 (20:39 -0700)]
Merge pull request #7866 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoAdd missing std::move to one exception throw (#7865)
Jan Vorlicek [Fri, 28 Oct 2016 02:34:42 +0000 (04:34 +0200)]
Add missing std::move to one exception throw (#7865)

We had the std::move missing in one of the exception throws. For some reason,
the current clang didn't complain about it even though the copy constructor was
deleted.

8 years agoUpdate broken link to RIDs (#7850)
kchoi [Fri, 28 Oct 2016 02:33:51 +0000 (19:33 -0700)]
Update broken link to RIDs (#7850)

8 years agoUse memset instead of ZeroMemory (#7851)
Michal Strehovský [Fri, 28 Oct 2016 02:32:55 +0000 (19:32 -0700)]
Use memset instead of ZeroMemory (#7851)

`CORINFO_HELP_READYTORUN_STATIC_BASE` and
`CORINFO_HELP_READYTORUN_GENERIC_STATIC_BASE` both use a mostly/fully
zeroed out `resolvedToken`, the common practice is to zero out with
`memset` in this codebase.

8 years agoFix exception.StackTrace race condition. Issue #12467. (#7856)
Mike McLaughlin [Fri, 28 Oct 2016 02:31:45 +0000 (19:31 -0700)]
Fix exception.StackTrace race condition.  Issue #12467. (#7856)

8 years agoFix conversion from CorJitFlag2 enum to JitFlag. (#7857)
Austin Wise [Fri, 28 Oct 2016 01:03:30 +0000 (18:03 -0700)]
Fix conversion from CorJitFlag2 enum to JitFlag. (#7857)

8 years agofix typo
Dan Moseley [Thu, 27 Oct 2016 23:45:57 +0000 (16:45 -0700)]
fix typo

8 years agorollback CS1635584
Rahul Kumar [Thu, 27 Oct 2016 22:39:18 +0000 (15:39 -0700)]
rollback CS1635584

[tfs-changeset: 1635595]

8 years agoExpose System.Security.Principal.PrincipalPolicy (required for AppDomain apis)
Rahul Kumar [Thu, 27 Oct 2016 21:26:11 +0000 (14:26 -0700)]
Expose System.Security.Principal.PrincipalPolicy (required for AppDomain apis)

[tfs-changeset: 1635584]

8 years agoMerge pull request #7837 from BruceForstall/JitFlags4
Bruce Forstall [Thu, 27 Oct 2016 20:48:06 +0000 (13:48 -0700)]
Merge pull request #7837 from BruceForstall/JitFlags4

Introduce new CORJIT_FLAGS type

8 years agoAdd verification of System.Globalization.Native.so symbols (#7848)
Jan Vorlicek [Thu, 27 Oct 2016 19:53:35 +0000 (21:53 +0200)]
Add verification of System.Globalization.Native.so symbols (#7848)

This change adds check of undefined dependencies of the System.Globalization.Native.so
to the build.sh. The recent change that made the ICU APIs resolving driven by the
shared library itself creates a potential for someone adding usage of an ICU API that
is not defined in the icushim.h.
With this change, such problem will be caught during the build and cause it to fail.

8 years agoIntroduce new CORJIT_FLAGS type
Bruce Forstall [Wed, 26 Oct 2016 22:52:06 +0000 (15:52 -0700)]
Introduce new CORJIT_FLAGS type

The "JIT flags" currently passed between the EE and the JIT have traditionally
been bit flags in a 32-bit word. Recently, a second 32-bit word was added to
accommodate additional flags, but that set of flags is definitely "2nd class":
they are not universally passed, and require using a separate set of bit
definitions, and comparing those bits against the proper, 2nd word.

This change replaces all uses of bare DWORD or 'unsigned int' types
representing flags with CORJIT_FLAGS, which is now an opaque type. All
flag names were renamed from CORJIT_FLG_* to CORJIT_FLAG_* to ensure all
cases were changed to use the new names, which are also scoped within the
CORJIT_FLAGS type itself.

Another motivation to do this, besides cleaner code, is to allow enabling the
SSE/AVX flags for x86. For x86, we had fewer bits available in the "first
word", so would have to either put them in the "second word", which, as
stated, was very much 2nd class and not plumbed through many usages, or
we could move other bits to the "second word", with the same issues. Neither
was a good option.

RyuJIT compiles with both COR_JIT_EE_VERSION > 460 and <= 460. I introduced
a JitFlags adapter class in jitee.h to handle both JIT flag types. All JIT
code uses this JitFlags type, which operates identically to the new
CORJIT_FLAGS type.

In addition to introducing the new CORJIT_FLAGS type, the SSE/AVX flags are
enabled for x86.

The JIT-EE interface GUID is changed, as this is a breaking change.

8 years agoMerge pull request #7803 from AlexGhiondea/Fix_SB
AlexGhiondea [Thu, 27 Oct 2016 18:55:16 +0000 (11:55 -0700)]
Merge pull request #7803 from AlexGhiondea/Fix_SB

Make sure that when the StringBuilder.Append method is called we firs…

8 years agoImplement initThisClass for generic types in ReadyToRun (#7842)
Michal Strehovský [Thu, 27 Oct 2016 18:11:52 +0000 (11:11 -0700)]
Implement initThisClass for generic types in ReadyToRun (#7842)

Only implementing the RyuJIT portion for CoreRT purposes (CoreRT side at dotnet/corert#2085).
I can file an issue to add support for this in CoreCLR if there's interest. On CoreCLR this is currently a disqualification from ReadyToRun and causes fallback to JITting.

8 years agoMerge pull request #7839 from rahku/_appdomain
Rahul Kumar [Thu, 27 Oct 2016 18:11:04 +0000 (11:11 -0700)]
Merge pull request #7839 from rahku/_appdomain

expose events from AppDomain via AssemblyLoadContext

8 years agoexpose events from AppDomain via AssemblyLoadContext
Rahul Kumar [Thu, 27 Oct 2016 01:14:39 +0000 (18:14 -0700)]
expose events from AppDomain via AssemblyLoadContext

8 years agoFix PDB creation for Ready-to-Run image of facade assemblies
dotnet-bot [Thu, 27 Oct 2016 17:34:18 +0000 (10:34 -0700)]
Fix PDB creation for Ready-to-Run image of facade assemblies

[tfs-changeset: 1635538]

8 years agoProperly spell class name in comments (#7821)
Dmitry-Me [Thu, 27 Oct 2016 16:45:34 +0000 (19:45 +0300)]
Properly spell class name in comments (#7821)

8 years agoFixed gcinfoencoder build errors. (#7826)
Jim Ma [Thu, 27 Oct 2016 08:37:22 +0000 (16:37 +0800)]
Fixed gcinfoencoder build errors. (#7826)

MEASURE_INFO switch now depends on _DEBUG switch. Ensure NumUntracked,
UntrackedSlotSize, NumUntrackedSize and EncPreservedSlots fields handled correctly in
GcInfoSize::operator+=() and GCInfoSize::Log().

fix #6008

8 years agoAdd the missing ICU APIs to the ICU shim (#7840)
Tarek Mahmoud Sayed [Thu, 27 Oct 2016 08:16:07 +0000 (01:16 -0700)]
Add the missing ICU APIs to the ICU shim (#7840)

there was a change done by the PR #7773 which removed the dependency on ICU version. and there is another PR #7811 which used more ICU APIs not listed in the shim.
the change here is to add these APIs to the shim

8 years agoUse getLocationOfThisType instead of embedGenericHandle (#7813)
Michal Strehovský [Thu, 27 Oct 2016 02:57:41 +0000 (19:57 -0700)]
Use getLocationOfThisType instead of embedGenericHandle (#7813)

getLocationOfThisType does way less work and gives the same result (the part we care about).

8 years ago[ARM/CI] Change the name of corefx project (#7820)
Hanjoung Lee [Thu, 27 Oct 2016 02:45:46 +0000 (11:45 +0900)]
[ARM/CI] Change the name of corefx project (#7820)

8 years agoMerge pull request #7787 from sivarv/cmpOpt
Sivarv [Thu, 27 Oct 2016 02:15:23 +0000 (19:15 -0700)]
Merge pull request #7787 from sivarv/cmpOpt

Optimize 'test' instruction in case of op1 == 0 or op1 != 0 where op1 is known to set Zero flag.

8 years agoMerge pull request #7828 from MichalStrehovsky/readyToRunGenericStaticBaseValueNum
Michal Strehovský [Thu, 27 Oct 2016 00:50:15 +0000 (17:50 -0700)]
Merge pull request #7828 from MichalStrehovsky/readyToRunGenericStaticBaseValueNum

Fix value numbering of ReadyToRunGenericStaticBase

8 years agoMerge pull request #7746 from AndyAyersMS/LessGCLayout
Andy Ayers [Thu, 27 Oct 2016 00:33:46 +0000 (17:33 -0700)]
Merge pull request #7746 from AndyAyersMS/LessGCLayout

Jit: use class attributes check to reduce GC layout asks

8 years agoMove JIT perf tests to new infrastructure
Drew Scoggins [Wed, 26 Oct 2016 20:32:30 +0000 (13:32 -0700)]
Move JIT perf tests to new infrastructure

Moved over the running of the JIT perf tests to use the same logic as the
perflab tests.  Had to make a few changes to what we save and where since
we reuse the sandbox folder.

8 years agoUpdate performance tests
Drew Scoggins [Tue, 25 Oct 2016 23:58:31 +0000 (16:58 -0700)]
Update performance tests

Add inner iterations to all performance tests in the perflab directory.
This is because we were measuring a time that was to small, and the
results were not useful.  This should also reduce the number of high level
iterations we run as well.

8 years agoMove benchmarks to use netstandard1.4 instead of netcoreapp1.0 to fix desktop reflect...
John Soklaski [Tue, 18 Oct 2016 01:09:58 +0000 (18:09 -0700)]
Move benchmarks to use netstandard1.4 instead of netcoreapp1.0 to fix desktop reflection issue

8 years agoMake sure that when the StringBuilder.Append method is called we first check that...
Alex Ghiondea [Tue, 25 Oct 2016 20:51:28 +0000 (13:51 -0700)]
Make sure that when the StringBuilder.Append method is called we first check that we can insert as many characters as were requested before we actually start writting them into the StringBuilder.

This will prevent the case when we realize that there is not enough space in the StringBuilder (and we cannot grow it as much as it is requested) after we already wrote stuff in it.

8 years agoAllow Ready-to-Run image to be loaded multiple times (#7809)
John Chen [Wed, 26 Oct 2016 20:49:54 +0000 (13:49 -0700)]
Allow Ready-to-Run image to be loaded multiple times (#7809)

Address issue #6695 by porting the fix from desktop CLR.

8 years agoFix value numbering of ReadyToRunGenericStaticBase
Michal Strehovský [Wed, 26 Oct 2016 19:41:14 +0000 (12:41 -0700)]
Fix value numbering of ReadyToRunGenericStaticBase

Fixes dotnet/corert#2080.

8 years agoAdd Misc types to InteropServices
Faizur Rahman [Wed, 26 Oct 2016 00:29:16 +0000 (17:29 -0700)]
Add Misc types to InteropServices

Add the following types to InteropServices:
- AutomationProxyAttribute
- ComAliasNameAttribute
- ComCompatibleVersionAttribute
- ComConversionLossAttribute
- ComRegisterFunctionAttribute
- ComUnregisterFunctionAttribute
- ICustomFactory
- ICustomMarshaler
- ImportedFromTypeLibAttribute
- LCIDConversionAttribute
- ManagedToNativeComInteropStubAttribute
- PrimaryInteropAssemblyAttribute
- ProgIdAttribute
- TypeLibImportClassAttribute
- TypeLibVersionAttribute

8 years agoOptimize 'test' instruction for op1 == 0 and op1 != 0 where op1 is known to set flags.
sivarv [Tue, 25 Oct 2016 23:52:08 +0000 (16:52 -0700)]
Optimize 'test' instruction for op1 == 0 and op1 != 0 where op1 is known to set flags.

8 years agoUpdate CoreClr, CoreFx to beta-24625-03, beta-24625-02, respectively (master) (#7804)
Davis Goodin [Wed, 26 Oct 2016 18:52:41 +0000 (13:52 -0500)]
Update CoreClr, CoreFx to beta-24625-03, beta-24625-02, respectively (master) (#7804)

* Update CoreClr, CoreFx to beta-24625-03, beta-24625-02, respectively

* Upgrade S.R.Serialization.Primitives to prerelease

8 years agoMerge pull request #7808 from pgavlin/VSO280103
Pat Gavlin [Wed, 26 Oct 2016 16:59:37 +0000 (09:59 -0700)]
Merge pull request #7808 from pgavlin/VSO280103

Clear side-effect flags on local reads in rationalize.

8 years agoMerge pull request #7823 from adiaaida/checkformatlocation
Michelle McDaniel [Wed, 26 Oct 2016 16:15:46 +0000 (09:15 -0700)]
Merge pull request #7823 from adiaaida/checkformatlocation

Fix format.py to look for .bat on Windows

8 years agoFix format.py to look for .bat on Windows
Michelle McDaniel [Wed, 26 Oct 2016 15:45:10 +0000 (08:45 -0700)]
Fix format.py to look for .bat on Windows

https://github.com/dotnet/jitutils/pull/56 changed the file extension for
the script files on Windows to be .bat, so the format.py script needs to
be updated.

8 years agoEnable CultureInfo netstandard 1.7 APIs on Linux (#7811)
Tarek Mahmoud Sayed [Wed, 26 Oct 2016 15:37:53 +0000 (08:37 -0700)]
Enable CultureInfo netstandard 1.7 APIs on Linux (#7811)

* Enable CultureInfo netstandard 1.7 APIs on Linux

* fix spaces

* Use Array.Empty<CultureInfo> instead of CultureInfo[0]

8 years agoRemove dependency of System.Globalization.Native.so on specific ICU version (#7773)
Jan Vorlicek [Wed, 26 Oct 2016 09:46:24 +0000 (11:46 +0200)]
Remove dependency of System.Globalization.Native.so on specific ICU version (#7773)

Remove dependency of System.Globalization.Native.so on specific ICU version

8 years agoMerge pull request #7816 from ramarag/ThreadingOverlapped
Rama krishnan Raghupathy [Wed, 26 Oct 2016 05:47:27 +0000 (22:47 -0700)]
Merge pull request #7816 from ramarag/ThreadingOverlapped

Adding missing members of threading.overlapped

8 years agoMerge pull request #7806 from sandreenko/fix-VSO-278365
sandreenko [Wed, 26 Oct 2016 05:32:11 +0000 (22:32 -0700)]
Merge pull request #7806 from sandreenko/fix-VSO-278365

RyuJIT/x86: fix VSO 278365

8 years agoMerge pull request #7814 from dotnet-bot/from-tfs
Bruce Forstall [Wed, 26 Oct 2016 04:36:19 +0000 (21:36 -0700)]
Merge pull request #7814 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoAdding missing members of threading.overlapped
Rama Krishnan Raghupathy [Wed, 26 Oct 2016 03:25:03 +0000 (20:25 -0700)]
Adding missing members of threading.overlapped

8 years agoFix build break caused by git commit for AppDomain::GetAssemblies
Rahul Kumar [Wed, 26 Oct 2016 00:15:57 +0000 (17:15 -0700)]
Fix build break caused by git commit for AppDomain::GetAssemblies

[tfs-changeset: 1635147]

8 years agoMerge pull request #7802 from pgavlin/VSO279829
Pat Gavlin [Tue, 25 Oct 2016 22:55:07 +0000 (15:55 -0700)]
Merge pull request #7802 from pgavlin/VSO279829

Do not promote long-typed args in methods that use JMP.

8 years agofix VSO 278365
Sergey Andreenko [Tue, 25 Oct 2016 21:54:52 +0000 (14:54 -0700)]
fix VSO 278365

don't convert (int) ((double)Round(double))  to  (int)Round(double) on
RyuJit/x86

8 years agoMerge pull request #7751 from ramarag/MemFailPoint
Rama krishnan Raghupathy [Tue, 25 Oct 2016 22:36:23 +0000 (15:36 -0700)]
Merge pull request #7751 from ramarag/MemFailPoint

Making MemoryFailPoint functional on xplat

8 years agoAdd CoreCLR perf test support to Jenkins
Drew Scoggins [Fri, 9 Sep 2016 18:27:47 +0000 (11:27 -0700)]
Add CoreCLR perf test support to Jenkins

Made changes to the perf.groovy to add support for running the CoreCLR
performance tests in the Perflab directory.  Also made changes to the
runner script for CoreCLR to allow it to run more than one type of test.

8 years agoMerge pull request #7800 from BruceForstall/ChangeJITGuid
Bruce Forstall [Tue, 25 Oct 2016 22:03:15 +0000 (15:03 -0700)]
Merge pull request #7800 from BruceForstall/ChangeJITGuid

Change JIT-EE interface GUID

8 years agoMaking MemoryFailPoint functional on xplat
Rama Krishnan Raghupathy [Fri, 7 Oct 2016 23:55:19 +0000 (16:55 -0700)]
Making MemoryFailPoint functional on xplat
Expose GlobalMemoryStatusEx on Xplat

8 years agoClear side-effect flags on local reads in rationalize.
Pat Gavlin [Tue, 25 Oct 2016 21:56:56 +0000 (14:56 -0700)]
Clear side-effect flags on local reads in rationalize.

These operations are always side-effect free.

8 years agoMerge pull request #7786 from rahku/_appdomain
Rahul Kumar [Tue, 25 Oct 2016 21:43:04 +0000 (14:43 -0700)]
Merge pull request #7786 from rahku/_appdomain

Add implementation of AppDomain.GetAssemblies

8 years agoAdd implementation of AppDomain.GetAssemblies
Rahul Kumar [Mon, 24 Oct 2016 21:46:40 +0000 (14:46 -0700)]
Add implementation of AppDomain.GetAssemblies

8 years agoDo not promote long-typed args in methods that use JMP.
Pat Gavlin [Tue, 25 Oct 2016 19:55:15 +0000 (12:55 -0700)]
Do not promote long-typed args in methods that use JMP.

On x86, methods that use JMP must ensure that all incoming arguments are
located in the appropriate stack slots/registers. To ensure that this is
true for long-typed arguments, do not promote these arguments in such
methods.

8 years agoMerge pull request #7799 from adiaaida/fixRotateFlagCheck
Michelle McDaniel [Tue, 25 Oct 2016 19:24:21 +0000 (12:24 -0700)]
Merge pull request #7799 from adiaaida/fixRotateFlagCheck

Fix flag check when morphing into rotate

8 years agoMerge pull request #7798 from AndyAyersMS/FixObservationImpact
Andy Ayers [Tue, 25 Oct 2016 18:57:54 +0000 (11:57 -0700)]
Merge pull request #7798 from AndyAyersMS/FixObservationImpact

Inliner: fix RARE_GC_STRUCT observation impact

8 years agoChange JIT-EE interface GUID
Bruce Forstall [Tue, 25 Oct 2016 18:39:54 +0000 (11:39 -0700)]
Change JIT-EE interface GUID

This should have been changed with #7672. However, changing it now
will help prevent unexpected bad interactions with SuperPMI and other
tools that expect the old interface.

8 years agoFix flag check when morphing into rotate
Michelle McDaniel [Tue, 25 Oct 2016 17:09:06 +0000 (10:09 -0700)]
Fix flag check when morphing into rotate

When we morphed a tree into a rotate, we assumed that the parent's flags
would be the same as its operands' flags, when in actuality, the parent's
flags should be a superset of its operands' flags. This change fixes the
flag check.

Fixes VSO 278374.

8 years agoCheck index before access (#7795)
Dmitry-Me [Tue, 25 Oct 2016 17:02:55 +0000 (20:02 +0300)]
Check index before access (#7795)

8 years agoAdd more lldbplugin/libsosplugin tests (#5606)
Ivan Baravy [Tue, 25 Oct 2016 16:32:15 +0000 (20:32 +0400)]
Add more lldbplugin/libsosplugin tests (#5606)

* Add more libsosplugin tests, update framework

+ Introduce test.assert* functions in testutils.py
+ Print test results as a table with failed assertions highlighted
+ PEP8!

* Add more lldbplugin/libsosplugin tests

8 years agoInliner: fix RARE_GC_STRUCT observation impact
Andy Ayers [Tue, 25 Oct 2016 16:31:47 +0000 (09:31 -0700)]
Inliner: fix RARE_GC_STRUCT observation impact

Closes #7792.

Since this observation isn't always fatal, change its impact to INFORMATION.
Also, refresh the assertion checking around fatal observations so that the
EnhancedLegacyPolicy (which is the current default) will catch this kind of
error going forward.

8 years agoDo not materialize CAS PseudoCustomAttribute (#7794)
Jan Kotas [Tue, 25 Oct 2016 16:02:38 +0000 (09:02 -0700)]
Do not materialize CAS PseudoCustomAttribute (#7794)

Do not materialize CAS permissionsets as custom attributes in reflection. We are just providing the CAS types in corefx to make things compile, but nothing else.

Fix https://github.com/dotnet/corefx/issues/12759

8 years agoAdd few Interop Marshal APIs (#7742)
Faizur Rahman [Tue, 25 Oct 2016 04:21:29 +0000 (21:21 -0700)]
Add few Interop Marshal APIs (#7742)

Add the following interop Marshal APIs:
M:System.Runtime.InteropServices.Marshal.GenerateGuidForType(System.Type)
M:System.Runtime.InteropServices.Marshal.GenerateProgIdForType(System.Type)
M:System.Runtime.InteropServices.Marshal.GetComObjectData(System.Object,System.Object)
M:System.Runtime.InteropServices.Marshal.GetHINSTANCE(System.Reflection.Module)
M:System.Runtime.InteropServices.Marshal.GetIDispatchForObject(System.Object)
M:System.Runtime.InteropServices.Marshal.GetTypedObjectForIUnknown(System.IntPtr,System.Type)
M:System.Runtime.InteropServices.Marshal.PtrToStringAuto(System.IntPtr)
M:System.Runtime.InteropServices.Marshal.SetComObjectData(System.Object,System.Object,System.Object)
M:System.Runtime.InteropServices.Marshal.StringToCoTaskMemAuto(System.String)
M:System.Runtime.InteropServices.Marshal.StringToHGlobalAuto(System.String)

8 years agoFix typos in windows build instructions (#7789)
Daniel Podder [Tue, 25 Oct 2016 04:14:54 +0000 (21:14 -0700)]
Fix typos in windows build instructions (#7789)

8 years agoFix performance problem introduced in previous change. (#7783)
Mike McLaughlin [Tue, 25 Oct 2016 01:59:13 +0000 (18:59 -0700)]
Fix performance problem introduced in previous change. (#7783)

8 years agoMerge pull request #7782 from sandreenko/fix-tfs-build
sandreenko [Mon, 24 Oct 2016 23:54:56 +0000 (16:54 -0700)]
Merge pull request #7782 from sandreenko/fix-tfs-build

fix tfs build crash

8 years agofix tfs build crash
Sergey Andreenko [Mon, 24 Oct 2016 21:33:13 +0000 (14:33 -0700)]
fix tfs build crash

ifdef EE version statements were forgotten in two files.
Braket was on the wrong line.

8 years agoMerge pull request #7778 from ianhays/binaryreadwrite_buffers
Ian Hays [Mon, 24 Oct 2016 22:23:03 +0000 (15:23 -0700)]
Merge pull request #7778 from ianhays/binaryreadwrite_buffers

Add some extra checks to BinaryReader/Writer buffers

8 years agoAdd back call to BitArray::ClearAll (#7779)
Jan Kotas [Mon, 24 Oct 2016 22:16:12 +0000 (15:16 -0700)]
Add back call to BitArray::ClearAll (#7779)

8 years agoMerge pull request #7706 from mjsabby/lcgjitprofcallbacks
noahfalk [Mon, 24 Oct 2016 21:51:12 +0000 (14:51 -0700)]
Merge pull request #7706 from mjsabby/lcgjitprofcallbacks

Add LCG JIT Compilation Profiler Callbacks

8 years agoMerge pull request #7776 from sivarv/lsraStatFix
Sivarv [Mon, 24 Oct 2016 20:44:43 +0000 (13:44 -0700)]
Merge pull request #7776 from sivarv/lsraStatFix

Fix the condition to dump a basic block stats.

8 years agoPR feedback for BinaryReader/Writer buffers
Ian Hays [Mon, 24 Oct 2016 20:26:42 +0000 (13:26 -0700)]
PR feedback for BinaryReader/Writer buffers

8 years agoAdd some extra checks to BinaryReader/Writer buffers
Ian Hays [Mon, 24 Oct 2016 20:09:36 +0000 (13:09 -0700)]
Add some extra checks to BinaryReader/Writer buffers

8 years agoMerge pull request #7775 from ianhays/cfg_arm64
Ian Hays [Mon, 24 Oct 2016 19:58:19 +0000 (12:58 -0700)]
Merge pull request #7775 from ianhays/cfg_arm64

Add CFG flag to ARM64 build

8 years agoMerge pull request #7772 from jkotas/gcinfo-cleanup
Jan Kotas [Mon, 24 Oct 2016 18:51:06 +0000 (11:51 -0700)]
Merge pull request #7772 from jkotas/gcinfo-cleanup

GCInfoDecoder cleanup

8 years agoFix the condition to dump a basic block stats.
sivarv [Mon, 24 Oct 2016 18:42:03 +0000 (11:42 -0700)]
Fix the condition to dump a basic block stats.

8 years agoAdd CFG flag to ARM64 build
Ian Hays [Mon, 24 Oct 2016 18:04:03 +0000 (11:04 -0700)]
Add CFG flag to ARM64 build

8 years agoMerge pull request #7720 from Dmitry-Me/fixBrokenComparison
Pat Gavlin [Mon, 24 Oct 2016 15:54:25 +0000 (08:54 -0700)]
Merge pull request #7720 from Dmitry-Me/fixBrokenComparison

Fix broken range check

8 years agoReplace LPVOID with void*
Jan Kotas [Mon, 24 Oct 2016 14:59:16 +0000 (07:59 -0700)]
Replace LPVOID with void*

8 years agoSimplify GCINFODECODER_CONTRACT
Jan Kotas [Mon, 24 Oct 2016 04:31:29 +0000 (21:31 -0700)]
Simplify GCINFODECODER_CONTRACT

8 years agoDelete DISABLE_EH_VECTORS
Jan Kotas [Mon, 24 Oct 2016 04:11:49 +0000 (21:11 -0700)]
Delete DISABLE_EH_VECTORS

8 years agoDelete _TARGET_SET_ macro
Jan Kotas [Mon, 24 Oct 2016 01:21:22 +0000 (18:21 -0700)]
Delete _TARGET_SET_ macro

8 years agoFixed month calculating issue of calendars(#7666) (#7769)
Jim Ma [Sat, 22 Oct 2016 16:19:57 +0000 (00:19 +0800)]
Fixed month calculating issue of calendars(#7666) (#7769)

Fixed the issue introduced by misunderstanding the precedence of '+' and
'>>'.

fix #7666

8 years agoFix Binder based PInvoke resolution for dynamic assembly (#7770)
Gaurav Khanna [Sat, 22 Oct 2016 16:18:26 +0000 (09:18 -0700)]
Fix Binder based PInvoke resolution for dynamic assembly (#7770)

8 years agoFixing the StackOverflowException error message. (#4786)
Vijay Ramakrishnan [Sat, 22 Oct 2016 11:51:20 +0000 (04:51 -0700)]
Fixing the StackOverflowException error message. (#4786)

8 years agoFixed typos and format issues on clr-code-guide doc(#7767) (#7768)
Jim Ma [Sat, 22 Oct 2016 11:13:17 +0000 (19:13 +0800)]
Fixed typos and format issues on clr-code-guide doc(#7767) (#7768)

There're several typos and format issues. Just fixed them.

Fix issue #7767

8 years agoPort GC changes from CoreRT (#7764)
Jan Kotas [Sat, 22 Oct 2016 05:07:29 +0000 (22:07 -0700)]
Port GC changes from CoreRT (#7764)

https://github.com/dotnet/corert/pull/2064: Add back limit for maximum object size
https://github.com/dotnet/corert/pull/2061: Fix retail build break

8 years agoFix broken #elif (#7756)
Dmitry-Me [Sat, 22 Oct 2016 04:05:09 +0000 (07:05 +0300)]
Fix broken #elif (#7756)

8 years agoAdd Profiling API callbacks for R2R methods (#7732)
Mukul Sabharwal [Sat, 22 Oct 2016 02:45:06 +0000 (19:45 -0700)]
Add Profiling API callbacks for R2R methods (#7732)

8 years agoMerge pull request #7749 from sivarv/VectorIntDot
Sivarv [Sat, 22 Oct 2016 02:36:25 +0000 (19:36 -0700)]
Merge pull request #7749 from sivarv/VectorIntDot

Recognize Vector<int>.Dot on AVX as a JIT intrinsic.

8 years agoImprove ArraySegment's override of GetHashCode (#4654)
James Ko [Sat, 22 Oct 2016 01:21:27 +0000 (21:21 -0400)]
Improve ArraySegment's override of GetHashCode (#4654)

* Improve ArraySegment's override of GetHashCode

* Use new implementation suggested by @VSadov

* Respond to PR feedback

* Remove the workaround for object.GetHashCode

* Respond to HashHelpers changes

* Fix compile errors.

8 years agoMerge pull request #7739 from pgavlin/DisableGCStressIncompatibleTests
Pat Gavlin [Sat, 22 Oct 2016 01:21:01 +0000 (18:21 -0700)]
Merge pull request #7739 from pgavlin/DisableGCStressIncompatibleTests

Mark tests GCStress-incompatible for x86.

8 years agoMerge pull request #7760 from pgavlin/VSO279832
Pat Gavlin [Sat, 22 Oct 2016 00:24:17 +0000 (17:24 -0700)]
Merge pull request #7760 from pgavlin/VSO279832

Properly initialize the varargs base lclVar.

8 years agoMerge pull request #7759 from pgavlin/VSO278367
Pat Gavlin [Sat, 22 Oct 2016 00:22:49 +0000 (17:22 -0700)]
Merge pull request #7759 from pgavlin/VSO278367

Initialize long return type descs in `gtNewCallNode`.

8 years agoInitialize member variable (#7737)
Dmitry-Me [Fri, 21 Oct 2016 23:38:45 +0000 (02:38 +0300)]
Initialize member variable (#7737)