Matt Ellis [Mon, 10 Aug 2015 23:45:38 +0000 (16:45 -0700)]
Remove unused resource string
StackTrace_Stack was conditional between Unix and Windows, which is
problematic when building on Unix, since the Mono provided ResGen does
not understand our define directives. It turns out this string is
unused (in both CoreCLR and Desktop) so to make things easier, we can
just remove it.
Commit migrated from https://github.com/dotnet/coreclr/commit/
793558ed5b888b57553df4c8a3e740aa171e51d3
Stephen Toub [Sun, 16 Aug 2015 12:19:09 +0000 (08:19 -0400)]
Merge pull request dotnet/coreclr#1391 from AlexGhiondea/fixProject
Remove incorrect msbuild logic for creating relative paths
Commit migrated from https://github.com/dotnet/coreclr/commit/
dc0fca478639add871244ad106500ae0f5ff676c
Stephen Toub [Sun, 16 Aug 2015 12:18:11 +0000 (08:18 -0400)]
Merge pull request dotnet/coreclr#1399 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
57ae05a6c50090382b2054908abf28b82f474c8c
Alex Ghiondea [Sat, 15 Aug 2015 05:17:29 +0000 (22:17 -0700)]
The newly introduced method PopulateAllSystemTimeZones was copied from a method that had the SecuritySafeCritical attribute but it does not have the attribute itself.
This change adds the attribute to the new method.
[tfs-changeset: 1514941]
Commit migrated from https://github.com/dotnet/coreclr/commit/
96dfddc0491810f8fa6b928911caddeb888ff07e
Aditya Mandaleeka [Sat, 15 Aug 2015 02:15:16 +0000 (19:15 -0700)]
Merge pull request dotnet/coreclr#1398 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
2d024d472a600156af270765864a95b822bcf272
Aditya Mandaleeka [Fri, 14 Aug 2015 23:52:07 +0000 (16:52 -0700)]
Merge pull request dotnet/coreclr#1394 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
2142914db5b3ab1ba475a41c2869d51070a41203
Eric Erhardt [Fri, 14 Aug 2015 22:36:08 +0000 (17:36 -0500)]
Merge pull request dotnet/coreclr#1378 from eerhardt/master
Make use of TimeZoneInfo.CachedData on Linux.
Commit migrated from https://github.com/dotnet/coreclr/commit/
e26b96d4ad57801af4d52294a52a9386e3cb6ca6
Joel Hendrix [Fri, 14 Aug 2015 21:37:25 +0000 (14:37 -0700)]
More xplat binplace clean-up.
Fixed up proj files for CLR and FxCore partitions.
Moved xplat build to phase one coreclr builds.
[tfs-changeset: 1514852]
Commit migrated from https://github.com/dotnet/coreclr/commit/
05065ccfbf8fe4fc559ad024558b76afd85692d7
Eric Erhardt [Tue, 11 Aug 2015 22:19:55 +0000 (17:19 -0500)]
Make use of TimeZoneInfo.CachedData on Linux.
Fix https://github.com/dotnet/corefx/issues/2497.
Commit migrated from https://github.com/dotnet/coreclr/commit/
1aacfed602bb116042cb170e4790260714cd3b50
Joel Hendrix [Fri, 14 Aug 2015 18:39:35 +0000 (11:39 -0700)]
Consolidate enabling of xplat binary downloads into GetXPlatBinaries.targets.
Disable xplat build for SSV builds.
[tfs-changeset: 1514806]
Commit migrated from https://github.com/dotnet/coreclr/commit/
e43e64235477ad690cc7a2a957a7bc48d2c7e89c
Aditya Mandaleeka [Fri, 14 Aug 2015 18:35:36 +0000 (11:35 -0700)]
Merge pull request dotnet/coreclr#1393 from ktos/patch-1
Updated to new syntax of dnx run
Commit migrated from https://github.com/dotnet/coreclr/commit/
46bb3fa7c4469c70d07b3a7b43370fe630d4fb69
AlexGhiondea [Fri, 14 Aug 2015 18:31:17 +0000 (11:31 -0700)]
Merge pull request dotnet/coreclr#1390 from AlexGhiondea/fix_1386
Rebuild the resource file when the input file changes
Commit migrated from https://github.com/dotnet/coreclr/commit/
c63ad8dc41b8581efc31c836918dd6e97261a653
Aditya Mandaleeka [Fri, 14 Aug 2015 18:20:53 +0000 (11:20 -0700)]
Merge pull request dotnet/coreclr#1392 from hackcraft/typo_retrive_retrieve
Fix typo "retrive" and "retrieved" to "retrieve" and "retrieved"
Commit migrated from https://github.com/dotnet/coreclr/commit/
4add7616fae2fe83bde5884e11c761d33a20cffe
Marcin Badurowicz [Fri, 14 Aug 2015 17:50:35 +0000 (19:50 +0200)]
Updated to new syntax of dnx run
Syntax for running application changed from `dnx . run` into `dnx run` so last step in docs is always resulting in exception `System.InvalidOperationException: Unable to load application or execute command '.'.` thrown by dnx.
Commit migrated from https://github.com/dotnet/coreclr/commit/
bc1ba758603fda1dec46b005cd9211dbfd4834b0
Jon Hanna [Fri, 14 Aug 2015 17:28:00 +0000 (18:28 +0100)]
Fix typo "retrive" and "retrieved" to "retrieve" and "retrieved"
Mostly just in comments, test case and trace text, but the exception
thrown if you try to GetInterfaceMap on an array type has it in
the description.
Commit migrated from https://github.com/dotnet/coreclr/commit/
b07498db7d68ca9b899c243a108b5d086f6a3b32
Matt Mitchell [Fri, 14 Aug 2015 15:45:22 +0000 (08:45 -0700)]
Merge pull request dotnet/coreclr#1388 from ellismg/add-skip-mscorlib-to-build-sh
Add skipmscorlib option to build.sh
Commit migrated from https://github.com/dotnet/coreclr/commit/
7dfc09b70f883472680a5b94521bcd04b6f019c8
Alex Ghiondea [Fri, 14 Aug 2015 06:42:08 +0000 (23:42 -0700)]
Remove incorrect msbuild logic for creating relative paths
The logic was using Link to try and show mscorlib sources show up in VS.
Turns out the logic was both incorrect and not needed.
Commit migrated from https://github.com/dotnet/coreclr/commit/
3f9f3dc080dbc1670b8e8800ec86f9731f927aea
Alex Ghiondea [Fri, 14 Aug 2015 06:34:18 +0000 (23:34 -0700)]
Rebuild the resource file when the input file changes
When building mscorlib resources we are not taking into account the file
that contains the resource strings when deciding if we need to rebuild the
resources file.
Becasue of this, adding/modifying a resource string will not show up in the
build resource file until you delete the intermediate folder.
Commit migrated from https://github.com/dotnet/coreclr/commit/
87018327bb236a8b98063adb8bad709d07d80d9f
Jan Kotas [Fri, 14 Aug 2015 02:03:13 +0000 (19:03 -0700)]
Merge pull request dotnet/coreclr#1387 from stephentoub/named_primitives
Throw PlatformNotSupported for named sync primitives on Unix
Commit migrated from https://github.com/dotnet/coreclr/commit/
ed73a1c96d423ff65db91758176343b8d66a137d
Matt Ellis [Fri, 14 Aug 2015 00:21:56 +0000 (17:21 -0700)]
Merge pull request dotnet/coreclr#1385 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
3275a68f04e1ccf571ba2cef2813313a1c3260f0
Matt Ellis [Thu, 13 Aug 2015 21:29:00 +0000 (14:29 -0700)]
Add skipmscorlib option to build.sh
In perperation for supporting mscorlib.dll builds on *NIX, provide a
switch for the CI system to disable building mscorlib as part of the
build, since we pick up the cross compiled Linux version and our mono
seems to crash often in CI.
Once this is checked in we can start having the CI jobs pass this
switch without causing an error, then have a future commit which
enables mscorlib building key off it.
Commit migrated from https://github.com/dotnet/coreclr/commit/
0a23877633f40357605d6e4294ef7df7892996fa
stephentoub [Thu, 13 Aug 2015 23:28:17 +0000 (19:28 -0400)]
Throw PlatformNotSupported for named sync primitives on Unix
libcoreclr's synchronization primitives implementation currently supports names, but those names have process-wide rather than system-wide scope. This is very dangerous for most code that would want names, as they're typically used for cross-process synchronization, and as such the current behavior could lead to bad race conditions difficult to diagnose. Until a better solution is available, we will throw PlatformNotSupportedException when trying to create such named primitives.
Commit migrated from https://github.com/dotnet/coreclr/commit/
2b42725a493e2beb11f70af8c8777891d73b4276
Bryan Arant [Thu, 13 Aug 2015 20:21:22 +0000 (13:21 -0700)]
There was a testcase failing (Interop\WinRT\Exception\ManagedClientNativeServer\ExceptionTest.csproj).
The test checks that the HResult 0x8000000e maps to a System.InvalidOperationException.
What was happening: We returned a System.COMException with the message "A method was called at an unexpected time." (we're just constructing an exception based on an HR message).
What should be happening: We return a System.InvalidOperationException (i.e. we check against the exceptionKind maps for a specific HResult to map to an exception).
The point of failure is in the creation of the EEMessageException. When calling GetKindFromHR(...) we were inverting the boolean that uses the WinRT mappings.
Removing that inversion allows us to check the WinRT Exception Maps for exceptions. When I made this change, we correctly return the correct Exception.
Test coverage: I ran a full DDR, and the whole TOF (both against my build and against the newest build). All passed successfully (i.e. no additional failures).
[tfs-changeset: 1514327]
Commit migrated from https://github.com/dotnet/coreclr/commit/
16fc3005c085212f6e700a0df8ff7f36c1ea535b
Jan Vorlicek [Thu, 13 Aug 2015 19:13:48 +0000 (21:13 +0200)]
Merge pull request dotnet/coreclr#1384 from janvorli/fix-gc-during-exception-handling
Fix GC issues during exception handling on Unix
Commit migrated from https://github.com/dotnet/coreclr/commit/
6b8d992844994ac5e52344dd6f2eec2074790231
Aditya Mandaleeka [Thu, 13 Aug 2015 19:05:15 +0000 (12:05 -0700)]
Fix a section number in table of contents.
The "Primitive Types" link pointed to 2.9 rather than 2.9.1.
Commit migrated from https://github.com/dotnet/coreclr/commit/
87a6eb66f4b058c8a35c96edbce0e28644880b9f
Aditya Mandaleeka [Thu, 13 Aug 2015 19:00:53 +0000 (12:00 -0700)]
Merge pull request dotnet/coreclr#1137 from hadibrais/patch-1
Add Table of Contents to clr-code-guide.md
Commit migrated from https://github.com/dotnet/coreclr/commit/
4f0eea39b8a7d336489bcbe6dd552c7ca729f229
Jan Kotas [Thu, 13 Aug 2015 14:44:08 +0000 (07:44 -0700)]
Merge pull request dotnet/coreclr#1383 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
2e37fd0a43577b45d65b582e0765c93f3b8bad51
Jan Vorlicek [Thu, 13 Aug 2015 10:27:31 +0000 (12:27 +0200)]
Fix GC issues during exception handling on Unix
This change fixes two issues that happens in some cases when GC scans stack of
a thread that is handling exception at that moment.
First issue was caused by the fact that the stack walker wasn't modified to
take into account the difference in exception handling on Unix. When an exception
is thrown from a catch handler or finally block (a funclet )on Unix, part of the stack
is unwound immediatelly, while on Windows, the stack is not reclaimed until
the exception is fully handled.
The problem was caused by the fact that when GC happens in the funclet before the exception
is processed, but after a point where GC knows that the lifetime of locals in the caller frame
is over, it doesn't update the references in the caller frame for objects that it has relocated.
On Windows, this is detected just from walking the stack, since the funclet frame is still there
and the stack walker can then skip scanning the parent frame GC references.
On Linux, the funclet is not on stack anymore, so this case was not detected and GC attempted to
scan the stale references and crashed.
The fix was to detect that a frame was a caller to a funclet from the chain of previous exception
trackers that is fortunately preserved and the trackers hold the necessary information.
The second issue was more subtle. During interleaved exception handling, when we unwind a native
portion of the stack and switch back to unwinding a managed block of stack frames, we re-create
the exception tracker and carry over just a few members necessary to continue processing the
same exception. The way it was done was that we have first removed the current tracker from
the list of trackers of the current thread, then we have destroyed it, created a new one and
put it back to the front of the list.
The issue happened when GC started walking the stack of the thread in the small time slot when
the current tracker was removed from the list, but the re-created tracker was not added there yet.
Then the detection necessary for handling the previous issue didn't work and we got a crash.
The fix was to make the whole re-creation of the exception tracker atomic w.r.t. the GC.
Commit migrated from https://github.com/dotnet/coreclr/commit/
63653cf406ead63a79ae52920e050c385a8f2e37
Jan Kotas [Thu, 13 Aug 2015 02:44:29 +0000 (19:44 -0700)]
Merge pull request dotnet/coreclr#1382 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
02ec545c9b188bcbf21c0910ee538e572b9fcbf8
Alex Ghiondea [Thu, 13 Aug 2015 00:41:15 +0000 (17:41 -0700)]
We are incorrectly stripping away the Identity method from the EnumHelper type when building mscorlib.
[tfs-changeset: 1513902]
Commit migrated from https://github.com/dotnet/coreclr/commit/
21712a326afeef020f3de9103132cab6929c6f31
Aditya Mandaleeka [Wed, 12 Aug 2015 23:53:30 +0000 (16:53 -0700)]
Merge pull request dotnet/coreclr#1380 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
3f756ddc722655ed5d76032b0a98e4dc550c2019
Matt Ellis [Wed, 12 Aug 2015 23:11:43 +0000 (16:11 -0700)]
Build Toolbox\BinaryRewriting as part of the PK product group
We need this so we can get a signed build of BclRewriter.exe which is only produced by the offical build out of the ProjectK branch.
[tfs-changeset: 1513878]
Commit migrated from https://github.com/dotnet/coreclr/commit/
43a052cf5bdc001a38b991efe99613f808525ec9
Tarek Mahmoud Sayed [Wed, 12 Aug 2015 19:50:14 +0000 (12:50 -0700)]
Port the DateTime parser fix from the Desktop
This change is fixing the DateTime parser in cases of date/time strings for cultures which has the date and time separators are same. This happen with Norway, Serbia and Finland cultures
[tfs-changeset: 1513801]
Commit migrated from https://github.com/dotnet/coreclr/commit/
64451083d5bb7204aa6ea46f04c7d0faaf40a260
Matt Mitchell [Wed, 12 Aug 2015 15:34:31 +0000 (08:34 -0700)]
Merge pull request dotnet/coreclr#1329 from AndreyAkinshin/master
Fix a bug with disappeared cast to byte in numeric binary expressions
Commit migrated from https://github.com/dotnet/coreclr/commit/
42cf2d9a2a97a796a5a6c1080e56f15ee648234a
Andrey Akinshin [Mon, 3 Aug 2015 13:33:26 +0000 (16:33 +0300)]
Fix a bug with disappeared cast to byte in numeric binary expressions
Lowering::IndirsAreEquivalent doesn't check if the 2 indirections have the same type and because of that a RMW style instruction is generated instead of the expected
movzx rax, byte ptr [7FFA61024742h]
xor eax, 33
mov word ptr [7FFA61024742h], ax
This behavior was fixed by adding an additional check to IndirsAreEquivalent (implementation of the mikedn's approach: https://github.com/dotnet/coreclr/pull/1329#discussion_r36397171).
Fix dotnet/coreclr#1323.
Commit migrated from https://github.com/dotnet/coreclr/commit/
3bfbb9bca6698c9068e42a577613343f12f24898
Eric Erhardt [Tue, 11 Aug 2015 23:45:31 +0000 (18:45 -0500)]
Merge pull request dotnet/coreclr#1372 from eerhardt/master
Implement TimeZoneInfo.GetSystemTimeZones() on Linux
Commit migrated from https://github.com/dotnet/coreclr/commit/
467e441764ae6eafd9f03961ab08422d8b96c19e
Eric Erhardt [Fri, 7 Aug 2015 22:39:40 +0000 (17:39 -0500)]
Implement TimeZoneInfo.GetSystemTimeZones() on Linux
Implementing GetSystemTimeZones on Linux by reading
the zone.tab file on the machine, parsing out the
valid TimeZone IDs from it, and using those Ids to read
all the time zones on the machine.
Commit migrated from https://github.com/dotnet/coreclr/commit/
e746592bd1a5c00842d45451d4c4496cb4a4dc6a
Jan Kotas [Tue, 11 Aug 2015 19:07:06 +0000 (12:07 -0700)]
Merge pull request dotnet/coreclr#1377 from jkotas/timer
Delete unused System.Threading.Timer.dll dependencies
Commit migrated from https://github.com/dotnet/coreclr/commit/
8b7c4841787e7fb85284c4fb58be26950f526dfd
Jan Kotas [Tue, 11 Aug 2015 18:27:11 +0000 (11:27 -0700)]
Delete unused System.Threading.Timer.dll dependencies
Commit migrated from https://github.com/dotnet/coreclr/commit/
1931039db1bae87ab59bb48473ee1a93c87c2351
Jan Kotas [Tue, 11 Aug 2015 13:15:11 +0000 (06:15 -0700)]
Merge pull request dotnet/coreclr#1375 from jkotas/vs2015-fixes
Assorted fixes for VS2015 build breaks
Commit migrated from https://github.com/dotnet/coreclr/commit/
f24a985a6f6d1eb64d16df26eb43c6e9ddac4e48
Jan Kotas [Tue, 11 Aug 2015 05:40:58 +0000 (22:40 -0700)]
Disable debug info generation for test with very large method
Roslyn is hitting out of memory exception caused by internal PDB writer limitations (dotnet/roslyn/issues/3915)
Commit migrated from https://github.com/dotnet/coreclr/commit/
9d8fbc9c68d7f8b212d9137cc01b5d2f7ad18dd1
Jan Kotas [Tue, 11 Aug 2015 04:15:17 +0000 (21:15 -0700)]
Fix VS2015 test build breaks
Commit migrated from https://github.com/dotnet/coreclr/commit/
033649b7e0bfe9c4cdbad674f1faa2245aeb4cce
Jan Kotas [Tue, 11 Aug 2015 03:22:35 +0000 (20:22 -0700)]
Fix Windows SDK path for VS2015
Commit migrated from https://github.com/dotnet/coreclr/commit/
c22d6a57166f2e336b894731bb1fd8664f8f185a
Jan Kotas [Tue, 11 Aug 2015 03:14:16 +0000 (20:14 -0700)]
Fix path to test build log
Commit migrated from https://github.com/dotnet/coreclr/commit/
220265277aa627ab1b067496d423aca11863ccde
Eric Erhardt [Mon, 10 Aug 2015 21:55:26 +0000 (16:55 -0500)]
Merge pull request dotnet/coreclr#1352 from eerhardt/master
TimeZoneInfo parse v2 tzfile and create AdjustmentRules
Commit migrated from https://github.com/dotnet/coreclr/commit/
0930fefcb2adfa5745964f30237494ea32a87c69
Eric Erhardt [Mon, 3 Aug 2015 20:43:40 +0000 (15:43 -0500)]
TimeZoneInfo parse v2 tzfile and create AdjustmentRules
TimeZoneInfo on Linux needs to parse V2 tzfile information and
correctly create AdjustmentRule instances based on the tzfile
information.
To create AdjustmentRules correctly, I introduced a new flag on
AdjustmentRule - NoDaylightTransitions, which means the adjustment
is fixed for the whole time the rule is in effect. This allows
us to create an AdjustmentRule for each time the offset changed
in a time zone (whether the change was for Daylight Savings or
for some other reason). I also needed to relax the rule that
DateStart and DateEnd needed to be DateTimeKind.Unspecified.
Instead, when we create NoDaylightTransitions adjustment rules
in Linux, we use DateStart and DateEnd to be UTC times the offset
transitioned.
Fix dotnet/coreclr#2465.
Commit migrated from https://github.com/dotnet/coreclr/commit/
776381d2d7d7760b8f4d78174d7b68914824ca88
Jan Kotas [Mon, 10 Aug 2015 18:21:09 +0000 (11:21 -0700)]
Merge pull request dotnet/coreclr#1370 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
c8265f00f53adef379531f6fc276a2038ff0cce1
Jan Kotas [Mon, 10 Aug 2015 17:02:28 +0000 (10:02 -0700)]
Implement /disassemble nidump option for readytorun images
[tfs-changeset: 1512604]
Commit migrated from https://github.com/dotnet/coreclr/commit/
85cfcef249fdf2c705c2ddc88aed33222399d324
Jan Kotas [Mon, 10 Aug 2015 16:32:20 +0000 (09:32 -0700)]
Merge pull request dotnet/coreclr#1369 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
05ece67e99da766b31a22b1ed7d92435be0aea16
Jan Kotas [Mon, 10 Aug 2015 15:39:00 +0000 (08:39 -0700)]
Fix build break on desktop
[tfs-changeset: 1512590]
Commit migrated from https://github.com/dotnet/coreclr/commit/
9196c314a2c80855bc6ffba33f086c2f75321b02
Jan Kotas [Sat, 8 Aug 2015 07:33:17 +0000 (00:33 -0700)]
Merge pull request dotnet/coreclr#1366 from sokket/timers
Removing old System.Threading.Timer tests and moving to CoreFX
Commit migrated from https://github.com/dotnet/coreclr/commit/
c4be65bb2b7c4c16612741e77a2a16380027a5d0
Jonathan Miller [Sat, 8 Aug 2015 00:50:24 +0000 (17:50 -0700)]
Removing old System.Threading.Timer tests with the corresponding
move to CoreFX via CoreFX PR 2681
Commit migrated from https://github.com/dotnet/coreclr/commit/
4822106981b40a33febf3c0f3f4450cb40126c04
Jan Kotas [Fri, 7 Aug 2015 23:48:45 +0000 (16:48 -0700)]
Merge pull request dotnet/coreclr#1362 from mikem8361/exports1
Add GetCurrentThreadId to the Linux/Unix exports from coreclr.
Commit migrated from https://github.com/dotnet/coreclr/commit/
0a894f8dc9dfe2af1d3deffab99882aae3a4f5fe
Jan Kotas [Fri, 7 Aug 2015 23:39:04 +0000 (16:39 -0700)]
Merge pull request dotnet/coreclr#1365 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
1efc193e99489fbd4370842dacd20e66a013099c
Matt Mitchell [Fri, 7 Aug 2015 23:27:22 +0000 (16:27 -0700)]
Merge pull request dotnet/coreclr#1363 from mmitche/fix-opensuse
Remove llvm-ranlib dependency
Commit migrated from https://github.com/dotnet/coreclr/commit/
8b1c856219e01e7d283bb6ececffa2833b6a49bb
Jan Kotas [Fri, 7 Aug 2015 23:26:26 +0000 (16:26 -0700)]
Fix BPMD SOS command for ReadyToRun
DAC was not getting notified about new method code
[tfs-changeset: 1512178]
Commit migrated from https://github.com/dotnet/coreclr/commit/
460421e9491cd026ed8954589d9b2f900efa1810
Matt Mitchell [Fri, 7 Aug 2015 21:50:34 +0000 (14:50 -0700)]
Remove llvm-ranlib dependency
Appears to be unused, and not available on openSUSE.
Commit migrated from https://github.com/dotnet/coreclr/commit/
218c3b43119d332a4e8da092495eebb8c5130769
Mike McLaughlin [Fri, 7 Aug 2015 21:43:27 +0000 (14:43 -0700)]
Add GetCurrentThreadId to the Linux/Unix exports from coreclr.
Commit migrated from https://github.com/dotnet/coreclr/commit/
5047b2884db482bd8dd0abc61ce47f8a0b757271
Koundinya Veluri [Fri, 7 Aug 2015 20:30:02 +0000 (13:30 -0700)]
Merge pull request dotnet/coreclr#1324 from kouvel/kouvel-SetSignalCountAssertFix-1318
Fix PAL signal count upper limit issues.
Commit migrated from https://github.com/dotnet/coreclr/commit/
82537de417d2b5dc019de473720bb09d026186a2
Koundinya Veluri [Fri, 31 Jul 2015 09:20:50 +0000 (02:20 -0700)]
Fix PAL signal count upper limit issues.
- Fix assert in SetSignalCount to allow int32 max as a valid value.
- Change ISynchStateController signal count functions to use LONG
instead of DWORD to match the storage type for consistency.
- In ReleaseSemaphoreInternal, handle overflow of (oldCount +
releaseCount) to return failure. Updated PAL semaphore tests to catch
this case.
Fix dotnet/coreclr#1318
Commit migrated from https://github.com/dotnet/coreclr/commit/
fabb7b6b9515b83309cdac86443ae011963693c4
Jan Kotas [Fri, 7 Aug 2015 06:06:45 +0000 (23:06 -0700)]
Merge pull request dotnet/coreclr#1254 from James-Ko/patch-1
mscorlib: Use Array.Empty where possible
Commit migrated from https://github.com/dotnet/coreclr/commit/
f618412e9fc6ff82416943c7c3e8b0199582106d
James Ko [Fri, 7 Aug 2015 05:56:33 +0000 (01:56 -0400)]
Use Array.Empty where possible
Commit migrated from https://github.com/dotnet/coreclr/commit/
861d2c37663cb763f9d98ca47273bd64a9c0853b
Jan Kotas [Thu, 6 Aug 2015 17:43:57 +0000 (10:43 -0700)]
Merge pull request dotnet/coreclr#1354 from jkotas/vs2015-rtm
Fix build breaks on VS2015 RTM
Commit migrated from https://github.com/dotnet/coreclr/commit/
ae1db21bc5420e0b03feb57de87d7e35dd2396dc
Jan Kotas [Thu, 6 Aug 2015 17:40:33 +0000 (10:40 -0700)]
Merge pull request dotnet/coreclr#1357 from benpye/arm64-release-fix
Fix ARM64 compile break
Commit migrated from https://github.com/dotnet/coreclr/commit/
da4fac24ae3e88a1bfa9579a5a4f55d8587c2446
Ben Pye [Thu, 6 Aug 2015 13:10:31 +0000 (14:10 +0100)]
Fix ARM64 compile break
Commit migrated from https://github.com/dotnet/coreclr/commit/
9bd3f3f65170ce673be657b1b2cb383c701aacfb
Matt Mitchell [Wed, 5 Aug 2015 23:59:34 +0000 (16:59 -0700)]
Merge pull request dotnet/coreclr#1343 from benpye/cross-compilation
Add cross compilation support for ARM and ARM64
Commit migrated from https://github.com/dotnet/coreclr/commit/
f61a9bf5fc676bd9384458fad8433391cc0f0a9b
Jan Kotas [Wed, 5 Aug 2015 23:00:00 +0000 (16:00 -0700)]
Fix build breaks on VS2015 RTM
Most of the changes are about mismatches between printf formatting strings and argument types.
Fix dotnet/coreclr#1294.
Commit migrated from https://github.com/dotnet/coreclr/commit/
e222536b41729093647689e7507e944fed490d08
Jan Kotas [Wed, 5 Aug 2015 23:03:07 +0000 (16:03 -0700)]
Merge pull request dotnet/coreclr#1355 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
f86d9bd03c21d07e934e5bde1eb54dfecececced
Joel Hendrix [Wed, 5 Aug 2015 22:51:05 +0000 (15:51 -0700)]
Fix bad msbuild properties so that conditions behave as expected.
[tfs-changeset: 1511107]
Commit migrated from https://github.com/dotnet/coreclr/commit/
e3ff23223ecd2d1970b54704c24a4471710b2b6f
Wes Haggard [Wed, 5 Aug 2015 22:43:33 +0000 (15:43 -0700)]
Merge pull request dotnet/coreclr#1291 from justinvp/streamreader_preamble
StreamReader: Use a cached byte[] preamble for Encoding.UTF8
Commit migrated from https://github.com/dotnet/coreclr/commit/
db8ca2f23fc8865f1a3b6d7c861db448c977b02f
Jan Kotas [Wed, 5 Aug 2015 17:45:17 +0000 (10:45 -0700)]
Merge pull request dotnet/coreclr#1349 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
c32d22b11658f006b19b3094984edefeedf03215
Jan Kotas [Wed, 5 Aug 2015 16:30:44 +0000 (09:30 -0700)]
Merge pull request dotnet/coreclr#1346 from fffej/master
Fix links that are now in /coding-guidelines
Commit migrated from https://github.com/dotnet/coreclr/commit/
9bfa6286073dd3c4db5e66ab575727690863f23c
Jan Kotas [Wed, 5 Aug 2015 16:30:08 +0000 (09:30 -0700)]
Merge pull request dotnet/coreclr#1348 from ganeshran/api-mswin-dll-missing
Adding Fix for the api-win-ms dll missing error in documentation.
Commit migrated from https://github.com/dotnet/coreclr/commit/
81e845713b51f97bbf5b2ceb5d07c9c49fefc969
Joel Hendrix [Wed, 5 Aug 2015 16:19:01 +0000 (09:19 -0700)]
Fix for build issue dotnet/coreclr#764084, remove PK product group (it shouldn't have been added to begin with).
[tfs-changeset: 1510862]
Commit migrated from https://github.com/dotnet/coreclr/commit/
00453a1e5707e8e56d595ede07a43f2cc6012dec
Ganesh Ranganathan [Wed, 5 Aug 2015 11:30:56 +0000 (17:00 +0530)]
Workaround for the api-ms-win-* dll missing error
This change adds a workaround for a known issue of api-ms-win-* dll missing error while debugging the coreclr solution.
Commit migrated from https://github.com/dotnet/coreclr/commit/
67a3ea9b740001cacfa66cf83e5da93362b0959a
Jeff Foster [Wed, 5 Aug 2015 14:07:32 +0000 (15:07 +0100)]
fix links
Commit migrated from https://github.com/dotnet/coreclr/commit/
aba39f839336bcd0a25c11ce97eea59ba58bb058
Jan Kotas [Wed, 5 Aug 2015 12:54:28 +0000 (05:54 -0700)]
Merge pull request dotnet/coreclr#1336 from tony/freebsd-lldb
Update FreeBSD installation docs for LLDB support
Commit migrated from https://github.com/dotnet/coreclr/commit/
531cb258c605723b2bc7cf825eee4a3d8c8f36cb
Jan Kotas [Wed, 5 Aug 2015 12:53:29 +0000 (05:53 -0700)]
Merge pull request dotnet/coreclr#1347 from fffej/teh-to-the
Fix typos of teh
Commit migrated from https://github.com/dotnet/coreclr/commit/
f665f226d521b1e0a2e036f8b0be0b59bef59fa5
Jeff Foster [Wed, 5 Aug 2015 11:01:51 +0000 (12:01 +0100)]
Fix typos of teh
Commit migrated from https://github.com/dotnet/coreclr/commit/
715b5b262fb4c391bbee830adefbf625e8123e82
Tony Narlock [Mon, 3 Aug 2015 20:41:58 +0000 (15:41 -0500)]
Update FreeBSD installation docs to the new devel/llvm37 package.
- Instructions updated for building with llvm37
- Remove freebsd-install-lldb.sh script
- Add syntax-specific highlighting to code blocks
- Create and link to note on other Clang / LLDB versions
Commit migrated from https://github.com/dotnet/coreclr/commit/
82a59ab92477689215fcc2822d8a298d1b6ff569
Jan Kotas [Wed, 5 Aug 2015 03:15:08 +0000 (20:15 -0700)]
Pick up security cookie definition from CRT headers
[tfs-changeset: 1510564]
Commit migrated from https://github.com/dotnet/coreclr/commit/
8be07672ed28ab632bf9a525f93f0b9f75b5c969
Ben Pye [Wed, 5 Aug 2015 01:34:04 +0000 (02:34 +0100)]
Improve build-rootfs script.
Commit migrated from https://github.com/dotnet/coreclr/commit/
3587984322e62e7035234ad72a2d22797e10fd9a
Joel Hendrix [Tue, 4 Aug 2015 21:54:40 +0000 (14:54 -0700)]
Title:
Binplace xplat binaries during official builds
Change Description:
This is the initial implementation of having our official devdiv razzle builds binplace non-Windows xplat binaries.
For now xplat binaries are binplaced only during official builds; this can be overridden by specifying /p:GetAllXPlatBinaries=true. Binplacing is limited to CoreClr builds on amd64 as that's all we build for xplat.
xplat binaries are pulled directly from Azure; if this becomes problematic we can look at having an internal cache.
Binaries are pulled from Azure using a checked in copy of azcopy.exe. For now I have embedded the source key; this will be removed in the future in favor of using a shared access signature.
At present the build number for the xplat bits is fixed; this will be removed in a future change.
The binaries are in zip format. Once downloaded the contents are extracted in a directory under %_nttree% named after the platform; this puts them with the other xplat bits we build on Windows.
[tfs-changeset: 1510395]
Commit migrated from https://github.com/dotnet/coreclr/commit/
47152b339203fe87070b45ee6f1b465ac2dc4f21
Ben Pye [Tue, 4 Aug 2015 21:13:48 +0000 (22:13 +0100)]
Replace multiple .gitmirror files with .gitmirrorall .
Commit migrated from https://github.com/dotnet/coreclr/commit/
debf4830d417ea7846625028eea355a0aacd4f3c
Ben Pye [Tue, 4 Aug 2015 20:04:35 +0000 (21:04 +0100)]
Add missing packages in documentation.
Commit migrated from https://github.com/dotnet/coreclr/commit/
d2e8255470459f1b04214da7e71d7fe57ba2c3cb
Jan Kotas [Tue, 4 Aug 2015 19:48:58 +0000 (12:48 -0700)]
Merge pull request dotnet/coreclr#1342 from jkotas/early-mscorlib-references
Fix crash when using OpenCover with mscorlib
Commit migrated from https://github.com/dotnet/coreclr/commit/
8bcc2888e7d7805beb903b2c2f05214ce5ddac02
Mike McLaughlin [Tue, 4 Aug 2015 19:01:04 +0000 (12:01 -0700)]
Merge pull request dotnet/coreclr#1327 from mikem8361/settid
Add work around a bug in lldb on a core dump
Commit migrated from https://github.com/dotnet/coreclr/commit/
9fd41c57e01a26cae2451336d22231854988e1e0
Ben Pye [Tue, 4 Aug 2015 17:14:22 +0000 (18:14 +0100)]
Remove comments from tryrun cmake files
Commit migrated from https://github.com/dotnet/coreclr/commit/
7c76b97c25853e15b07fadf7ac7171623386ea85
Jan Kotas [Tue, 4 Aug 2015 17:12:18 +0000 (10:12 -0700)]
Fix crash when using OpenCover with mscorlib
OpenCover injects self referencing assembly refs to mscorlib. The fix avoids crash when the assembly loader tries to resolve them early during startup.
Fix dotnet/coreclr#1340.
Commit migrated from https://github.com/dotnet/coreclr/commit/
dc766eb430fecade75c8cbdd9ce853fa9c368860
Ben Pye [Tue, 4 Aug 2015 17:10:46 +0000 (18:10 +0100)]
Add cross compilation support for ARM and ARM64.
Commit migrated from https://github.com/dotnet/coreclr/commit/
265435623d576d8fb690de658e5b744916e77d65
Jan Kotas [Tue, 4 Aug 2015 15:27:08 +0000 (08:27 -0700)]
Merge pull request dotnet/coreclr#1326 from ganeshran/MovingPackageFolderCreationSection
Moving Folder creation section above Nuget.exe Download
Commit migrated from https://github.com/dotnet/coreclr/commit/
885c6f8ed0c545f24c8d730fe261cbbcc2bc8b52
Ganesh Ranganathan [Sat, 1 Aug 2015 09:33:04 +0000 (15:03 +0530)]
Moving Folder creation section above Nuget.exe Download
The Download Nuget.exe section assumes that the ~/coreclr-demo/packages folder already exists. However the command to create it is given in the section after that. In other platform instructions file the sequence appears correctly
And Removing the phrase 'Place all the Nuget packages together' as per PR comment
Commit migrated from https://github.com/dotnet/coreclr/commit/
c8f842c97f68b45694bd1015272ee2229caccc70
Jan Kotas [Tue, 4 Aug 2015 14:18:09 +0000 (07:18 -0700)]
Merge pull request dotnet/coreclr#1325 from mikedn/winx86
Enable the Windows x86 build
Commit migrated from https://github.com/dotnet/coreclr/commit/
fe584905ee0b48a7cb783877f975ff96f966e768
Mike Danes [Sat, 1 Aug 2015 08:04:16 +0000 (11:04 +0300)]
Enable the Windows x86 build
This allows building the Windows x86 version of CoreCLR by using "x86" for the BuildArch parameter of build.cmd. Note that CMAKE_SYSTEM_PROCESSOR is no longer used in Windows builds to set IS_64BIT_BUILD.
This change is enough to get CoreCLR to build but more changes are required for it to actually run correctly. In particular, the JIT compiler support for x86 is pretty limited at this point.
Commit migrated from https://github.com/dotnet/coreclr/commit/
8bb8ed66e4e54270e18e68c37515f21730c82cea
Jan Kotas [Tue, 4 Aug 2015 04:49:18 +0000 (21:49 -0700)]
Merge pull request dotnet/coreclr#1339 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
fd1fbb93e8435c371dea39f16c0cf6d030b8c7dd
Jan Kotas [Tue, 4 Aug 2015 03:27:34 +0000 (20:27 -0700)]
Allow x86 version of prebuilt mscoree.h to be used for all architectures
[tfs-changeset: 1509924]
Commit migrated from https://github.com/dotnet/coreclr/commit/
f177651a2f7be7ec1d4eac64373b16f05a4fdc38
Jan Kotas [Tue, 4 Aug 2015 03:20:57 +0000 (20:20 -0700)]
Merge pull request dotnet/coreclr#1332 from benpye/arm-regression-fix
Fix ARM build regression
Commit migrated from https://github.com/dotnet/coreclr/commit/
59aab2e333dccbb1ec5c2c7bc6256fdd7e025939
Jan Kotas [Tue, 4 Aug 2015 03:15:56 +0000 (20:15 -0700)]
Merge pull request dotnet/coreclr#1338 from dotnet-bot/from-tfs
Merge changes from TFS
Commit migrated from https://github.com/dotnet/coreclr/commit/
78af4e81d57aa8efe14a7411bc8142d983cba580
Jan Kotas [Mon, 3 Aug 2015 23:22:44 +0000 (16:22 -0700)]
Fix build break on Windows ARM
[tfs-changeset: 1509827]
Commit migrated from https://github.com/dotnet/coreclr/commit/
d44323e3e187867af0bf26c06b71d6f8398ee791
Jan Kotas [Mon, 3 Aug 2015 23:14:58 +0000 (16:14 -0700)]
Merge pull request dotnet/coreclr#1337 from dotnet/revert-1334-from-tfs
Revert "Merge changes from TFS"
Commit migrated from https://github.com/dotnet/coreclr/commit/
bbae5862c0c5449172de00534de9e716981da954