platform/upstream/dotnet/runtime.git
8 years agoMerge pull request dotnet/coreclr#3298 from jkotas/ryujit-version
Jan Kotas [Mon, 22 Feb 2016 21:47:08 +0000 (13:47 -0800)]
Merge pull request dotnet/coreclr#3298 from jkotas/ryujit-version

Update RyuJIT package version

Commit migrated from https://github.com/dotnet/coreclr/commit/9a4dbc7fecf1dbafea614882c0c44ff22ee4ca8d

8 years agoMerge pull request dotnet/coreclr#3302 from wtgodbe/datetime
William Godbe [Mon, 22 Feb 2016 21:39:00 +0000 (13:39 -0800)]
Merge pull request dotnet/coreclr#3302 from wtgodbe/datetime

Integrate ToF version of DateTimeKind test to prevent failures on non-Windows platforms

Commit migrated from https://github.com/dotnet/coreclr/commit/1cf4b0eb05fe2ae3ec6ccc0688290195bc9d5fcb

8 years agoMerge pull request dotnet/coreclr#3244 from erozenfeld/SIMDInit
Eugene Rozenfeld [Mon, 22 Feb 2016 21:12:18 +0000 (13:12 -0800)]
Merge pull request dotnet/coreclr#3244 from erozenfeld/SIMDInit

Fix for SIMD Initialize intrinsic expansion.

Commit migrated from https://github.com/dotnet/coreclr/commit/7728a1274d3729b0691602f4090e7ffcbe53018c

8 years agoMerge pull request dotnet/coreclr#3259 from sejongoh/add_corefx_minopts
Sejong Oh [Mon, 22 Feb 2016 20:36:12 +0000 (12:36 -0800)]
Merge pull request dotnet/coreclr#3259 from sejongoh/add_corefx_minopts

Add minopts and fix few bugs

Commit migrated from https://github.com/dotnet/coreclr/commit/c1109f39a7298b8e8ccec1b48ead102932fa9516

8 years agoAdd minopts and fix few bugs
Sejong Oh [Fri, 19 Feb 2016 20:55:53 +0000 (12:55 -0800)]
Add minopts and fix few bugs

Commit migrated from https://github.com/dotnet/coreclr/commit/55894a7344b4a23a22d1a24deffdd562a05f06bd

8 years agoIntegrate ToF version of DateTimeKind test to prevent failures on non-Windows platforms
William Godbe [Mon, 22 Feb 2016 20:11:28 +0000 (12:11 -0800)]
Integrate ToF version of DateTimeKind test to prevent failures on non-Windows platforms

Commit migrated from https://github.com/dotnet/coreclr/commit/f5bdec238852f4e0e164508acb633678879a6bfd

8 years agoMerge pull request dotnet/coreclr#3294 from jkotas/delete-zero-offset-allowed
Jan Kotas [Mon, 22 Feb 2016 19:42:58 +0000 (11:42 -0800)]
Merge pull request dotnet/coreclr#3294 from jkotas/delete-zero-offset-allowed

Delete FEATURE_REF_ZERO_OFFSET_ALLOWED

Commit migrated from https://github.com/dotnet/coreclr/commit/98c2b749ef5b7441f79d2ce1cfaf2665b7f138cf

8 years agoMerge pull request dotnet/coreclr#3266 from rahku/Helix
Rahul Kumar [Mon, 22 Feb 2016 19:37:11 +0000 (11:37 -0800)]
Merge pull request dotnet/coreclr#3266 from rahku/Helix

add helix run support to coreclr repo

Commit migrated from https://github.com/dotnet/coreclr/commit/e4be82f41fa5032b6a622e74404e92468b5806a8

8 years agoadd helix run support to coreclr repo
Rahul Kumar [Mon, 25 Jan 2016 22:50:20 +0000 (14:50 -0800)]
add helix run support to coreclr repo

Commit migrated from https://github.com/dotnet/coreclr/commit/a8741647cfa038e67a644237bd0806b78fb77b46

8 years agoUpdate RyuJIT package version
Jan Kotas [Mon, 22 Feb 2016 19:29:30 +0000 (11:29 -0800)]
Update RyuJIT package version

Commit migrated from https://github.com/dotnet/coreclr/commit/e538b22fb0fa25c364d9348d5af590eef940a006

8 years agoMerge pull request dotnet/coreclr#3270 from CarolEidt/x86TypeCtxtOnFrame
Carol Eidt [Mon, 22 Feb 2016 18:47:28 +0000 (10:47 -0800)]
Merge pull request dotnet/coreclr#3270 from CarolEidt/x86TypeCtxtOnFrame

Mark compTypeCtxtArg as lvOnFrame

Commit migrated from https://github.com/dotnet/coreclr/commit/284729c614bd87dc7db2834dbcde909fd4275116

8 years agoMerge pull request dotnet/coreclr#3282 from gkhanna79/WinX86Nuget
Gaurav Khanna [Mon, 22 Feb 2016 18:10:06 +0000 (09:10 -0900)]
Merge pull request dotnet/coreclr#3282 from gkhanna79/WinX86Nuget

Generate WinX86 Nuget package

Commit migrated from https://github.com/dotnet/coreclr/commit/7134c1fda85aa147b74401d99275df2a2bd7a985

8 years agoDelete FEATURE_REF_ZERO_OFFSET_ALLOWED
Jan Kotas [Mon, 22 Feb 2016 17:47:53 +0000 (09:47 -0800)]
Delete FEATURE_REF_ZERO_OFFSET_ALLOWED

Commit migrated from https://github.com/dotnet/coreclr/commit/ba504fb286a56178e5e9d1a830438de553bd6298

8 years agoMerge pull request dotnet/coreclr#3289 from AndyAyersMS/InlineRefactor4e
Andy Ayers [Mon, 22 Feb 2016 17:38:39 +0000 (09:38 -0800)]
Merge pull request dotnet/coreclr#3289 from AndyAyersMS/InlineRefactor4e

Inline refactoring: split up depth and recursion checks

Commit migrated from https://github.com/dotnet/coreclr/commit/bc60ca1cc2602b3ce667464be1d065af1df7e0f7

8 years agoGenerate WinX86 Nuget package
Gaurav Khanna [Sun, 21 Feb 2016 01:35:42 +0000 (17:35 -0800)]
Generate WinX86 Nuget package

Commit migrated from https://github.com/dotnet/coreclr/commit/7077d3a5bad55d011c6c838d4ffab22cc5097ae3

8 years agoMerge pull request dotnet/coreclr#3286 from sejongoh/add_export
Matt Mitchell [Mon, 22 Feb 2016 16:10:48 +0000 (08:10 -0800)]
Merge pull request dotnet/coreclr#3286 from sejongoh/add_export

Add export to define environment variables

Commit migrated from https://github.com/dotnet/coreclr/commit/e7dfcbb625d52f9d04dfe8f5f78349795178ac8b

8 years agoMerge pull request dotnet/coreclr#3255 from juergenhoetzel/build_script_fixes
Jan Vorlicek [Mon, 22 Feb 2016 12:37:36 +0000 (13:37 +0100)]
Merge pull request dotnet/coreclr#3255 from juergenhoetzel/build_script_fixes

Handle CMakeArgs correctly

Commit migrated from https://github.com/dotnet/coreclr/commit/4e15bf1e269ceb51dbbc18df2cfb73952f4028db

8 years agoMerge pull request dotnet/coreclr#3260 from gkhanna79/CentOS
Matt Ellis [Mon, 22 Feb 2016 06:19:14 +0000 (22:19 -0800)]
Merge pull request dotnet/coreclr#3260 from gkhanna79/CentOS

Fixes to build CentOS CoreCLR Nuget Package

Commit migrated from https://github.com/dotnet/coreclr/commit/b4304b1ad2c0aee2363c3cffb5485d9844f70d73

8 years agoMerge pull request dotnet/coreclr#3290 from krytarowski/netbsd-support-55
Jan Kotas [Mon, 22 Feb 2016 02:36:30 +0000 (18:36 -0800)]
Merge pull request dotnet/coreclr#3290 from krytarowski/netbsd-support-55

PAL tests on NetBSD: Clean-up

Commit migrated from https://github.com/dotnet/coreclr/commit/4bdea050e863027da07c7c8eb8d1c6dfa7dcbab3

8 years agoTemporarily disable paltest_pal_sxs_test1 on NetBSD
Kamil Rytarowski [Mon, 22 Feb 2016 00:01:04 +0000 (01:01 +0100)]
Temporarily disable paltest_pal_sxs_test1 on NetBSD

This test has been also disabled on FreeBSD as hardware exceptions
always seem to abort on NetBSD as well.

Related issues: dotnet/coreclrdotnet/coreclr#2090 dotnet/coreclrdotnet/coreclr#3287

Commit migrated from https://github.com/dotnet/coreclr/commit/ea2bbc1f34240764bf9683c27fab632a9a103308

8 years agoFix typo in the name of the paltest_getcurrentthread_test2 test
Kamil Rytarowski [Sun, 21 Feb 2016 23:43:15 +0000 (00:43 +0100)]
Fix typo in the name of the paltest_getcurrentthread_test2 test

It was recently disabled on NetBSD and due to pasto it reports a wrong name.

Commit migrated from https://github.com/dotnet/coreclr/commit/693034eeb712a6a008d52edb39122aafdcd108e2

8 years agoInline refactoring: split up depth and recursion checks
Andy Ayers [Sat, 20 Feb 2016 19:21:08 +0000 (11:21 -0800)]
Inline refactoring: split up depth and recursion checks

Separate out the recursive inline and inline too deep obervations.
Have the checker update the inline result directly rather than
deferring to the caller.

Add a bit more commentary on how the various inline classes
are used during compilation.

Commit migrated from https://github.com/dotnet/coreclr/commit/336832d2119d3877f633891b367315ee935afdd7

8 years agoMerge pull request dotnet/coreclr#3275 from AndyAyersMS/InlineRefactor4d
Andy Ayers [Sun, 21 Feb 2016 19:37:42 +0000 (11:37 -0800)]
Merge pull request dotnet/coreclr#3275 from AndyAyersMS/InlineRefactor4d

InlineRefactoring: start to capture failures in the inline tree

Commit migrated from https://github.com/dotnet/coreclr/commit/c2a8bfad36f433fed397efc1419f948709ccfc5e

8 years agoMerge pull request dotnet/coreclr#3278 from jamesqo/patch-7
Jan Kotas [Sun, 21 Feb 2016 14:22:06 +0000 (06:22 -0800)]
Merge pull request dotnet/coreclr#3278 from jamesqo/patch-7

Short-circuit for empty strings in string.Insert and Remove

Commit migrated from https://github.com/dotnet/coreclr/commit/53148ebbc2b62f7a9b0d2369003ef7087a4c3e3c

8 years agoMerge pull request dotnet/coreclr#3285 from krytarowski/netbsd-support-54
Jan Kotas [Sun, 21 Feb 2016 14:11:54 +0000 (06:11 -0800)]
Merge pull request dotnet/coreclr#3285 from krytarowski/netbsd-support-54

Fix test issue on NetBSD: Walk-around getrusage(2) implementation nits

Commit migrated from https://github.com/dotnet/coreclr/commit/dec83bd64d40fcff76e14f5700b8fb69413e4057

8 years agoAdd export to define environment variables
Sejong Oh [Sun, 21 Feb 2016 07:51:26 +0000 (23:51 -0800)]
Add export to define environment variables

Commit migrated from https://github.com/dotnet/coreclr/commit/85df1f59fae915e0e165d3649d329047a931eed2

8 years agoFix test issue on NetBSD: Walk-around getrusage(2) implementation nits
Kamil Rytarowski [Sun, 21 Feb 2016 04:36:03 +0000 (05:36 +0100)]
Fix test issue on NetBSD: Walk-around getrusage(2) implementation nits

The following code:

int main(int argc, char **argv)
{
    int i, j, k, total;
    struct rusage resUsage1, resUsage2;

    if (getrusage (RUSAGE_SELF, &resUsage1) == -1)
        errx(1, "getrusage");

    /* simulate some activity */
    for( i=0; i<1000; i++ )
    {
        for( j=0; j<1000; j++ )
        {
            total = j * i;
            for( k=0; k<1000; k++ )
            {
                total += k + i;
            }
        }
    }

    if (getrusage (RUSAGE_SELF, &resUsage2) == -1)
        errx(1, "getrusage");

    printf("kernel1 %ld.%06ld\n", resUsage1.ru_stime.tv_sec, resUsage1.ru_stime.tv_usec);
    printf("kernel2 %ld.%06ld\n", resUsage2.ru_stime.tv_sec, resUsage2.ru_stime.tv_usec);

    printf("user1 %ld.%06ld\n", resUsage1.ru_utime.tv_sec, resUsage1.ru_utime.tv_usec);
    printf("user2 %ld.%06ld\n", resUsage2.ru_utime.tv_sec, resUsage2.ru_utime.tv_usec);

    return 0;
}

Returns the following values:

$ ./test
kernel1 0.000262
kernel2 0.000000
user1 0.000262
user2 2.279965

The reason for it is as follows:

    The reason is that the scheduler keeps a precise total cpu time of
    a process but the systime/usertime is only sampled by a much slower
    clock. The ratio systime/usertime is then used to return an approximation
    so that systime and usertime sum up to the total time(*).

    As a result it is possible that usertime or systime go backwards.

    FreeBSD has implemented a workaround by remembering reported
    usertime/systime values for a process and clamping getrusage()
    against these values. As a result the usertime/systime value
    is usually too high but it is monotonic.

    Another approach would be to round down the usertime/systime values,
    by not approximating 'measurments' that do not exist. The result
    would be that usertime/systime values that are too low and don't
    sum up to the total CPU time but are again monotonic.

    The approximation is done in kern_resource/calc().
    (*) The sampled interrupt time is also included.

-- by Michael van Elst
-- http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=30115

Walkaround it by doing kernel-work with subsequent malloc(3) and free(3) calls.
Note that doing these calls for smaller chunks (it looks like a compiler/libc
can optimize it without going to the host kernel) or just 1000 times is not
sufficient.

Commit migrated from https://github.com/dotnet/coreclr/commit/4c389ad3e373cf4bb6ae643e8a91b7104eb6c39a

8 years agoShort-circuit for empty strings in Insert/Remove
James Ko [Sun, 21 Feb 2016 02:44:23 +0000 (21:44 -0500)]
Short-circuit for empty strings in Insert/Remove

Commit migrated from https://github.com/dotnet/coreclr/commit/74709851898330c6ac3a20eb04d085e9b0e2dcf0

8 years agoMerge pull request dotnet/coreclr#3280 from jamesqo/patch-8
Jan Kotas [Sun, 21 Feb 2016 02:27:09 +0000 (18:27 -0800)]
Merge pull request dotnet/coreclr#3280 from jamesqo/patch-8

Avoid string allocations in some Concat overloads

Commit migrated from https://github.com/dotnet/coreclr/commit/a8e10c51b050917606b755b1f11f2a3dd9436dcf

8 years agoMerge pull request dotnet/coreclr#3279 from krytarowski/netbsd-support-53
Jan Kotas [Sun, 21 Feb 2016 01:01:42 +0000 (17:01 -0800)]
Merge pull request dotnet/coreclr#3279 from krytarowski/netbsd-support-53

Disable not relevant tests for NetBSD: SCHED_OTHER may not be reassignable

Commit migrated from https://github.com/dotnet/coreclr/commit/77374b2d56441e924d0340a0c3da04e19a3d53dc

8 years agoRemove trailing whitespace
Kamil Rytarowski [Sat, 20 Feb 2016 23:44:02 +0000 (00:44 +0100)]
Remove trailing whitespace

Commit migrated from https://github.com/dotnet/coreclr/commit/f05754aa297c3bb66a296bea1f3e7ffba09a5c47

8 years agoAvoid string allocations in some Concat overloads
James Ko [Sat, 20 Feb 2016 23:47:24 +0000 (18:47 -0500)]
Avoid string allocations in some Concat overloads

Commit migrated from https://github.com/dotnet/coreclr/commit/b99e5c1638a7e909c918be313ef386b7d0ccb3c3

8 years agoDisable not relevant tests for NetBSD: SCHED_OTHER may not be reassignable
Kamil Rytarowski [Sat, 20 Feb 2016 23:41:04 +0000 (00:41 +0100)]
Disable not relevant tests for NetBSD: SCHED_OTHER may not be reassignable

This addresses the following issues:

threading/GetCurrentThread/test1/paltest_getcurrentthread_test1. Exit code: 1
threading/GetCurrentThread/test2/paltest_getcurrentthread_test2. Exit code: 1
threading/GetProcessTimes/test2/paltest_getprocesstimes_test2. Exit code: 1

Commit migrated from https://github.com/dotnet/coreclr/commit/c341d9b33e5b827e48f52671a21bf3dde89fd5c8

8 years agoMerge pull request dotnet/coreclr#3265 from wtgodbe/coverage
Sergiy Kuryata [Sat, 20 Feb 2016 21:56:34 +0000 (13:56 -0800)]
Merge pull request dotnet/coreclr#3265 from wtgodbe/coverage

Add option to runtest.sh to generate code coverage reports for coreclr

Commit migrated from https://github.com/dotnet/coreclr/commit/2a694dd1cea6cd7d176893ad661041cd1dacf9a2

8 years agoMerge pull request dotnet/coreclr#3262 from wtgodbe/disable
Jan Kotas [Sat, 20 Feb 2016 19:39:27 +0000 (11:39 -0800)]
Merge pull request dotnet/coreclr#3262 from wtgodbe/disable

Delete poorly-written tests failing on OSX

Commit migrated from https://github.com/dotnet/coreclr/commit/a4bc674885e548d039ec68a139c48f2be8c90e2a

8 years agoMerge pull request dotnet/coreclr#3274 from jamesqo/patch-5
Jan Kotas [Sat, 20 Feb 2016 19:38:04 +0000 (11:38 -0800)]
Merge pull request dotnet/coreclr#3274 from jamesqo/patch-5

Remove unnecessary ref parameters from String.cs

Commit migrated from https://github.com/dotnet/coreclr/commit/168db67b352e3a43acbbff8c07b215b42e5d751b

8 years agoRemove unnecessary ref parameters from String.cs
James Ko [Sat, 20 Feb 2016 17:24:02 +0000 (12:24 -0500)]
Remove unnecessary ref parameters from String.cs

For some reason, there seems to be some code in String.Split that takes ref parameters, even though they aren't actually assigned to.

This commit removes the `ref` annotations from the methods and their callers.

Commit migrated from https://github.com/dotnet/coreclr/commit/7ce28d1a2efd44eeeb6bc15d2dd11272e4759df6

8 years agoMerge pull request dotnet/coreclr#3221 from jamesqo/patch-5
Jan Kotas [Sat, 20 Feb 2016 16:34:38 +0000 (08:34 -0800)]
Merge pull request dotnet/coreclr#3221 from jamesqo/patch-5

Optimize String.Replace when the chars are the same

Commit migrated from https://github.com/dotnet/coreclr/commit/a2010dfb628b2d7409a2ad9752309388181e8823

8 years agoMerge pull request dotnet/coreclr#3269 from JoshVarty/master
Jan Kotas [Sat, 20 Feb 2016 16:29:28 +0000 (08:29 -0800)]
Merge pull request dotnet/coreclr#3269 from JoshVarty/master

Fix ecma-spec link

Commit migrated from https://github.com/dotnet/coreclr/commit/8b4162ebd4b4e9deb5f8829404f671cda4d71c36

8 years agoMerge pull request dotnet/coreclr#3273 from krytarowski/netbsd-support-52
Jan Kotas [Sat, 20 Feb 2016 16:27:46 +0000 (08:27 -0800)]
Merge pull request dotnet/coreclr#3273 from krytarowski/netbsd-support-52

Disallow setting of priority for SCHED_OTHER threads on NetBSD

Commit migrated from https://github.com/dotnet/coreclr/commit/44cd35e3d9a8eda6713c1bbdebe85609f055323d

8 years agoDisallow setting of priority for SCHED_OTHER threads on NetBSD
Kamil Rytarowski [Sat, 20 Feb 2016 14:51:18 +0000 (15:51 +0100)]
Disallow setting of priority for SCHED_OTHER threads on NetBSD

There are 7 PAL tests that are falling down due to calling
pthread_setschedparam(3) on NetBSD.

Diving into the kernel code I have found that SCHED_OTHER does not support
setting priorities other than PRI_NONE.

        /* Disallow setting of priority for SCHED_OTHER threads */
        if (lpolicy == SCHED_OTHER && pri != PRI_NONE) {
            lwp_unlock(t);
            error = EINVAL;
            break;
        }

-- NetBSD sources sys/kern/sys_sched.c Line 167

/usr/include/sys/param.h:#define    PRI_NONE        (-1)

It looks like the same rule applies for Linux:

       SCHED_OTHER is the default universal time-sharing scheduler policy used
       by most processes, SCHED_FIFO and SCHED_RR  are  intended  for  special
       time-critical  applications  that  need precise control over the way in
       which runnable processes are selected for execution.  Processes  sched-
       uled with SCHED_OTHER must be assigned the static priority 0, processes
       scheduled under SCHED_FIFO or SCHED_RR can have a  static  priority  in
       the  range  1 to 99. Only processes with superuser privileges can get a
       ordering within the list of runnable processes with equal static prior-
       ity.

-- http://ccrma.stanford.edu/planetccrma/man/man2/sched_setscheduler.2.html

Standard says:

    The pthread_getschedparam() and pthread_setschedparam() functions shall,
    respectively, get and set the scheduling policy and parameters of individual
    threads within a multi-threaded process to be retrieved and set. For
    SCHED_FIFO and SCHED_RR, the only required member of the sched_param
    structure is the priority sched_priority. For SCHED_OTHER, the affected
    scheduling parameters are implementation-defined.

    The policy parameter may have the value SCHED_OTHER, SCHED_FIFO, or
    SCHED_RR. The scheduling parameters for the SCHED_OTHER policy are
    implementation-defined. The SCHED_FIFO and SCHED_RR policies shall have a
    single scheduling parameter, priority.

http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_getschedparam.html

The culprit code is here: src/pal/src/thread/thread.cpp Line 1276

Fix dotnet/coreclr#3272

Commit migrated from https://github.com/dotnet/coreclr/commit/d279c120b271393726920d85f46c2b503cb1b14d

8 years agoFix misleading typo
Juergen Hoetzel [Sat, 20 Feb 2016 09:58:03 +0000 (10:58 +0100)]
Fix misleading typo

Commit migrated from https://github.com/dotnet/coreclr/commit/d5a6959435a3ce8fbf0217c9b74425c66f4e3aa1

8 years agoHandle CMakeArgs correctly
Juergen Hoetzel [Fri, 19 Feb 2016 14:38:24 +0000 (15:38 +0100)]
Handle CMakeArgs correctly

CMakeArgs were not passed correctly to (included initial whitespace).
Also unquote CMakeArgs to allow us to pass multiple cmake arguments.

Commit migrated from https://github.com/dotnet/coreclr/commit/49da0f48512f92c40ccd6357c99e0a7a510f15aa

8 years agoMark compTypeCtxtArg as lvOnFrame
Carol Eidt [Sat, 20 Feb 2016 05:55:47 +0000 (21:55 -0800)]
Mark compTypeCtxtArg as lvOnFrame

The type context argument must be initialized to lvOnFrame if it is
not a register argument (as on x86, since it is passed after user
arguments).

Commit migrated from https://github.com/dotnet/coreclr/commit/4e7444549e94d6c4857448fe74434a0ae7fb8272

8 years agoFix ecma-spec link
Josh Varty [Sat, 20 Feb 2016 05:10:15 +0000 (00:10 -0500)]
Fix ecma-spec link

Commit migrated from https://github.com/dotnet/coreclr/commit/3d20b2ea1c6c731056b6a1b4bfac624f826474b6

8 years agoMerge pull request dotnet/coreclr#2998 from ramarag/LongFileSupport
Rama krishnan Raghupathy [Sat, 20 Feb 2016 03:31:15 +0000 (19:31 -0800)]
Merge pull request dotnet/coreclr#2998 from ramarag/LongFileSupport

Initial Support  for LongFile in the VM

Commit migrated from https://github.com/dotnet/coreclr/commit/7045ca7a6de381b382a709dc0a61f49ca713d160

8 years agoInlineRefactoring: start to capture failures in the inline tree
Andy Ayers [Fri, 19 Feb 2016 19:57:41 +0000 (11:57 -0800)]
InlineRefactoring: start to capture failures in the inline tree

This change starts capturing information about failed inlines in the
inline tree. Not all failures are captured yet; see below for notes.

Sample trees showing a failure:
```
Inlines into Secant:Inner(byref,byref,double,double,int,byref)
  [IL=0004 TR=000008] [FAILED: exceeds profit threshold] Secant:FF(double):double
  [IL=0023 TR=000036] [native size estimate ok] Secant:FF(double):double
```

InlineContext is revised to have 3 static constructors: one for the
root context, one for successful inlines, and one for failed inlines.
Successful inlines are always captured in the tree, since they are used
to track inline depth and recursion. Failures are only captured in
DEBUG and are just there for diagnostic purposes. The success and
failure constructors also link the new contexts into the tree at the
proper spot.

With this the jit can now capture failures for calls that were
initially identified as candidates. Top-level non-candidates are still
screened out in fgInline, and lower-level non-candidates simply aren't
seen at all by the current code. This will be addressed in a subsequent
change.

New calls can appear in the gap between caller and callee, as the code
for the two is stitched together. These are never candidates and never
given candidate screening. For now, if a new failing context is unable
to find a parent context from the IR, the code assumes the IR was
created in this gap. Down the road we may want to insist that all IR be
covered by some InlineContext (eg for improved debugging of optimized
code).

The InlineContext now also captures and prints the tree ID of the call
to make it easier to relate back to IR dumps.

Commit migrated from https://github.com/dotnet/coreclr/commit/ea53f9a34f4c658b207c214568e78c2635629711

8 years agoThis Change Adds initial Support for LongFiles in the VM,
Rama Krishnan Raghupathy [Fri, 19 Feb 2016 02:21:18 +0000 (18:21 -0800)]
This Change Adds initial Support for LongFiles in the VM,
They are:
1. Wrappers for OS APIs which  take or return PATHS

2. Fixing the usage of following Api's:

GetEnvironmentVariableW
SearchPathW
GetShortPathNameW
GetLongPathNameW
GetModuleFileName

Work remaining:
Remove fixed size buffers in the VM

Commit migrated from https://github.com/dotnet/coreclr/commit/f98fb85e72d0f24c58d9e54b8b3bff2c67f985fb

8 years agoFix for SIMD intrinsic Initialize expansion.
Eugene Rozenfeld [Fri, 19 Feb 2016 01:46:38 +0000 (17:46 -0800)]
Fix for SIMD intrinsic Initialize expansion.

Initialize expansion was missing register zero initialization
in some cases. This caused silent bad codegen in dotnet/coreclr#3208.

Closes dotnet/coreclr#3208.

Commit migrated from https://github.com/dotnet/coreclr/commit/c4603ee6a1e29bcf9e4aff2ea095ec529024692c

8 years agoMerge pull request dotnet/coreclr#3257 from kyulee1/cleanbuild
Kyungwoo Lee [Sat, 20 Feb 2016 01:31:51 +0000 (17:31 -0800)]
Merge pull request dotnet/coreclr#3257 from kyulee1/cleanbuild

Fix clean test build

Commit migrated from https://github.com/dotnet/coreclr/commit/a60523e59973b07f7240f3970a4fa41e14c9d6a6

8 years agoFixes to build CentOS CoreCLR Nuget Package
Gaurav Khanna (CLR) [Fri, 19 Feb 2016 10:20:17 +0000 (02:20 -0800)]
Fixes to build CentOS CoreCLR Nuget Package

Commit migrated from https://github.com/dotnet/coreclr/commit/eaa900f12fca6fdd44e579ef65f6297a3986d270

8 years agoMerge pull request dotnet/coreclr#3236 from mikedn/noinline-new
Jan Kotas [Sat, 20 Feb 2016 00:16:16 +0000 (16:16 -0800)]
Merge pull request dotnet/coreclr#3236 from mikedn/noinline-new

Do not define global inline new/delete operators

Commit migrated from https://github.com/dotnet/coreclr/commit/f0b5ca1bf84f2704426b6bda266b410a4eda508f

8 years agoAdd option to runtest.sh to generate code coverage reports for coreclr
William Godbe [Wed, 10 Feb 2016 22:41:03 +0000 (14:41 -0800)]
Add option to runtest.sh to generate code coverage reports for coreclr

Commit migrated from https://github.com/dotnet/coreclr/commit/c219cf99af9f0bc10de97e502574db8d34b2f45d

8 years agoMerge pull request dotnet/coreclr#3256 from ellismg/add-rhel72-badge
Matt Ellis [Fri, 19 Feb 2016 23:43:59 +0000 (15:43 -0800)]
Merge pull request dotnet/coreclr#3256 from ellismg/add-rhel72-badge

Add RHEL Badges

Commit migrated from https://github.com/dotnet/coreclr/commit/68b6ed99aef0f783535d4621d9ee052fb10b8131

8 years agoMerge pull request dotnet/coreclr#3264 from dotnet/revert-3253-add_pr_trigger_for_str...
Matt Mitchell [Fri, 19 Feb 2016 23:43:00 +0000 (15:43 -0800)]
Merge pull request dotnet/coreclr#3264 from dotnet/revert-3253-add_pr_trigger_for_stress_test_on_ubuntu

Revert "Fix PR trigger for ubuntu/osx corefx testing"

Commit migrated from https://github.com/dotnet/coreclr/commit/8de21af6a6e2d1fe2479676c002e927711014b89

8 years agoRevert "Fix PR trigger for ubuntu/osx corefx testing"
Matt Mitchell [Fri, 19 Feb 2016 23:42:21 +0000 (15:42 -0800)]
Revert "Fix PR trigger for ubuntu/osx corefx testing"

Commit migrated from https://github.com/dotnet/coreclr/commit/ce58c16d913aab08daf196dfd57ec56603ac59d2

8 years agoMerge pull request dotnet/coreclr#3254 from hoyMS/bug2388
Hongtao Yu [Fri, 19 Feb 2016 23:24:02 +0000 (15:24 -0800)]
Merge pull request dotnet/coreclr#3254 from hoyMS/bug2388

Bug 2388 Do not transform user-implemented math intrinsics that are tail calls.

Commit migrated from https://github.com/dotnet/coreclr/commit/1340098bdc6ac20566ccece2eb7de135866947f4

8 years agoFix clean test build
Kyungwoo Lee [Fri, 19 Feb 2016 19:06:41 +0000 (11:06 -0800)]
Fix clean test build

I often fall into a build failure like the following when passing /clean
E:\Github\coreclr\tests\runtest.proj : error MSB4057: The target "rebuild"
does not exist in the project.
runtest.proj is actually invoked in two places one from a part of
build.cmd targeting CreateTestOverlay only, and the other from
runtest.cmd, which creates wrapper and actually running the tests.
So, definining "rebuild" target that does "clean" and "build" doesn't
solve this problem.
The fix is to not target "rebuild" in the former case since we are
explicitly targeting "CreateTestOverlay" only. Instead of putting "/t:rebuild"
in the common msbuild argument, I added it to each instance except this case.

Commit migrated from https://github.com/dotnet/coreclr/commit/06f6edeffcae1905cc77a130c7bc916188eba1c7

8 years agoDo not transform user-implemented math intrinsics that are tail calls
Hongtao Yu [Fri, 19 Feb 2016 17:22:12 +0000 (09:22 -0800)]
Do not transform user-implemented math intrinsics that are tail calls

Intrinsics that are not implemented directly by target instructions will be rematerialized as users calls in rationalizer. For prefixed tail calls, don't do this optimization, because
       1. Languages like F# requires a mandatory tail call optimization. A tail call converted to an intrinsic and then converted back to a call will miss out the tail call optimization.
       2. Tail call optimization may be more beneficial.

Commit migrated from https://github.com/dotnet/coreclr/commit/17a406d81c866e2813705b4f8ea5be85da5fde59

8 years agoDisable tests failing on OSX
William Godbe [Fri, 19 Feb 2016 22:06:07 +0000 (14:06 -0800)]
Disable tests failing on OSX

Commit migrated from https://github.com/dotnet/coreclr/commit/6f0ae1d3bfb7208ffeb56bef06368732e2924d8b

8 years agoMerge pull request dotnet/coreclr#3253 from sejongoh/add_pr_trigger_for_stress_test_o...
Matt Mitchell [Fri, 19 Feb 2016 21:24:19 +0000 (13:24 -0800)]
Merge pull request dotnet/coreclr#3253 from sejongoh/add_pr_trigger_for_stress_test_on_ubuntu

Fix PR trigger for ubuntu/osx corefx testing

Commit migrated from https://github.com/dotnet/coreclr/commit/338ba2d874ceb570491367a921a31c3276a202ae

8 years agoMerge pull request dotnet/coreclr#3247 from AndyAyersMS/InlineRefactor4c
Andy Ayers [Fri, 19 Feb 2016 19:57:29 +0000 (11:57 -0800)]
Merge pull request dotnet/coreclr#3247 from AndyAyersMS/InlineRefactor4c

InlineRefactoring: rename inlExpLst to InlineContext

Commit migrated from https://github.com/dotnet/coreclr/commit/c0d7cb0cccfa6b088397638f94aa0de106fc5ac4

8 years agoMerge pull request dotnet/coreclr#3241 from wtgodbe/cscbench
Sergiy Kuryata [Fri, 19 Feb 2016 19:43:26 +0000 (11:43 -0800)]
Merge pull request dotnet/coreclr#3241 from wtgodbe/cscbench

Stop copying of bad System.Runtime version

Commit migrated from https://github.com/dotnet/coreclr/commit/021e5dc7a877f707a46b0b8a99b99a6445900c82

8 years agoMerge pull request dotnet/coreclr#3250 from janvorli/fix-explicit-frames-popping-2
Sergiy Kuryata [Fri, 19 Feb 2016 18:44:16 +0000 (10:44 -0800)]
Merge pull request dotnet/coreclr#3250 from janvorli/fix-explicit-frames-popping-2

Fix the explicit frames unwinding on Unix

Commit migrated from https://github.com/dotnet/coreclr/commit/06242b1c9811cee96108b8f29237b3be1a065e6b

8 years agoMerge pull request dotnet/coreclr#3242 from briansull/arm64conds
Brian Sullivan [Fri, 19 Feb 2016 18:12:52 +0000 (10:12 -0800)]
Merge pull request dotnet/coreclr#3242 from briansull/arm64conds

Refactor of conditional branches for the ARM architecture

Commit migrated from https://github.com/dotnet/coreclr/commit/2f0057cde6753040452fc439c6101c3fa7beb970

8 years agoMerge pull request dotnet/coreclr#3238 from tarekgh/DateTimeRefactor
Tarek Mahmoud Sayed [Fri, 19 Feb 2016 17:08:44 +0000 (09:08 -0800)]
Merge pull request dotnet/coreclr#3238 from tarekgh/DateTimeRefactor

Small refactoring in DateTime comparing methods

Commit migrated from https://github.com/dotnet/coreclr/commit/e78212837f61e5b5a55f5f83ead08cba7e5b56d2

8 years agoFix PR trigger for ubuntu/osx corefx testing
Sejong Oh [Fri, 19 Feb 2016 13:00:27 +0000 (05:00 -0800)]
Fix PR trigger for ubuntu/osx corefx testing

Commit migrated from https://github.com/dotnet/coreclr/commit/bfa01b4c8077737c628d0b47f993fb51225278ae

8 years agoFix the explicit frames unwinding on Unix
Jan Vorlicek [Thu, 18 Feb 2016 22:36:43 +0000 (23:36 +0100)]
Fix the explicit frames unwinding on Unix

This change fixes a problem when exception unwinds native frames of code that contains
explicit frames. There were two issues. First, the destructor of the explicit frame
base class Frame that was responsible for popping the frames was missing switch to
GC cooperative mode and so it could pop frames that GC was currently walking.
And second, after adding the switch to cooperative mode, it turned out that if a
thread gets blocked in the Frame destructor due to GC and the stack walker tries to
get stack cookie from FrameWithCookie wrapper of a class derived from the Frame,
it fails since the vtable pointer was already reset to the vtable of the base Frame
class and it detects that as an invalid case.

The fix was to add destructors to all final classes derived from Frame and perform
the frame popping from there.

Commit migrated from https://github.com/dotnet/coreclr/commit/0e14371a2638dd27222fd63af6032b5cd1a64add

8 years agoMerge pull request dotnet/coreclr#3243 from LLITCHEV/structDesc-clone
Lubomir Litchev [Fri, 19 Feb 2016 07:47:11 +0000 (23:47 -0800)]
Merge pull request dotnet/coreclr#3243 from LLITCHEV/structDesc-clone

Added code to clone the structDesc member of GT_CALL.

Commit migrated from https://github.com/dotnet/coreclr/commit/5a49e66de150413ad8277bdbc8c2dacf0d461eae

8 years agoMerge pull request dotnet/coreclr#3135 from CarolEidt/x86VirtualStubDirect
Carol Eidt [Fri, 19 Feb 2016 05:33:20 +0000 (21:33 -0800)]
Merge pull request dotnet/coreclr#3135 from CarolEidt/x86VirtualStubDirect

Enable Virtual Stub calls that are direct for x86

Commit migrated from https://github.com/dotnet/coreclr/commit/edb8791a974187c27284b72e72ba061dc3a1bbf0

8 years agoAdded code to clone the structDesc member of GT_CALL.
Lubomir Litchev [Fri, 19 Feb 2016 00:22:36 +0000 (16:22 -0800)]
Added code to clone the structDesc member of GT_CALL.

Adds code to clone the structDesc member of GT_CALL. It modifies the
importer to get the structDesc directly in this field, instead of using a
separate local and eliminates the obsolete SetRegisterReturningStructState
method of GenTreeCall.

Fixes 3239.

Commit migrated from https://github.com/dotnet/coreclr/commit/e46554c494f4ed2c4fda6d3df46eb31f6dc35cdf

8 years agoInlineRefactor: rename inlExpLst to InlineContext
Andy Ayers [Thu, 18 Feb 2016 23:28:08 +0000 (15:28 -0800)]
InlineRefactor: rename inlExpLst to InlineContext

Rename inlExpLst to InlineContext, and move the code for it into
the inlining files. Expand the context to capture the observation
leading to success. Defer generating the method names until the
context is dumped to avoid unnecessary debug/check allocations.

Make sure observation field on GenTreeCall is properly initialized
and copied, and give it the right type via an opaque forward
declaration.

Commit migrated from https://github.com/dotnet/coreclr/commit/c18892218e6b302eaaf504945feb5f469f65f663

8 years agoMerge pull request dotnet/coreclr#3237 from AndyAyersMS/InlineRefactor4b
Andy Ayers [Fri, 19 Feb 2016 03:29:21 +0000 (19:29 -0800)]
Merge pull request dotnet/coreclr#3237 from AndyAyersMS/InlineRefactor4b

Inline refactoring: capture failing observation for non-candidates

Commit migrated from https://github.com/dotnet/coreclr/commit/8bc28b2b57bdd48f59797d673e6fc62ee78b2f56

8 years agoMade the changes suggested fromn code reviewers
Brian Sullivan [Fri, 19 Feb 2016 02:34:44 +0000 (18:34 -0800)]
Made the changes suggested fromn code reviewers

Commit migrated from https://github.com/dotnet/coreclr/commit/a5b35b3b3ecef6370812a3c16b4f344c21217e71

8 years agostop copying of bad System.Runtime version
William Godbe [Thu, 18 Feb 2016 23:51:38 +0000 (15:51 -0800)]
stop copying of bad System.Runtime version

Commit migrated from https://github.com/dotnet/coreclr/commit/2aaf329e6e4cec8b5b00f7a9e0c0ea2a9dcd4629

8 years agoAdded enum CompareKind as input to genJumpKindForOper()
Brian Sullivan [Thu, 18 Feb 2016 23:33:54 +0000 (15:33 -0800)]
Added enum CompareKind as input to genJumpKindForOper()

Record the result of genJumpKindForOper() in a local before generating the jump instruction
Added support for using Logical instructions with genJumpKindForOper()

Commit migrated from https://github.com/dotnet/coreclr/commit/7ed035b0e4691db3b6fefe1ca80887018f09576a

8 years agoInline refactoring: capture failing observation for non-candidates
Andy Ayers [Thu, 18 Feb 2016 20:48:37 +0000 (12:48 -0800)]
Inline refactoring: capture failing observation for non-candidates

Refactor the InlineResult to take a `GenTreeCall` instead of artifacts
derived from the call. Use this to decorate the call (in DEBUG) if
an inline fails with the observation that lead to the failure. Move
this constructor out of the header since we now need it to invoke
methods on types that are header-opaque.

Try and pick this reason up later on when non-candidate call sites are
encountered during inlining.

Introduce a second constructor for the pre-jit use case, where we are
evaulating a method to see if we can mark it as never inline to save
work in any subsequent compilation. Put this into the cpp file too for
symmetry.

Type the backing field in GenTreeCall as unsigned to avoid creating
more deeply entangled include circularities. Happy to reconsider if
this seems ill-advised.

Reword a few more uses of inlinee to callee (similarly inliner to
caller). Make `inlIsValidObservation` globally visible and enable
a prior commented-out assert.

Commit migrated from https://github.com/dotnet/coreclr/commit/df9c1264c5252cdd6154f778dca9cb7e01c3cea9

8 years agoEnable Virtual Stub calls that are direct for x86
Carol Eidt [Thu, 11 Feb 2016 18:39:36 +0000 (10:39 -0800)]
Enable Virtual Stub calls that are direct for x86

On x86, direct virtual stub calls must be done with a relative address, NOT through a register.

Commit migrated from https://github.com/dotnet/coreclr/commit/6bbc5aa508c8d23715361f3d84fb17de6bd00678

8 years agoSmall refactoring in DateTime comparing methods
Tarek Mahmoud Sayed [Thu, 18 Feb 2016 22:19:09 +0000 (14:19 -0800)]
Small refactoring in DateTime comparing methods

Commit migrated from https://github.com/dotnet/coreclr/commit/0148107cff7f462a601d91a8a119208b11a832a4

8 years agoDo not define global inline new/delete operators
Mike Danes [Thu, 18 Feb 2016 21:42:35 +0000 (23:42 +0200)]
Do not define global inline new/delete operators

VS2015 Update 2 generates C4595 for such code and the build fails due to /WX

Commit migrated from https://github.com/dotnet/coreclr/commit/e73fbfa220876a18366a0037df10ca6f03bcb594

8 years agoMerge pull request dotnet/coreclr#3229 from AndyAyersMS/InlineRefactor4a
Andy Ayers [Thu, 18 Feb 2016 21:34:09 +0000 (13:34 -0800)]
Merge pull request dotnet/coreclr#3229 from AndyAyersMS/InlineRefactor4a

Inline refactoring: add candidate observations

Commit migrated from https://github.com/dotnet/coreclr/commit/b90b09116d12ab65328fbd1ed80c21c75131e121

8 years agoMerge pull request dotnet/coreclr#3219 from adityamandaleeka/twowaypipe_cleanup
Aditya Mandaleeka [Thu, 18 Feb 2016 20:45:45 +0000 (12:45 -0800)]
Merge pull request dotnet/coreclr#3219 from adityamandaleeka/twowaypipe_cleanup

Clean up Unix twowaypipe code

Commit migrated from https://github.com/dotnet/coreclr/commit/cf93ae5b1bdb47fa091bc9322bc88f814f9feb66

8 years agoMerge pull request dotnet/coreclr#3222 from richardlford/testswithrefs0216
Richard L Ford [Thu, 18 Feb 2016 20:43:09 +0000 (12:43 -0800)]
Merge pull request dotnet/coreclr#3222 from richardlford/testswithrefs0216

Port desktop tests that had references

Commit migrated from https://github.com/dotnet/coreclr/commit/e1219104cc72570a88961d5726c44277d64deb5b

8 years agoMerge pull request dotnet/coreclr#3231 from ellismg/add-back-push-triggers
Matt Ellis [Thu, 18 Feb 2016 20:07:26 +0000 (12:07 -0800)]
Merge pull request dotnet/coreclr#3231 from ellismg/add-back-push-triggers

Add back push triggers

Commit migrated from https://github.com/dotnet/coreclr/commit/b22c17cc8a0ddc71eef1bba5b6542bbd304ec796

8 years agoMerge pull request dotnet/coreclr#3230 from jkotas/jitee-cleanup
Jan Kotas [Thu, 18 Feb 2016 19:31:19 +0000 (11:31 -0800)]
Merge pull request dotnet/coreclr#3230 from jkotas/jitee-cleanup

Delete NetCF quirk and MDIL generation support from RyuJIT and JIT-EE interface

Commit migrated from https://github.com/dotnet/coreclr/commit/3f46cdaf01493289c0382fda9757ad660d364d98

8 years agoDelete 'do not port' test, add non-windows exclusions
Richard L Ford [Thu, 18 Feb 2016 19:14:30 +0000 (11:14 -0800)]
Delete 'do not port' test, add non-windows exclusions

Commit migrated from https://github.com/dotnet/coreclr/commit/2a4583a0bb465d171e5815b98c5acbbea72a74d7

8 years agoAdd back push triggers
Matt Ellis [Thu, 18 Feb 2016 18:54:42 +0000 (10:54 -0800)]
Add back push triggers

Do {debug|checked|release} builds for all platforms on push. Upstack
projects (e.g CoreFX) take some of these as inputs and we use the
results in building out the badge links.

For the jobs which have flow's, just build the folow (which will trigger
the non flow builds).

Commit migrated from https://github.com/dotnet/coreclr/commit/3dd598b80aaff4d2110dc4a7fc26c3ce81471b2c

8 years agoDelete unused files
Jan Kotas [Thu, 18 Feb 2016 17:27:35 +0000 (09:27 -0800)]
Delete unused files

Commit migrated from https://github.com/dotnet/coreclr/commit/a3c3bc46ec96e30d9043265993e77a49060f6667

8 years agoDelete MDIL generation support from JIT-EE interface
Jan Kotas [Thu, 18 Feb 2016 17:21:04 +0000 (09:21 -0800)]
Delete MDIL generation support from JIT-EE interface

Commit migrated from https://github.com/dotnet/coreclr/commit/ca5dc52f79b91cd58c52b42927d19ec18c1281db

8 years agoMerge pull request dotnet/coreclr#3224 from gkhanna79/UpdateNugetPkg
Gaurav Khanna [Thu, 18 Feb 2016 17:59:41 +0000 (08:59 -0900)]
Merge pull request dotnet/coreclr#3224 from gkhanna79/UpdateNugetPkg

Update CoreCLR Nuget package

Commit migrated from https://github.com/dotnet/coreclr/commit/efcbea540d72c364b486135b3b84b7208c6e9344

8 years agoDelete NetCF quirks from RyuJIT
Jan Kotas [Thu, 18 Feb 2016 17:17:52 +0000 (09:17 -0800)]
Delete NetCF quirks from RyuJIT

Commit migrated from https://github.com/dotnet/coreclr/commit/d1cc1cc104e4ad5e32a9f287b717c6ceba33e124

8 years agoInline refactoring: add candidate observations
Andy Ayers [Wed, 17 Feb 2016 20:46:29 +0000 (12:46 -0800)]
Inline refactoring: add candidate observations

Add candidate observations and update the InlineResult to hold
onto the observation rather than the reason string.

Commit migrated from https://github.com/dotnet/coreclr/commit/25dcd21f6ecf7f4c226bf2965f1adc8ba0bd14f3

8 years agoMerge pull request dotnet/coreclr#3196 from AndyAyersMS/InlineRefactor4
Andy Ayers [Thu, 18 Feb 2016 16:43:15 +0000 (08:43 -0800)]
Merge pull request dotnet/coreclr#3196 from AndyAyersMS/InlineRefactor4

Inline refactoring: header cleanup and some renaming

Commit migrated from https://github.com/dotnet/coreclr/commit/692e7cbeebe3017c8ff87453c50cf41748c19d6b

8 years agoUpdate CoreCLR Nuget package version to be 1.0.2.
Gaurav Khanna [Thu, 18 Feb 2016 04:53:59 +0000 (20:53 -0800)]
Update CoreCLR Nuget package version to be 1.0.2.

Commit migrated from https://github.com/dotnet/coreclr/commit/8c234d65b9fc325fb37b95b39bf71e53558d8126

8 years agoMerge pull request dotnet/coreclr#3191 from manu-silicon/absolute_path
Jan Vorlicek [Thu, 18 Feb 2016 09:23:10 +0000 (10:23 +0100)]
Merge pull request dotnet/coreclr#3191 from manu-silicon/absolute_path

Fix absolute path on Linux

Commit migrated from https://github.com/dotnet/coreclr/commit/1d4b52c49c727abb9cc8c9c5857a895ca88a76ed

8 years agoFix typo in genXplatEventing.py.
Aditya Mandaleeka [Thu, 18 Feb 2016 02:35:13 +0000 (18:35 -0800)]
Fix typo in genXplatEventing.py.

Commit migrated from https://github.com/dotnet/coreclr/commit/2bb58c00bbd05465ce0e8abcc8bd2a9ea8cf6dc3

8 years agoUse pal.h directly in Unix twowaypipe code and remove windefs.h.
Aditya Mandaleeka [Thu, 18 Feb 2016 00:56:28 +0000 (16:56 -0800)]
Use pal.h directly in Unix twowaypipe code and remove windefs.h.

Commit migrated from https://github.com/dotnet/coreclr/commit/4fee7ae253a271cc70028202104e92128d1a5bd8

8 years agoPort desktop tests that had references
Richard L Ford [Tue, 16 Feb 2016 23:13:32 +0000 (15:13 -0800)]
Port desktop tests that had references

This change ports desktop tests that had references to dlls.
It also fixes some of the dll project files.
In addition there are some additional tests that were not
previously ported (but that do not reference dlls).

There are 4 tests that are excluded because of issue dotnet/coreclr#3216.

Commit migrated from https://github.com/dotnet/coreclr/commit/30c68b9d32ee6a6b82fa8315087a6dcbbe85a4b2

8 years agoMerge pull request dotnet/coreclr#3218 from sergiy-k/niimageloading
Jan Kotas [Thu, 18 Feb 2016 04:06:07 +0000 (20:06 -0800)]
Merge pull request dotnet/coreclr#3218 from sergiy-k/niimageloading

Change MAPMapPEFile to use ExecutableAllcator instead of mmap to reserve VA

Commit migrated from https://github.com/dotnet/coreclr/commit/eb451196a6e9838eb7104c8cac5fd34716193458

8 years agoMerge pull request dotnet/coreclr#3220 from dotnet-bot/from-tfs
Jan Kotas [Thu, 18 Feb 2016 04:04:15 +0000 (20:04 -0800)]
Merge pull request dotnet/coreclr#3220 from dotnet-bot/from-tfs

Merge changes from TFS

Commit migrated from https://github.com/dotnet/coreclr/commit/cc32acc6c3380065382d2ce7a9ae58123c453a2c