platform/upstream/coreclr.git
8 years agoFix exception in PreStubWorker call chain - update
Jan Vorlicek [Wed, 27 Jan 2016 11:20:38 +0000 (12:20 +0100)]
Fix exception in PreStubWorker call chain - update

This change fixes one case that the previous fix was missing. This is a case when
the exception in the PreStubWorker call chain is thrown by native code, for example
during jitting the target managed method. In this case, the DispatchManagedException
is called in the first pass, so we need to do the same change as in the previous
fix for the first pass as well.
Since we now have the first managed frame context available in the
DispatchManagedException for the first pass too, I have modified the
UnwindManagedExceptionPass1 to get it as a parameter so that it doesn't
need to do the unwinding to that frame again.

8 years agoFix exception in PreStubWorker
Jan Vorlicek [Tue, 26 Jan 2016 01:48:37 +0000 (02:48 +0100)]
Fix exception in PreStubWorker

This change fixes a problem when exception happens in managed code called from
the PreStubWorker and the PreStubWorker (resp. its caller, ThePreStub) was called
from native code.
The issue was that the INSTALL_MANAGED_EXCEPTION_DISPATCHER calls DispatchManagedException
and that function expected that the INSTALL_MANAGED_EXCEPTION_DISPATCHER was always
at the boundary between managed and native frames and so it skipped the native frames
upto the first managed frame.
The PreStubWorker is the only case where this is not always true and so the native frames
need to be unwound by rethrowing the C++ exception when the PreStubWorker was called from
native code.

8 years agoMerge pull request #2845 from AndyAyersMS/DisableCscBenchOffWindows
Andy Ayers [Mon, 25 Jan 2016 21:44:04 +0000 (13:44 -0800)]
Merge pull request #2845 from AndyAyersMS/DisableCscBenchOffWindows

Disable running CscBench off windows

8 years agoMerge pull request #2819 from briansull/lvOtherArgReg
Brian Sullivan [Mon, 25 Jan 2016 21:32:28 +0000 (13:32 -0800)]
Merge pull request #2819 from briansull/lvOtherArgReg

Fix issues on ARM64 with lvOtherArgReg being initialized to REG_STK

8 years agoMerge pull request #2807 from kangaroo/seh-unwind-context-fix
Jan Vorlicek [Mon, 25 Jan 2016 20:31:48 +0000 (21:31 +0100)]
Merge pull request #2807 from kangaroo/seh-unwind-context-fix

Fix PAL_VirtualUnwindOutOfProc for the case where unw_context is not …

8 years agoMerge pull request #2832 from Priya91/includefiles
Jan Kotas [Mon, 25 Jan 2016 19:35:54 +0000 (11:35 -0800)]
Merge pull request #2832 from Priya91/includefiles

Add identity.cpp to build.

8 years agoMerge pull request #2811 from wtgodbe/groovy
William Godbe [Mon, 25 Jan 2016 18:52:33 +0000 (10:52 -0800)]
Merge pull request #2811 from wtgodbe/groovy

Fixed build and test of rc2 branch in CI

8 years agoDisable running CscBench off windows
Andy Ayers [Mon, 25 Jan 2016 18:39:15 +0000 (10:39 -0800)]
Disable running CscBench off windows

Disable this test when running off Windows for now, while we're getting to the root cause of #2728.

8 years agoFixed build and test of rc2 branch in CI
William Godbe [Fri, 22 Jan 2016 20:04:34 +0000 (12:04 -0800)]
Fixed build and test of rc2 branch in CI

8 years agoMerge pull request #2814 from sejongoh/add_jit_stress_modes
Sejong Oh [Mon, 25 Jan 2016 17:15:15 +0000 (09:15 -0800)]
Merge pull request #2814 from sejongoh/add_jit_stress_modes

Add jit stress modes to netci.groovy

8 years agoMerge pull request #2843 from hughbe/bitconverter-comments
Jan Kotas [Mon, 25 Jan 2016 17:06:42 +0000 (09:06 -0800)]
Merge pull request #2843 from hughbe/bitconverter-comments

Remove irrelevant endianness comment, fix #834

8 years agoRemove irrelevant endianness comment, fix #834
Hugh Bellamy [Mon, 25 Jan 2016 16:27:13 +0000 (16:27 +0000)]
Remove irrelevant endianness comment, fix #834

Fixes #834 (see the issue for the rationale)

8 years agoMerge pull request #2828 from juergenhoetzel/python3_fixes
Rama krishnan Raghupathy [Mon, 25 Jan 2016 11:00:17 +0000 (03:00 -0800)]
Merge pull request #2828 from juergenhoetzel/python3_fixes

Fix Python 3 issue in LTTNG generating code script

8 years agoFix Python 3 issue in LTTNG generating code script
Juergen Hoetzel [Sat, 23 Jan 2016 17:30:00 +0000 (18:30 +0100)]
Fix Python 3 issue in LTTNG generating code script

In Python 3 the print statement has become a function.
Enforce Python 3 style by by using __future__ module.

8 years agoFix build breaks and ensure GetComputerNameW is included in mscorlib.
Lakshmi Priya Sekar [Sun, 24 Jan 2016 22:50:28 +0000 (14:50 -0800)]
Fix build breaks and ensure GetComputerNameW is included in mscorlib.

8 years agoMerge pull request #2838 from dotnet/revert-2817-CoreRTPInvoke
Jan Kotas [Mon, 25 Jan 2016 05:43:55 +0000 (21:43 -0800)]
Merge pull request #2838 from dotnet/revert-2817-CoreRTPInvoke

Revert "Generate P/Invoke transitions for CoreRT."

8 years agoRevert "Generate P/Invoke transitions for CoreRT."
Jan Kotas [Mon, 25 Jan 2016 05:43:42 +0000 (21:43 -0800)]
Revert "Generate P/Invoke transitions for CoreRT."

8 years agoAdd JIT stress modes to netci.groovy
Sejong Oh [Fri, 22 Jan 2016 21:09:00 +0000 (13:09 -0800)]
Add JIT stress modes to netci.groovy

Fixed the environment variable names for JIT stress modes

8 years agoMerge pull request #2817 from pgavlin/CoreRTPInvoke
Kyungwoo Lee [Mon, 25 Jan 2016 03:19:55 +0000 (19:19 -0800)]
Merge pull request #2817 from pgavlin/CoreRTPInvoke

8 years agoMerge pull request #2837 from akarpov89/fix-typo
Jan Kotas [Sun, 24 Jan 2016 23:39:49 +0000 (15:39 -0800)]
Merge pull request #2837 from akarpov89/fix-typo

Fix typo

8 years agoFix typo
Andrew Karpov [Sun, 24 Jan 2016 22:55:33 +0000 (01:55 +0300)]
Fix typo

Replace "childre" with "children"

8 years agoMerge pull request #2833 from stephentoub/convertto
Jan Kotas [Sun, 24 Jan 2016 16:51:07 +0000 (08:51 -0800)]
Merge pull request #2833 from stephentoub/convertto

Improve inlining of Convert.To* methods

8 years agoAdd identity.cpp to build.
Lakshmi Priya Sekar [Sun, 24 Jan 2016 09:15:18 +0000 (01:15 -0800)]
Add identity.cpp to build.

8 years agoMerge pull request #2829 from krytarowski/netbsd-support-11
Jan Kotas [Sun, 24 Jan 2016 02:50:48 +0000 (18:50 -0800)]
Merge pull request #2829 from krytarowski/netbsd-support-11

Add new IMAGE_FILE_MACHINE_NATIVE_OS_OVERRIDE type for NetBSD

8 years agoAddress code review feedback.
Pat Gavlin [Sun, 24 Jan 2016 01:17:47 +0000 (17:17 -0800)]
Address code review feedback.

8 years agoMerge pull request #2745 from ellismg/disable-finalizer-test
Matt Ellis [Sat, 23 Jan 2016 22:48:03 +0000 (14:48 -0800)]
Merge pull request #2745 from ellismg/disable-finalizer-test

Disable flaky test against 2744

8 years agoAdd new IMAGE_FILE_MACHINE_NATIVE_OS_OVERRIDE type for NetBSD
Kamil Rytarowski [Sat, 23 Jan 2016 22:30:40 +0000 (23:30 +0100)]
Add new IMAGE_FILE_MACHINE_NATIVE_OS_OVERRIDE type for NetBSD

Random number selected for NetBSD is 0x1993.
1993 is the year of founding the project.

Closes #2805 "What's the Platform ID for NetBSD?" by myself.

8 years agoSort IMAGE_FILE_MACHINE_NATIVE_OS_OVERRIDE by OS
Kamil Rytarowski [Sat, 23 Jan 2016 22:26:11 +0000 (23:26 +0100)]
Sort IMAGE_FILE_MACHINE_NATIVE_OS_OVERRIDE by OS

8 years agoMerge pull request #2614 from AndyAyersMS/Bytemark
Andy Ayers [Sat, 23 Jan 2016 21:56:25 +0000 (13:56 -0800)]
Merge pull request #2614 from AndyAyersMS/Bytemark

Add the bytemark benchmarks

8 years agoDisable flaky test against #2744
Matt Ellis [Wed, 20 Jan 2016 07:18:42 +0000 (23:18 -0800)]
Disable flaky test against #2744

8 years agoImprove perf of Convert.To* methods
stephentoub [Sat, 23 Jan 2016 14:55:01 +0000 (09:55 -0500)]
Improve perf of Convert.To* methods

Many of these methods are just casts with an up-front out-of-bounds check to throw an exception it an overflow occurs.  Those checks, and specifically the throw statement that follows is causing many of these methods to be non-inlineable.  A microbenchmark shows that factoring out these statements increases throughput by as much as 6x.  Some of these were previously showing up as measurable contributions to CPU time in a real-world app being profiled.

8 years agoMerge pull request #2797 from krytarowski/netbsd-support-6
Jan Kotas [Sat, 23 Jan 2016 15:19:21 +0000 (07:19 -0800)]
Merge pull request #2797 from krytarowski/netbsd-support-6

NetBSD: Define PAL_CS_NATIVE_DATA_SIZE for few NetBSD platforms

8 years agoMerge pull request #2800 from krytarowski/netbsd-support-8
Jan Kotas [Sat, 23 Jan 2016 15:10:48 +0000 (07:10 -0800)]
Merge pull request #2800 from krytarowski/netbsd-support-8

NetBSD: CHAR_BIT as defined by POSIX in limits.h

8 years agoMerge pull request #2795 from Dmitry-Me/fixInterlockedDecrementRace
Jan Kotas [Sat, 23 Jan 2016 14:45:41 +0000 (06:45 -0800)]
Merge pull request #2795 from Dmitry-Me/fixInterlockedDecrementRace

Non-interlocked read of variable after InterlockedDecrement() causes a race

8 years agoMerge pull request #2802 from krytarowski/netbsd-support-9
Jan Kotas [Sat, 23 Jan 2016 14:43:21 +0000 (06:43 -0800)]
Merge pull request #2802 from krytarowski/netbsd-support-9

NetBSD: Don't link with -ldl for dlopen(3) on NetBSD

8 years agoMerge pull request #2799 from krytarowski/netbsd-support-7
Jan Kotas [Sat, 23 Jan 2016 06:23:01 +0000 (22:23 -0800)]
Merge pull request #2799 from krytarowski/netbsd-support-7

NetBSD: Detect copysign(3) properly on NetBSD inside the math library

8 years agoMerge pull request #2804 from krytarowski/netbsd-support-10
Jan Kotas [Sat, 23 Jan 2016 06:22:09 +0000 (22:22 -0800)]
Merge pull request #2804 from krytarowski/netbsd-support-10

NetBSD: Add a kludge to disable unimplemented SEHEnable()/Disable()

8 years agoMerge pull request #2826 from kangaroo/uname-fix
Jan Kotas [Sat, 23 Jan 2016 05:26:47 +0000 (21:26 -0800)]
Merge pull request #2826 from kangaroo/uname-fix

[xplat] uname -p reports unknown on some arch -- fall back to uname -m

8 years ago[xplat] uname -p reports unknown on some arch -- fall back to uname -m
Geoff Norton [Sat, 23 Jan 2016 04:21:50 +0000 (04:21 +0000)]
[xplat] uname -p reports unknown on some arch -- fall back to uname -m

8 years agoFix PAL_VirtualUnwindOutOfProc for the case where unw_context is not a ucontext_t
Geoff Norton [Fri, 22 Jan 2016 18:44:37 +0000 (10:44 -0800)]
Fix PAL_VirtualUnwindOutOfProc for the case where unw_context is not a ucontext_t

8 years agoMerge pull request #2808 from erozenfeld/ValueNumberingFix
Eugene Rozenfeld [Sat, 23 Jan 2016 01:55:53 +0000 (17:55 -0800)]
Merge pull request #2808 from erozenfeld/ValueNumberingFix

Fix a bug in JIT value numbering.

8 years agoMerge pull request #2779 from swgillespie/event_tracing
Sean Gillespie [Sat, 23 Jan 2016 01:21:04 +0000 (17:21 -0800)]
Merge pull request #2779 from swgillespie/event_tracing

Untangle FEATURE_EVENT_TRACE and GC_PROFILING for coreclr

8 years agoFix issues on ARM64 with lvOtherArgReg being initialized to REG_STK
Brian Sullivan [Sat, 23 Jan 2016 01:04:38 +0000 (17:04 -0800)]
Fix issues on ARM64 with lvOtherArgReg being initialized to REG_STK

8 years agoMerge pull request #2818 from briansull/arm64-tests
Brian Sullivan [Sat, 23 Jan 2016 00:53:07 +0000 (16:53 -0800)]
Merge pull request #2818 from briansull/arm64-tests

Arm64 Smarty List file use for testing on Windows systems

8 years agoArm64 Smarty List file use for testing on Windows systems
Brian Sullivan [Thu, 21 Jan 2016 22:24:55 +0000 (14:24 -0800)]
Arm64 Smarty List file use for testing on Windows systems

8 years agoGenerate P/Invoke transitions for CoreRT.
Pat Gavlin [Wed, 20 Jan 2016 21:44:43 +0000 (13:44 -0800)]
Generate P/Invoke transitions for CoreRT.

This change adds support for CoreRT-style P/Invoke transitions
to RyuJIT. Instead of the usual inlined transition code, these
transitions are made up of calls to two new JIT helpers:

    PInvokeTransitionFrame frame; // opaque local
    CORINFO_HELP_INIT_PINVOKE_FRAME(&frame);
    ...
    CORINFO_HELP_JIT_PINVOKE_BEGIN(&frame);
    target(...);
    CORINFO_HELP_JIT_PINVOKE_END(&frame);
    ...

The preemptive mode constraints apply between calls to
JIT_PINVOKE_BEGIN and JIT_PINVOKE_END: no managed references
may be live only in registers and managed references may not
be manipulated.

8 years agoMerge pull request #2791 from rahku/master
Rahul Kumar [Sat, 23 Jan 2016 00:17:30 +0000 (16:17 -0800)]
Merge pull request #2791 from rahku/master

Use coreclr buildtools nuget package instead of compiling the tools u…

8 years agoUse coreclr buildtools nuget package instead of compiling the tools used during build.
Rahul Kumar [Wed, 13 Jan 2016 22:14:46 +0000 (14:14 -0800)]
Use coreclr buildtools nuget package instead of compiling the tools used during build.
This only applies to windows build.

8 years agoMerge pull request #2806 from janvorli/fix-stack-limit-check
Jan Vorlicek [Sat, 23 Jan 2016 00:10:19 +0000 (01:10 +0100)]
Merge pull request #2806 from janvorli/fix-stack-limit-check

Fix missing setting of ScanContext::stack_limit

8 years agoFix a bug in JIT value numbering.
Eugene Rozenfeld [Fri, 22 Jan 2016 01:54:10 +0000 (17:54 -0800)]
Fix a bug in JIT value numbering.

This is a fix for a silent bad codegen bug in value numbering.
The value numbering algorithm tries to check whether heap PHI arguments
evaluate to the same value for the given query. In doing so, it may encounter
PHIs that recursively depend on each other (this corresponds to cycles in
control flow graph). A special value RecursiveVN is returned in such cases.
The algorithm uses the following rule:
if some PHI arguments evaluate to RecursiveVN but all others evaluate to the
same value that's not RecursiveVN, then that value can be used as the result.
Furthermore, in order to avoid exponential searches in case of many PHI's the
results of all PHI evaluations are memoized.

The bug was that if RecursiveVN was used to get the result, it can't always
be memoized. In particular, if the loop causing recursive PHIs is a multi-entry
loop, intermediate PHI results shouldn't be memoized. The fix is conservative in
that it always disables memoization if RecursiveVN was involved. Note that we
also have another mechanism (budget) to mitigate expensive PHI evaluations.

There were no diffs in SuperPMI and no measurable throughput impact.

I added a test with a simplified repro.
The original bug had code with yield return.

I also fixed some formatting and added several function headers.

8 years agoNetBSD: Add a kludge to disable unimplemented SEHEnable()/Disable()
Kamil Rytarowski [Fri, 22 Jan 2016 16:07:49 +0000 (17:07 +0100)]
NetBSD: Add a kludge to disable unimplemented SEHEnable()/Disable()

8 years agoFix missing setting of ScanContext::stack_limit
Jan Vorlicek [Fri, 22 Jan 2016 16:07:26 +0000 (17:07 +0100)]
Fix missing setting of ScanContext::stack_limit

There is a code path executed when the GCStress is on and that was missing setting the stack_limit
value that the PromoteCarefully uses to detect objects on the stack.

8 years agoNetBSD: Don't link with -ldl for dlopen(3) on NetBSD
Kamil Rytarowski [Fri, 22 Jan 2016 15:16:21 +0000 (16:16 +0100)]
NetBSD: Don't link with -ldl for dlopen(3) on NetBSD

NAME
     dlopen, dlclose, dlsym, dlvsym, dladdr, dlctl, dlerror - dynamic link
     interface

LIBRARY
     (These functions are not in a library.  They are included in every
     dynamically linked program automatically.)

SYNOPSIS
     #include <dlfcn.h>

     void *
     dlopen(const char *path, int mode);

8 years agoNetBSD: CHAR_BIT as defined by POSIX in limits.h
Kamil Rytarowski [Fri, 22 Jan 2016 14:45:52 +0000 (15:45 +0100)]
NetBSD: CHAR_BIT as defined by POSIX in limits.h

Reference:

    limits.h - implementation-defined constants

    Numerical Limits
        {CHAR_BIT} Number of bits in a type char.

--- http://pubs.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html

There is no such file as sys/limits.h in NetBSD.

8 years agoNetBSD: Detect copysign(3) properly on NetBSD inside the math library
Kamil Rytarowski [Fri, 22 Jan 2016 13:41:40 +0000 (14:41 +0100)]
NetBSD: Detect copysign(3) properly on NetBSD inside the math library

The copysing(3) function is a part of the libm library on NetBSD.
This is also true for other POSIX platforms.

NAME
     copysign, copysignf, copysignl - functions to manipulate signs

LIBRARY
     Math Library (libm, -lm)

SYNOPSIS
     #include <math.h>

     double
     copysign(double x, double y);

     float
     copysignf(float x, float y);

     long double
     copysignl(long double x, long double y);

STANDARDS
     The described functions conform to ISO/IEC 9899:1999 (``ISO C99'').

8 years agoAdd a comment from where comes the PAL_CS_NATIVE_DATA_SIZE value
Kamil Rytarowski [Fri, 22 Jan 2016 11:29:28 +0000 (12:29 +0100)]
Add a comment from where comes the PAL_CS_NATIVE_DATA_SIZE value

8 years agoNetBSD: Define PAL_CS_NATIVE_DATA_SIZE for few NetBSD platforms
Kamil Rytarowski [Fri, 22 Jan 2016 11:25:39 +0000 (12:25 +0100)]
NetBSD: Define PAL_CS_NATIVE_DATA_SIZE for few NetBSD platforms

Set PAL_CS_NATIVE_DATA_SIZE for:
- amd64 (x86_64),
- earm,
- hppa,
- i386,
- mips,
- sparc (32bit),
- sparc64.

8 years agoSort the definitions of PAL_CS_NATIVE_DATA_SIZE by platforms and archs
Kamil Rytarowski [Fri, 22 Jan 2016 11:18:30 +0000 (12:18 +0100)]
Sort the definitions of PAL_CS_NATIVE_DATA_SIZE by platforms and archs

8 years agoNon-interlocked read of variable after InterlockedDecrement() causes a race
Dmitry-Me [Fri, 22 Jan 2016 08:43:35 +0000 (11:43 +0300)]
Non-interlocked read of variable after InterlockedDecrement() causes a race

8 years agoMerge pull request #2794 from dotnet-bot/from-tfs
Jan Kotas [Fri, 22 Jan 2016 08:26:20 +0000 (00:26 -0800)]
Merge pull request #2794 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #2786 from wtgodbe/groovy
Sergiy Kuryata [Fri, 22 Jan 2016 07:55:00 +0000 (23:55 -0800)]
Merge pull request #2786 from wtgodbe/groovy

Set longer timeout for pri 1 tests, and add testing for rc2 branch

8 years agoMerge pull request #2772 from ramarag/fixincrementabuild
Jan Kotas [Fri, 22 Jan 2016 05:52:16 +0000 (21:52 -0800)]
Merge pull request #2772 from ramarag/fixincrementabuild

Fix incremental build

8 years agoUntangle FEATURE_EVENT_TRACE and GC_PROFILING to enable one to be enabled
Sean Gillespie [Wed, 20 Jan 2016 18:52:11 +0000 (10:52 -0800)]
Untangle FEATURE_EVENT_TRACE and GC_PROFILING to enable one to be enabled
without the other

Fix the Ubuntu build by ensuring that HeapWalkHelper is defined when the rest of the heap walking mechanisms are defined

+feedback from jkotas and address missing symbols on Ubuntu

8 years agoFix x86chk coresys build
Aditya Mandaleeka [Fri, 22 Jan 2016 04:46:39 +0000 (20:46 -0800)]
Fix x86chk coresys build

[tfs-changeset: 1567626]

8 years agoFix ProjectK build breaks related to GC Stress change.
Aditya Mandaleeka [Fri, 22 Jan 2016 02:57:35 +0000 (18:57 -0800)]
Fix ProjectK build breaks related to GC Stress change.

[tfs-changeset: 1567550]

8 years agoMerge pull request #2784 from krytarowski/netbsd-support-5
Jan Kotas [Fri, 22 Jan 2016 02:47:07 +0000 (18:47 -0800)]
Merge pull request #2784 from krytarowski/netbsd-support-5

NetBSD: Add new target in src/pal/src/configure.cmake for NetBSD

8 years agoAdd the bytemark benchmarks
Andy Ayers [Sat, 9 Jan 2016 01:20:59 +0000 (17:20 -0800)]
Add the bytemark benchmarks

These are C# versions of benchmarks that originally appeared in BYTE magazine in 1995.
See file headers for attribution.

I've added [Benchmark] entry points for xunit-performance, and tuned each portion to run for
about 1 second per xunit-performance iteration. Note a couple of the tests have variant
implementations in C# -- either jagged vs MD arrays, or class vs struct, so there are more
numbers reported than in the original benchmark. When run under xunit the work per test is fixed.

When run as a command line app this will auto-tune (adjust iterations to try and hit some
running time threshold).  We may want to reduce the running time here some; I'll see what
it ends up being in the lab.

I've also tried to enable validation code where possible, both to ensure that the compiler
gets the right answers, and also so it can't cheat and remove computation.

The two assign benchmarks seem to report varying times in xunit mode, and may need to be
investigated further.

8 years agoMerge pull request #2783 from AndyAyersMS/RayTracer
Andy Ayers [Fri, 22 Jan 2016 00:54:39 +0000 (16:54 -0800)]
Merge pull request #2783 from AndyAyersMS/RayTracer

Add the RayTracer benchmark

8 years agoMerge pull request #2696 from gkhanna79/AssemblyResolve
Gaurav Khanna [Fri, 22 Jan 2016 00:18:42 +0000 (16:18 -0800)]
Merge pull request #2696 from gkhanna79/AssemblyResolve

AssemblyResolve support

8 years agoMerge pull request #2774 from ramarag/fixtestlayout
Rama krishnan Raghupathy [Fri, 22 Jan 2016 00:02:12 +0000 (16:02 -0800)]
Merge pull request #2774 from ramarag/fixtestlayout

Fixes the test intermediates layout for clean builds

8 years agoRetire unused Asian LOCALE_NAME
Kamil Rytarowski [Thu, 21 Jan 2016 23:45:16 +0000 (00:45 +0100)]
Retire unused Asian LOCALE_NAME

Removed variants:
- JA_JP_LOCALE_NAME,
- KO_KR_LOCALE_NAME,
- ZH_TW_LOCALE_NAME.

8 years agoMerge pull request #2782 from krytarowski/netbsd-support-4
Jan Kotas [Thu, 21 Jan 2016 23:30:17 +0000 (15:30 -0800)]
Merge pull request #2782 from krytarowski/netbsd-support-4

NetBSD: Set proper shortAsciiName for NetBSD's libc

8 years agoMerge pull request #2781 from krytarowski/netbsd-support-3
Jan Kotas [Thu, 21 Jan 2016 23:29:52 +0000 (15:29 -0800)]
Merge pull request #2781 from krytarowski/netbsd-support-3

NetBSD: Add support for retrieving the number of available CPUs

8 years agoMerge pull request #2732 from steveharter/FixSanitizerClrStartup
Steve Harter [Thu, 21 Jan 2016 23:14:59 +0000 (17:14 -0600)]
Merge pull request #2732 from steveharter/FixSanitizerClrStartup

Reduce clr startup noise when using Clang sanitizers

8 years agoGenerating Event Logging Headers From CMake for Linux
DDCloud [Thu, 21 Jan 2016 02:46:37 +0000 (18:46 -0800)]
Generating Event Logging Headers From CMake for Linux

Conflicts:
build.sh

8 years agoFIx the incremental build for Windows
Jan Vorlicek [Tue, 19 Jan 2016 18:24:23 +0000 (19:24 +0100)]
FIx the incremental build for Windows

Conflicts:
build.cmd
src/dlls/clretwrc/CMakeLists.txt

Cleanup

8 years agoMerge pull request #2788 from kyulee1/fixpath
Matt Mitchell [Thu, 21 Jan 2016 22:36:17 +0000 (14:36 -0800)]
Merge pull request #2788 from kyulee1/fixpath

Fix test path for ilasm nightly

8 years agoFix test path for ilasm nightly
Kyungwoo Lee [Thu, 21 Jan 2016 22:29:59 +0000 (14:29 -0800)]
Fix test path for ilasm nightly

8 years agoMerge pull request #2777 from dotnet-bot/from-tfs
Matt Ellis [Thu, 21 Jan 2016 22:06:56 +0000 (14:06 -0800)]
Merge pull request #2777 from dotnet-bot/from-tfs

Merge changes from TFS

8 years agoMerge pull request #2787 from mmitche/add-jitstress
Matt Mitchell [Thu, 21 Jan 2016 22:03:29 +0000 (14:03 -0800)]
Merge pull request #2787 from mmitche/add-jitstress

Add JitStress=1 stress configuration

8 years agoAdd JitStress=1 stress configuration
Matt Mitchell [Thu, 21 Jan 2016 21:50:54 +0000 (13:50 -0800)]
Add JitStress=1 stress configuration

8 years agoMerge pull request #2778 from krytarowski/netbsd-support-2
Jan Vorlicek [Thu, 21 Jan 2016 21:46:39 +0000 (22:46 +0100)]
Merge pull request #2778 from krytarowski/netbsd-support-2

NetBSD: Add PYTHON env variable for build.sh to specify python exec name

8 years agoFixes the test intermediates layout for clean builds
Rama Krishnan Raghupathy [Thu, 21 Jan 2016 04:05:04 +0000 (20:05 -0800)]
Fixes the test intermediates layout for clean builds

8 years agoSet longer timeout for pri 1 tests, and add testing for rc2 branch
William Godbe [Thu, 21 Jan 2016 21:32:15 +0000 (13:32 -0800)]
Set longer timeout for pri 1 tests, and add testing for rc2 branch

8 years agoReduce clr startup noise when using Clang sanitizers
Steve Harter [Wed, 16 Dec 2015 20:27:26 +0000 (14:27 -0600)]
Reduce clr startup noise when using Clang sanitizers

8 years agoNetBSD: Add new target in src/pal/src/configure.cmake for NetBSD
Kamil Rytarowski [Thu, 21 Jan 2016 21:03:44 +0000 (22:03 +0100)]
NetBSD: Add new target in src/pal/src/configure.cmake for NetBSD

This code is based on FreeBSD, with the following differences:
- At the moment there is no libunwind for NetBSD.
- The is no need for libc.so magic like in GNU, neither on FreeBSD
  someone wrongly assumed it there.
- ptrace(2) uses (void*) instead of (caddr_t)

8 years agoNetBSD: Set proper shortAsciiName for NetBSD's libc
Kamil Rytarowski [Thu, 21 Jan 2016 20:31:11 +0000 (21:31 +0100)]
NetBSD: Set proper shortAsciiName for NetBSD's libc

There is no need for the LIBC_SO-like solution on NetBSD.

8 years agoAdd the RayTracer benchmark
Andy Ayers [Wed, 20 Jan 2016 22:10:27 +0000 (14:10 -0800)]
Add the RayTracer benchmark

8 years agoNetBSD: Add support for retrieving the number of available CPUs
Kamil Rytarowski [Thu, 21 Jan 2016 19:03:31 +0000 (20:03 +0100)]
NetBSD: Add support for retrieving the number of available CPUs

$ uname
NetBSD
$ getconf NPROCESSORS_ONLN
2
$ getconf _NPROCESSORS_ONLN
getconf: _NPROCESSORS_ONLN: unknown variable

8 years agoMerge pull request #2780 from pgavlin/BuildRyuJitPackage
Pat Gavlin [Thu, 21 Jan 2016 19:23:23 +0000 (11:23 -0800)]
Merge pull request #2780 from pgavlin/BuildRyuJitPackage

Use output redirection in BuildRyuJitPackage.

8 years agoUse output redirection in BuildRyuJitPackage.
Pat Gavlin [Thu, 21 Jan 2016 18:56:13 +0000 (10:56 -0800)]
Use output redirection in BuildRyuJitPackage.

Command capture was producing unexpected results on the build
machines.

8 years agoNetBSD: Add PYTHON env variable for build.sh to specify python exec name
Kamil Rytarowski [Thu, 21 Jan 2016 18:38:54 +0000 (19:38 +0100)]
NetBSD: Add PYTHON env variable for build.sh to specify python exec name

This allows to overload the default 'python' executable name and is used
on NetBSD with pkgsrc, where python is either python2.7 or python3.x.

8 years agoMerge pull request #2760 from mmitche/add-ubuntu-minopts
Matt Mitchell [Thu, 21 Jan 2016 18:07:34 +0000 (10:07 -0800)]
Merge pull request #2760 from mmitche/add-ubuntu-minopts

Add minopts testing for the other cross compiled OS's

8 years agoAdd minopts for ubuntu and osx.
Matt Mitchell [Thu, 21 Jan 2016 17:54:26 +0000 (09:54 -0800)]
Add minopts for ubuntu and osx.

8 years agoMerge pull request #2776 from janvorli/fix-projectk-build
Jan Vorlicek [Thu, 21 Jan 2016 17:11:27 +0000 (18:11 +0100)]
Merge pull request #2776 from janvorli/fix-projectk-build

Fix missing disassembler.cpp in .targets files

8 years agoUpdate Unicode data to 8.0
Tarek Mahmoud Sayed [Thu, 21 Jan 2016 16:23:32 +0000 (08:23 -0800)]
Update Unicode data to 8.0

This a change porting that is done on the desktop. in addition updating some tests
The change is to update the Unicode characters data from v6.3 to v8 (support 2 releases after 6.3). the change is purely a data change and there is no product code changes.

[tfs-changeset: 1567358]

8 years agoFix missing disassembler.cpp in .targets files
Jan Vorlicek [Thu, 21 Jan 2016 15:34:40 +0000 (16:34 +0100)]
Fix missing disassembler.cpp in .targets files

This change adds missing disassembler.cpp to wks.targets and dacwks.targets files.

8 years agoAdd support for AssemblyResolution when an assembly is not found in a given Load...
Gaurav Khanna (CLR) [Fri, 15 Jan 2016 23:06:01 +0000 (15:06 -0800)]
Add support for AssemblyResolution when an assembly is not found in a given Load Context.

1) Expose AssemblyResolve event off AssemblyLoadContext
2) Invoke the event if the abstract Load implementation does not return an assembly.

8 years agoMerge pull request #2758 from stephentoub/list_toarray
Stephen Toub [Thu, 21 Jan 2016 12:52:34 +0000 (07:52 -0500)]
Merge pull request #2758 from stephentoub/list_toarray

Use _emptyArray in List<T>.ToArray

8 years agoMerge pull request #2706 from adityamandaleeka/gc_stress
Sergiy Kuryata [Thu, 21 Jan 2016 05:46:13 +0000 (21:46 -0800)]
Merge pull request #2706 from adityamandaleeka/gc_stress

Add support for GCStress 0xC