Aditya Mandaleeka [Wed, 21 Oct 2015 22:26:49 +0000 (15:26 -0700)]
Merge pull request dotnet/coreclr#1780 from adityamandaleeka/librarySearchPaths
Fix DllImport search logic with respect to prefixes/suffixes
Commit migrated from https://github.com/dotnet/coreclr/commit/
2fadd657a3d3826e32638a6bdde1f7c9394531dc
Aditya Mandaleeka [Wed, 21 Oct 2015 20:58:52 +0000 (13:58 -0700)]
Add STANDARD_VM_CONTRACT and remove loop that's no longer needed.
Commit migrated from https://github.com/dotnet/coreclr/commit/
c9a6067831b40b739e5a4a908b66a8b7b84e565f
Lakshmi Priya [Wed, 21 Oct 2015 20:01:37 +0000 (13:01 -0700)]
Merge pull request dotnet/coreclr#1824 from Priya91/fixbug
Fix lpFileName leak in InternalCreateProcess.
Commit migrated from https://github.com/dotnet/coreclr/commit/
65b55ab02eba5fc71daadb0db9f4d4a424906dba
Aditya Mandaleeka [Tue, 20 Oct 2015 03:53:05 +0000 (20:53 -0700)]
Always attempt to load specified DLL name first before trying variations
Commit migrated from https://github.com/dotnet/coreclr/commit/
f087812e819ebfb20b1a72d34f9eea9ea1cc34ad
Aditya Mandaleeka [Thu, 15 Oct 2015 22:30:36 +0000 (15:30 -0700)]
Remove ReversePInvoke test from failing tests list.
Commit migrated from https://github.com/dotnet/coreclr/commit/
dec03df223e1a1448bc061b8016b8323c6ec5b81
Aditya Mandaleeka [Thu, 15 Oct 2015 22:09:51 +0000 (15:09 -0700)]
Move prefix/suffix logic to dllimport
Commit migrated from https://github.com/dotnet/coreclr/commit/
16515a943e18ebeedcc96a9129f6cd99b5b4af6c
Lakshmi Priya Sekar [Wed, 21 Oct 2015 15:57:23 +0000 (08:57 -0700)]
Fix lpFileName leak in InternalCreateProcess.
Commit migrated from https://github.com/dotnet/coreclr/commit/
59de8a76b21c6a0b754fb1c60b094968faaca582
Stephen Toub [Wed, 21 Oct 2015 16:19:58 +0000 (12:19 -0400)]
Merge pull request dotnet/coreclr#1822 from janvorli/fix-pal-new-usage
Remove new operator usage in PAL
Commit migrated from https://github.com/dotnet/coreclr/commit/
4d7a3ddd641d91d02c2dbb7ef8829e41939e1a16
Jan Vorlicek [Wed, 21 Oct 2015 14:49:45 +0000 (07:49 -0700)]
Remove new operator usage in PAL
This change fixes an issue caused by recent change in filename buffers
allocations. It was using the operator new, but it should not be used
in PAL since it invokes overriden operator new in the coreclr.
The fix is to use InternalMalloc instead.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d8755f9d7ba419d31cf7ae6e0db6b7d10fafd440
Stephen Toub [Wed, 21 Oct 2015 14:34:21 +0000 (10:34 -0400)]
Merge pull request dotnet/coreclr#1808 from om3n07/master
Correct comments on Array sorting methods
Commit migrated from https://github.com/dotnet/coreclr/commit/
c955065b8bf842f31dacd1d352f02847dc3b001f
Matt Ellis [Wed, 21 Oct 2015 06:58:01 +0000 (23:58 -0700)]
Merge pull request dotnet/coreclr#1804 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
e9f018f94407e80c3ed76f227717deac70cc85f7
Bryan P. Arant [Wed, 21 Oct 2015 06:13:07 +0000 (23:13 -0700)]
Merge pull request dotnet/coreclr#1817 from bryanar/pri1testfix
Fixing test infrastructure that affects pri1 tests.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d25e96ae0550b87284e3ab9ab402d729cd2ad794
Lakshmi Priya [Wed, 21 Oct 2015 02:02:33 +0000 (19:02 -0700)]
Merge pull request dotnet/coreclr#1744 from Priya91/palstring-rest
Use StackString in PAL file apis.
Commit migrated from https://github.com/dotnet/coreclr/commit/
6b091902c7f2cc2578a8fb34a7ce8115f0f9cb8b
Aditya Mandaleeka [Wed, 21 Oct 2015 00:18:49 +0000 (17:18 -0700)]
Merge pull request dotnet/coreclr#1813 from adityamandaleeka/pal_cleanup
Clean up cleanup code in PAL
Commit migrated from https://github.com/dotnet/coreclr/commit/
96515c550cf891cc62287cd6f03ed02894f9a5cc
Lakshmi Priya Sekar [Mon, 19 Oct 2015 18:01:24 +0000 (11:01 -0700)]
Fix boundary bugs on buffer lengths. Include null char in MAX_LONGPATH.
Commit migrated from https://github.com/dotnet/coreclr/commit/
fdbd0a799c370d7fcf3832e04819c5ec9d85b6a7
Bryan Arant [Tue, 20 Oct 2015 23:03:04 +0000 (16:03 -0700)]
Fixing some pri1 tests.
Commit migrated from https://github.com/dotnet/coreclr/commit/
8af5de08e22661b386eb517bea57fb8727b72485
Lubomir Litchev [Tue, 20 Oct 2015 23:14:16 +0000 (16:14 -0700)]
Merge pull request dotnet/coreclr#1806 from LLITCHEV/SystemVStructs
Implementation of System V ABI struct passing.
Commit migrated from https://github.com/dotnet/coreclr/commit/
c96f74816ad03b39d0311c445a089520a8136314
Lubomir Litchev [Thu, 19 Feb 2015 19:42:30 +0000 (11:42 -0800)]
Implementation of System V ABI struct passing.
This PR adds support for System V x86_64 ABI classification and calling
convention to the VM and the Jit, including, but not limited to Ubuntu
Linux and Mac OS X.
The general rules outlined in the System V x86_64 ABI (described at
http://www.x86-64.org/documentation/abi.pdf) are followed with a few
little exceptions, described below:
1. The hidden argument for by-value passed structs is always after
the ÎéÎíthisÎéÎí parameter (if there is one.). This is a difference with
the Sysetem V ABI and affects only the internal jit calling conventions.
For PInvoke calls the hidden argument is always the first parameter since
there is no ÎéÎíthisÎéÎí parameter in this case.
2. Managed structs that have no fields are always passed by-value on
the stack.
3. The jit proactively generates frame register frames (with RBP as a
frame register) in order to aid the native OS tooling for stack unwinding
and the like.
Commit migrated from https://github.com/dotnet/coreclr/commit/
378e304f9e22b3c4d03c3b1b62c47b0aa58ceaf5
Aditya Mandaleeka [Tue, 20 Oct 2015 21:20:15 +0000 (14:20 -0700)]
Remove unused full_cleanup parameter
Commit migrated from https://github.com/dotnet/coreclr/commit/
0de2be938c00f3b3b824b2493b916aa901a74cae
Mike McLaughlin [Tue, 20 Oct 2015 21:12:31 +0000 (14:12 -0700)]
Merge pull request dotnet/coreclr#1811 from mikem8361/exceptfix
Managed unhandled exceptions for debugging and other fixes
Commit migrated from https://github.com/dotnet/coreclr/commit/
4be080ee4c52211247d720e24f71d87b657357ee
Jan Vorlicek [Tue, 20 Oct 2015 21:02:54 +0000 (14:02 -0700)]
Merge pull request dotnet/coreclr#1805 from sergiy-k/nodebugmsgs
Disable DEBUG_MESSAGES in release build of CoreCLR PAL
Commit migrated from https://github.com/dotnet/coreclr/commit/
fc4da45649e0e58d18d23af98e1230b71ddbcbe0
Mike McLaughlin [Tue, 20 Oct 2015 01:38:26 +0000 (18:38 -0700)]
Fix issue dotnet/coreclr#1782 unhanded exceptions don't generate core dumps by changing HandleFatalError to end up calling TerminateProcess (which calls the unix abort()) instead of ExitProcess.
Commit migrated from https://github.com/dotnet/coreclr/commit/
64c377e4069af40b5f7c3c19481ec95526fcdb57
Mike McLaughlin [Tue, 20 Oct 2015 00:20:56 +0000 (17:20 -0700)]
Fix assert when unhandled exception is unwound and restored some previous code in the first pass dispatcher so the managed debugger notification is sent at the right time (during the first pass instead after everything is unwound).
Also fixed issue dotnet/coreclr#1799 by not masking SIGTERM anymore.
Commit migrated from https://github.com/dotnet/coreclr/commit/
ce40fd159f6961efa44daeb6e7043a40407b6590
Matt Mitchell [Tue, 20 Oct 2015 16:06:31 +0000 (09:06 -0700)]
Merge pull request dotnet/coreclr#1775 from mmitche/add-coreclr-linux-tests
Add coreclr Linux tests to CI definition
Commit migrated from https://github.com/dotnet/coreclr/commit/
1bed1529e6f48418899bc057e9e3cecd8cb72db6
Matt Mitchell [Tue, 20 Oct 2015 15:52:36 +0000 (08:52 -0700)]
Fixup
Commit migrated from https://github.com/dotnet/coreclr/commit/
6ec712cb1864b69a73053bc9bad97cdcd414919f
Matt [Tue, 20 Oct 2015 13:50:54 +0000 (09:50 -0400)]
Correct comments on Array sorting methods
Changed "recrusively" to "recursively" and "subtrack" to "subtract".
https://github.com/dotnet/coreclr/issues/1801
Commit migrated from https://github.com/dotnet/coreclr/commit/
8e1c0b305729f04ef25eb422e73625688db3a0d7
Aditya Mandaleeka [Tue, 20 Oct 2015 06:23:43 +0000 (23:23 -0700)]
Merge pull request dotnet/coreclr#1803 from adityamandaleeka/fix_4cf34fe
Revert some changed files from an incorrectly merged commit
Commit migrated from https://github.com/dotnet/coreclr/commit/
b422116a7ef6f03884604620a71671645fe66b30
Sergiy Kuryata [Tue, 20 Oct 2015 04:13:01 +0000 (21:13 -0700)]
Disable DEBUG_MESSAGES in release build of CoreCLR PAL
This reduces the size of libcoreclr by 1.3MB and improves performace results by a few percent on some benchmarks.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d1ee2104052aeb3b4dacdf33d9ecf55f1ed33f1d
Jan Kotas [Tue, 20 Oct 2015 02:11:20 +0000 (19:11 -0700)]
Merge pull request dotnet/coreclr#1802 from jkotas/networking
Delete remaining vestiges of PAL networking support
Commit migrated from https://github.com/dotnet/coreclr/commit/
3d1175e017b0c0b4cd7276044f607203a3e9e436
Stephen Toub [Tue, 20 Oct 2015 01:53:35 +0000 (21:53 -0400)]
Merge pull request dotnet/coreclr#1800 from stephentoub/invariant_casing_fix
Fix Turkish i casing with invariant culture on Unix
Commit migrated from https://github.com/dotnet/coreclr/commit/
8f3cbd96aa9f3952686fc37d8547fe9c928f7279
Aditya Mandaleeka [Tue, 20 Oct 2015 01:21:36 +0000 (18:21 -0700)]
Revert some changed files from an incorrectly merged commit.
Commit 4cf34fe seems to have included some unintentional changes which are
affecting the product. This reverts those files to what they should be.
Commit migrated from https://github.com/dotnet/coreclr/commit/
0786c55bf36321a49bb09b5d37a1b2d5f79fd9e9
Rama Krishnan Raghupathy [Tue, 20 Oct 2015 01:22:07 +0000 (18:22 -0700)]
addressing desktop build failure
Code which does not have FEATURE_EVENT_TRACE defined is using artifacts from it
[tfs-changeset: 1539531]
Commit migrated from https://github.com/dotnet/coreclr/commit/
586b884dc1b8fb7487a6c25cec327627ba75f411
Jan Kotas [Tue, 20 Oct 2015 00:49:57 +0000 (17:49 -0700)]
Delete remaining vestiges of PAL networking support
Commit migrated from https://github.com/dotnet/coreclr/commit/
27d9deab63ecedd2e2cf12fb74e25175f8bd300b
stephentoub [Mon, 19 Oct 2015 20:35:36 +0000 (16:35 -0400)]
Fix Turkish i casing with invariant culture
It turns out there are some differences in the casing data used by Windows and ICU for our invariant culture. In particular, Turkish 'i' is handled differently.
This change splits the shim ChangeCase function into three: ChangeCaseTurkish (used for Turkish culture), ChangeCaseInvariant (used for Invariant culture), and ChangeCase (used for everything else. ChangeCaseInvariant includes the new special cases. Call sites in the managed code are localized to a single function that determines which native function to invoke.
Commit migrated from https://github.com/dotnet/coreclr/commit/
28e12d2a14d87f03586e9afd58065abb95b1a637
Bryan P. Arant [Mon, 19 Oct 2015 08:11:21 +0000 (01:11 -0700)]
Merge pull request dotnet/coreclr#1785 from bryanar/managed-test-port
Managed Test Port
Commit migrated from https://github.com/dotnet/coreclr/commit/
3015ff7afb4936a1c5c5856daa4e3482e6b390a9
Lakshmi Priya Sekar [Mon, 19 Oct 2015 07:37:21 +0000 (00:37 -0700)]
Removed #ifndef CORECLR blocks from shmemory.
Commit migrated from https://github.com/dotnet/coreclr/commit/
3433abc7838db54b9656bd0cfb606a7a0d6fed91
Lakshmi Priya Sekar [Mon, 19 Oct 2015 07:11:49 +0000 (00:11 -0700)]
Remove MAX_LONGPATH constraint checks from file name string length.
Commit migrated from https://github.com/dotnet/coreclr/commit/
ab9a052eca3d3784b87b0c9f288f266bf1f846be
Lakshmi Priya Sekar [Wed, 7 Oct 2015 01:19:32 +0000 (18:19 -0700)]
Use StackString in PAL file apis.
Commit migrated from https://github.com/dotnet/coreclr/commit/
01a7eb3df39e828c0c83980ff2d32bc49b3db73b
dotnet-bot [Wed, 30 Sep 2015 19:20:52 +0000 (12:20 -0700)]
Managed Test Port
This is a collection of managed runtime tests from an internal legacy test tree.
Commit migrated from https://github.com/dotnet/coreclr/commit/
004514c07bcf5230b518befd75f794733b5f9067
Jan Kotas [Sat, 17 Oct 2015 01:54:12 +0000 (18:54 -0700)]
Fix build break with WindowsOS CRT
_get_wpgmptr is not available in WindowsOS CRT. Replace it with GetModuleFileName.
[tfs-changeset: 1538931]
Commit migrated from https://github.com/dotnet/coreclr/commit/
5992ffac963acc0fbd9e3fd9976d9842a74abbe7
Jan Kotas [Sat, 17 Oct 2015 00:11:30 +0000 (17:11 -0700)]
Merge pull request dotnet/coreclr#1789 from jkotas/crsttypetool
Add CrstTypeTool source code
Commit migrated from https://github.com/dotnet/coreclr/commit/
917e33ad279878b4929e95bfdd1ec5484d108ab0
Jan Kotas [Fri, 16 Oct 2015 23:41:55 +0000 (16:41 -0700)]
Add CrstTypeTool source code
This tool is required for updating autogenerated crsttypes.h file
Commit migrated from https://github.com/dotnet/coreclr/commit/
7a130e64d66045975d3a36e810e8d15819fdadda
Rama krishnan Raghupathy [Fri, 16 Oct 2015 23:01:37 +0000 (16:01 -0700)]
Merge pull request dotnet/coreclr#1779 from ramarag/control_xplat_event_logging
Controlling Xplat Event logging
Commit migrated from https://github.com/dotnet/coreclr/commit/
36a6186a87cdcfe3818cd3b876feab0b93774a4e
dotnet-bot [Fri, 16 Oct 2015 22:10:29 +0000 (15:10 -0700)]
Fix Windows x86 build - use macro for friend declaration
The friend declaration conflicted with the extern declaration on x86 because the macro uses fastcall.
[tfs-changeset: 1538868]
Commit migrated from https://github.com/dotnet/coreclr/commit/
4f748b62207375417b7923f30becf65cc1d733e7
Koundinya Veluri [Fri, 16 Oct 2015 22:03:20 +0000 (15:03 -0700)]
Merge pull request dotnet/coreclr#1786 from kouvel/BuildFix
Fix Windows x86 build - use macro for friend declaration
Commit migrated from https://github.com/dotnet/coreclr/commit/
55bff47d2f2230d79c00004c45565bf784db306e
Rama [Thu, 15 Oct 2015 22:16:24 +0000 (15:16 -0700)]
Controlling Xplat Event logging:
Adding an environment variable COMPlus_EnableEventLog to turn on/off
Xplat Event Logging, by default Xplat Event logging is turned off
Commit migrated from https://github.com/dotnet/coreclr/commit/
647156a4c78269f5393eb9fa2e85b24255426df2
Nick Guerrera [Fri, 16 Oct 2015 20:41:10 +0000 (13:41 -0700)]
Merge pull request dotnet/coreclr#1783 from nguerrera/explicit-location-model
Be explicit about exposing Assembly.Location in model.xml
Commit migrated from https://github.com/dotnet/coreclr/commit/
f7089df9e2377603b04fe2837bd9bbc3fc434304
Koundinya Veluri [Fri, 16 Oct 2015 20:37:57 +0000 (13:37 -0700)]
Fix Windows x86 build - use macro for friend declaration
Commit migrated from https://github.com/dotnet/coreclr/commit/
257fb0e6cd7fda099a790d5e9a38b9c602e76050
Nick Guerrera [Fri, 16 Oct 2015 18:41:39 +0000 (11:41 -0700)]
Merge pull request dotnet/coreclr#1781 from nguerrera/expose-mvid
Expose Module.ModuleVersionId
Commit migrated from https://github.com/dotnet/coreclr/commit/
e83ca434502e3043527cb6929874089029ecc255
Nate Amundson [Fri, 16 Oct 2015 16:32:06 +0000 (11:32 -0500)]
Pass __IntermediatesDir to msbuild in build.sh
Currently, building coreclr x-plat fails if not running as root due to
the build trying to copy files to "/ToolRuntime". The issue is that
$(IntermediatesOutputRootPath) is not set when running from build.sh,
and testruntime.targets in buildtools defines ToolRuntimePath as
"$(IntermediateOutputRootPath)ToolRuntime\". The fix is to pass
__IntermediatesDir to msbuild in build_mscorlib, which results in
$(IntermediatesOutputRootPath) being properly set.
This change also adds a skipcoreclr flag to allow the user to skip the
CoreCLR part of the build, similar to the existing skipmscorlib flag.
Commit migrated from https://github.com/dotnet/coreclr/commit/
18e80622347e41cc53ca2ffa880a19298edfd60d
Nick Guerrera [Fri, 16 Oct 2015 01:07:29 +0000 (18:07 -0700)]
Be explicit about exposing Assembly.Location in model.xml
Commit migrated from https://github.com/dotnet/coreclr/commit/
cc228c0597791b48ba669e0d133c655347da2dac
Aditya Mandaleeka [Fri, 16 Oct 2015 00:46:19 +0000 (17:46 -0700)]
Remove unnecessary condemnation and suspension in PALCommonCleanup.
Commit migrated from https://github.com/dotnet/coreclr/commit/
3d14d24f37e7728d9f1ec833b231f00c00693b76
Aditya Mandaleeka [Fri, 16 Oct 2015 00:19:52 +0000 (17:19 -0700)]
Remove CPalSynchronizationManager::Shutdown
Commit migrated from https://github.com/dotnet/coreclr/commit/
b409ad2b921c6e2fa4bd429f7a9560ef960ad701
Aditya Mandaleeka [Fri, 16 Oct 2015 00:13:38 +0000 (17:13 -0700)]
Remove unused step logic from PALCommonCleanup.
Commit migrated from https://github.com/dotnet/coreclr/commit/
99b114653c3f3e3378da2448c0c6b132aa48ffe5
Matt Mitchell [Thu, 15 Oct 2015 23:26:46 +0000 (16:26 -0700)]
Fixup
Commit migrated from https://github.com/dotnet/coreclr/commit/
9531c51491487b6ae7e3764e150a2fed93cd5f48
Matt Mitchell [Thu, 15 Oct 2015 23:22:36 +0000 (16:22 -0700)]
Fixup
Commit migrated from https://github.com/dotnet/coreclr/commit/
ea4b3f9d6246fc42d7e6dc818f179f8d104f215b
Matt Mitchell [Thu, 15 Oct 2015 23:22:15 +0000 (16:22 -0700)]
Fixup
Commit migrated from https://github.com/dotnet/coreclr/commit/
7d4b4f752b2a48c3c087eb345c3132938aa744f1
Matt Mitchell [Thu, 15 Oct 2015 23:19:21 +0000 (16:19 -0700)]
Fixup
Commit migrated from https://github.com/dotnet/coreclr/commit/
33d7fdc6055266f07fb76204a806e758d35999fc
Nick Guerrera [Thu, 15 Oct 2015 23:15:14 +0000 (16:15 -0700)]
Expose Module.ModuleVersionId
Commit migrated from https://github.com/dotnet/coreclr/commit/
202fad9b4e4797b56023ad0ff1ad72e86db0efb0
Jan Kotas [Thu, 15 Oct 2015 21:24:29 +0000 (14:24 -0700)]
Merge pull request dotnet/coreclr#1778 from swaroop-sridhar/comment
Fix a comment in GcInfoEncoder.h
Commit migrated from https://github.com/dotnet/coreclr/commit/
ddff89241f682995bdde165de89b579573a338aa
Matt Ellis [Thu, 15 Oct 2015 21:18:51 +0000 (14:18 -0700)]
Merge pull request dotnet/coreclr#1777 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
3754df9f7d6cfe94d5cf2d3f2a9b357d5dd41881
Swaroop Sridhar [Thu, 15 Oct 2015 20:44:32 +0000 (13:44 -0700)]
Fix a comment in GcInfoEncoder.h
Fix a stale comment about stack-slot-base
in the GcInfo Encoder interface.
Commit migrated from https://github.com/dotnet/coreclr/commit/
72f940d5a54685aab0b4b3f558288bc3175bc1a3
Bryan P. Arant [Thu, 15 Oct 2015 20:24:28 +0000 (20:24 +0000)]
Merge pull request dotnet/coreclr#1690 from bryanar/changes-to-test-tree
Changes to Test Tree Infrastructure
Commit migrated from https://github.com/dotnet/coreclr/commit/
eaba20beb9a4fea63096e215376c9f2170acda70
Matt Ellis [Thu, 15 Oct 2015 19:11:32 +0000 (12:11 -0700)]
Add missing .gitmirror file.
This new folder was introduced in dotnet/coreclr@
465f56ef0c9c4b125d890e7ac0757e77d54e193c and needs a .gitmirror file.
[tfs-changeset: 1538359]
Commit migrated from https://github.com/dotnet/coreclr/commit/
0bc355f4bb3615a41574d9fded3e0a6aa12839e8
Matt Mitchell [Thu, 15 Oct 2015 17:30:08 +0000 (10:30 -0700)]
Fixup
Commit migrated from https://github.com/dotnet/coreclr/commit/
fc6d07e6a5ec189af71ac4470a3e50441323407c
Michelle McDaniel [Thu, 15 Oct 2015 17:30:03 +0000 (10:30 -0700)]
Merge pull request dotnet/coreclr#1770 from adiaaida/addSkipMscorlib
Add skipmscorlib option to build.cmd
Commit migrated from https://github.com/dotnet/coreclr/commit/
8f8d1357e222037cb3fb09ab8712086836185a42
Matt Mitchell [Thu, 15 Oct 2015 17:24:21 +0000 (10:24 -0700)]
Add coreclr Linux tests to CI definition
Commit migrated from https://github.com/dotnet/coreclr/commit/
651389139e0e00a4681387145165409b0f9f271a
Jan Kotas [Thu, 15 Oct 2015 16:56:13 +0000 (09:56 -0700)]
Merge pull request dotnet/coreclr#1773 from jkotas/gcee-cleanup
Cleanup GC-EE Interface
Commit migrated from https://github.com/dotnet/coreclr/commit/
d78fd39ef4b9f08068c3c781dcab7f364f41c162
Michelle McDaniel [Wed, 14 Oct 2015 23:55:47 +0000 (16:55 -0700)]
Skip Crossgen of mscorlib for x86
x86 is currently cannot crossgen mscorlib, but we want to get a build in
the lab so that we make sure we do not break the x86 build of coreclr when
we make changes. This change defaults to skipping crossgen for x86 unless
docrossgen is passed to build.cmd.
Commit migrated from https://github.com/dotnet/coreclr/commit/
98189891801fd4fadfc5d510a514f3e0f90fec77
Jan Kotas [Thu, 15 Oct 2015 14:14:05 +0000 (07:14 -0700)]
Cleanup GC-EE Interface
- Add proper abstractions for threading methods to GCToEEInterface
- Split sample gcenv into multiple files to avoid redundant content
- Add handle table methods needed by .NET Native WinRT implementation
Part of dotnet/coreclr#1550
Commit migrated from https://github.com/dotnet/coreclr/commit/
38034a26ff4e40e98d1af32abe5baef2c3eeea52
Matt Mitchell [Thu, 15 Oct 2015 14:44:53 +0000 (07:44 -0700)]
Merge pull request dotnet/coreclr#1769 from mmitche/fix-type-assert
Remove assert found in internal testing
Commit migrated from https://github.com/dotnet/coreclr/commit/
afc073b19a9ba98ea687228d5eda694ffde2129d
Jan Kotas [Thu, 15 Oct 2015 14:21:58 +0000 (07:21 -0700)]
Merge pull request dotnet/coreclr#1772 from anurse/anurse/1771-coreconsole-wpgmptr
change coreconsole to use _get_wpgmptr
Commit migrated from https://github.com/dotnet/coreclr/commit/
137f04eba194abc16dade738389032fc406ac6ac
Andrew Stanton-Nurse [Thu, 15 Oct 2015 05:08:09 +0000 (22:08 -0700)]
Change CoreConsole to use _get_wpgmptr
The first value in argv only contains the string that was used to
launch the process. This means that when the CoreConsole-based
application is on the PATH, some invocations of it (most notably
those done from 'cmd') cause that value to be incomplete.
Changing to use _get_wpgmptr ensures that we always get the full
path to the executable, no matter how it is executed.
Fix dotnet/coreclr#1771
Commit migrated from https://github.com/dotnet/coreclr/commit/
3bd624bb3f6679f5d4793787a082f707ad1a700e
Koundinya Veluri [Wed, 30 Sep 2015 19:20:52 +0000 (12:20 -0700)]
Changes to Test Infrastructure
The following changes are being submitted in order to prepare for a large collection of tests to be ported from the internal legacy test tree.
- Adds "build kinds" to the test tree.
- Adds some documentation for the test tree
- Adds a Test Priority feature (see documentation Documentation/project-docs/tests.md for more information.
- Dropped the cs_template.csproj types and converted to individual CSProject files.
Commit migrated from https://github.com/dotnet/coreclr/commit/
4cf34fe7988ad04eaa7f699a5d0faea8a8394f95
Matt Mitchell [Wed, 14 Oct 2015 23:09:59 +0000 (16:09 -0700)]
Remove assert found in internal testing
This assert was introduced with the fix for dotnet/coreclr#1323 as a sanity check that truly incompatible types couldn't enter this function. However, there are at least some cases where the types could be different. In the case found, REF and LONG were the types and the operand was a GT_LEA, which is handled later in the function.
This assert was introduced with the fix for dotnet/coreclr#1323 as a sanity check that truly incompatible types couldn't enter this function. However, there are at least some cases where the types could be different. In the case found, REF and LONG were the types and the operand was a GT_LEA, which is handled later in the function.
Commit migrated from https://github.com/dotnet/coreclr/commit/
9006df0ed803644ccd268b6aacf6b09423d45c9b
Stephen Toub [Wed, 14 Oct 2015 22:24:34 +0000 (18:24 -0400)]
Merge pull request dotnet/coreclr#1747 from stephentoub/string_tolowerupper_ascii
Add ASCII optimization to string.ToLower/ToUpper on Unix
Commit migrated from https://github.com/dotnet/coreclr/commit/
c826885f85991fbeb1e99930f08ba4c3c4b8f9a8
stephentoub [Wed, 14 Oct 2015 15:29:11 +0000 (11:29 -0400)]
Avoid brancing in ToLower/UpperAsciiInvariant(char)
Rather than comparing the input char against 'A'/'a' and 'Z'/'z', we simply trim off all but the lower 7 bits and do a lookup into a precomputed table. This is ~3-4x faster than the branching version.
Commit migrated from https://github.com/dotnet/coreclr/commit/
4b8dadec3a89da8d9e4d12ad9b8b68b2cdc7fe91
Sergiy Kuryata [Wed, 14 Oct 2015 17:47:11 +0000 (10:47 -0700)]
Merge pull request dotnet/coreclr#1761 from kouvel/Instructions
Add some instructions (tests, new APIs)
Commit migrated from https://github.com/dotnet/coreclr/commit/
06579986abb889d2a509be7e2c6370b4fa363fd6
Sergiy Kuryata [Wed, 14 Oct 2015 16:36:12 +0000 (09:36 -0700)]
Merge pull request dotnet/coreclr#1763 from kouvel/PerfFix
Add string allocation fast path outside Windows
Commit migrated from https://github.com/dotnet/coreclr/commit/
ba3a1552fdacac4047681e45256edef2599c8b0b
stephentoub [Mon, 12 Oct 2015 19:06:25 +0000 (15:06 -0400)]
Add ASCII optimization to string.ToLower/ToUpper on Unix
Commit migrated from https://github.com/dotnet/coreclr/commit/
f48b5ad56a6f6f584cb202c05f5b06c09b7adfbf
Aditya Mandaleeka [Wed, 14 Oct 2015 00:48:03 +0000 (17:48 -0700)]
Merge pull request dotnet/coreclr#1758 from wtgodbe/failingTests
Removed working tests from failing tests file
Commit migrated from https://github.com/dotnet/coreclr/commit/
d1c27d62267d08a0c1c9be454e896984aa6b55fa
Matt Ellis [Wed, 14 Oct 2015 00:15:36 +0000 (17:15 -0700)]
Merge pull request dotnet/coreclr#1759 from ellismg/format-corefx-code
Format native CoreFX code to follow conventions
Commit migrated from https://github.com/dotnet/coreclr/commit/
a7b40d4017c6487281b36604d810dd4609ccfc20
Koundinya Veluri [Tue, 13 Oct 2015 22:49:03 +0000 (15:49 -0700)]
Add string allocation fast path outside Windows
- On Linux, a microbenchmark is 140% faster with the portable fast path
- On Windows with the asm fast path, the microbenchmark was 300% faster than on Linux before, and is now 65% faster with the portable fast path
- On Windows, the portable fast path is 5% slower than the asm fast path
Commit migrated from https://github.com/dotnet/coreclr/commit/
d7772f3feb5fd09ea841add320f6e2f25642686d
Jose Perez Rodriguez [Tue, 13 Oct 2015 23:12:59 +0000 (16:12 -0700)]
Merge pull request dotnet/coreclr#1669 from joperezr/UseNewBclRewriter
Using DotNetCore version of BclRewriter in mscorlib build
Commit migrated from https://github.com/dotnet/coreclr/commit/
c95df90677aee02bef314acaabaa9027fd4b2c1a
Koundinya Veluri [Tue, 13 Oct 2015 21:04:49 +0000 (14:04 -0700)]
Merge pull request dotnet/coreclr#1755 from kouvel/DisableTests
Disable a couple of tests that are not supported outside Windows
Commit migrated from https://github.com/dotnet/coreclr/commit/
327794d8eefc0692132df13906dc7109c4d1bf40
Koundinya Veluri [Tue, 13 Oct 2015 19:58:48 +0000 (12:58 -0700)]
Add some instructions (tests, new APIs)
- Instructions for running CoreCLR and PAL tests outside Windows
- Brief instructions for running CoreFX tests with a private build of CoreCLR outside Windows
- Adding new public APIs to mscorlib
Commit migrated from https://github.com/dotnet/coreclr/commit/
80479e2aefa72ea6b5e39d6e910fb6d0465e4978
Matt Ellis [Tue, 13 Oct 2015 19:15:54 +0000 (12:15 -0700)]
Run format-code.sh
Commit migrated from https://github.com/dotnet/coreclr/commit/
22a9ef1feef0c639afe214237d38a0dd0c2d050b
Matt Ellis [Tue, 13 Oct 2015 19:11:50 +0000 (12:11 -0700)]
Add format-code.sh from CoreFX
Commit migrated from https://github.com/dotnet/coreclr/commit/
eb13823904d1a6d0167f101d63e5e68bba0b61b0
Jose Perez Rodriguez [Fri, 2 Oct 2015 16:52:22 +0000 (09:52 -0700)]
Using DotNetCore version of BclRewriter in mscorlib build
Commit migrated from https://github.com/dotnet/coreclr/commit/
cd49a9fada15fefeef6969d1f38fe6575c78533a
William Godbe [Tue, 13 Oct 2015 18:28:07 +0000 (11:28 -0700)]
Removed working tests from failing tests file
Commit migrated from https://github.com/dotnet/coreclr/commit/
e3c820017e959b0f0e6907d8231d6ea5e7f7d6a6
Matt Mitchell [Tue, 13 Oct 2015 18:34:03 +0000 (11:34 -0700)]
Merge pull request dotnet/coreclr#1756 from mmitche/add-arm-arm64-cross
Add arm64/arm cross builds to CI definition
Commit migrated from https://github.com/dotnet/coreclr/commit/
fec8f02328c50dc3143aca629305f8c8a77a635f
Matt Mitchell [Tue, 13 Oct 2015 18:23:48 +0000 (11:23 -0700)]
Add missing quote
Commit migrated from https://github.com/dotnet/coreclr/commit/
3671f922c175766b667fc94fc727bd9a6f69d22c
Matt Mitchell [Tue, 13 Oct 2015 17:44:58 +0000 (10:44 -0700)]
Use the correct comment style
Commit migrated from https://github.com/dotnet/coreclr/commit/
b1fdc32632ea856a47fe9cdd459cf7fd224b843b
Matt Mitchell [Tue, 13 Oct 2015 17:38:23 +0000 (10:38 -0700)]
Add arm64/arm cross builds to CI definition
Commit migrated from https://github.com/dotnet/coreclr/commit/
33298b80ef45790edfaa60f03437ddca95e3ebe8
Koundinya Veluri [Tue, 13 Oct 2015 17:29:10 +0000 (10:29 -0700)]
Disable a couple of tests that are not supported outside Windows
Commit migrated from https://github.com/dotnet/coreclr/commit/
b20924348aa8c40f271f2e58cdb02445662508b8
Jan Vorlicek [Tue, 13 Oct 2015 14:56:52 +0000 (16:56 +0200)]
Merge pull request dotnet/coreclr#1738 from janvorli/fix-cocreate-guid
Implement CoCreateGuid using uuid_generate on Unix
Commit migrated from https://github.com/dotnet/coreclr/commit/
eefbaaa9cfb84a48495199e334b9e8ea13b06646
Jan Vorlicek [Fri, 9 Oct 2015 18:56:43 +0000 (20:56 +0200)]
Implement CoCreateGuid using uuid_generate on Unix
We were generating GUIDs on Unix as random numbers. But that is not
correct since GUIDs have defined structure with bits having specific
meanings. For example, there are four bits that represent the type of
the GUID, which means whether the guid is randomly generated,
name based on SHA1, time based etc.
This change changes the CoCreateGuid to use the uuid_generate function
from the uuid library that should generate well-formed GUIDs on
Linux and OSX and the uuid_create on FreeBSD.
Commit migrated from https://github.com/dotnet/coreclr/commit/
dbd046be21faab7346db55f3dd638162a20f3941
Rama krishnan Raghupathy [Tue, 13 Oct 2015 05:27:21 +0000 (22:27 -0700)]
Merge pull request dotnet/coreclr#1753 from ramarag/lttng_check
Add checks for liblttng-ust-dev at build time
Commit migrated from https://github.com/dotnet/coreclr/commit/
2e70585b98e6371aae2d00f3fcf537de0a3cfdab
Rama [Mon, 12 Oct 2015 23:56:33 +0000 (16:56 -0700)]
Add checks for liblttng-ust-dev at build time
Commit migrated from https://github.com/dotnet/coreclr/commit/
a8a1b6500a316f388b12b8299608d8adaa630b89
Jan Vorlicek [Mon, 12 Oct 2015 22:55:35 +0000 (00:55 +0200)]
Merge pull request dotnet/coreclr#1749 from janvorli/improve-frame-destructor
Improve frame destructor performance
Commit migrated from https://github.com/dotnet/coreclr/commit/
1f43da21666a3310b478917e0e1d888913dfcca3