AlexGhiondea [Wed, 19 Oct 2016 20:24:40 +0000 (13:24 -0700)]
Remove the UseLatestBehaviorWhenTFMNotSpecified compat switch (#5708)
* Default to latest behavior when a TFM is not specified
Instead of requiring that a compatibility switch is set in order to get the
latest behavior for all AppContext switches that are based on TFM, have that
behavior on by default.
* Remove the UseLatestBehaviorWhenTFMNotSpecified compat switch
James Ko [Wed, 19 Oct 2016 20:24:01 +0000 (16:24 -0400)]
Better Tuple hashing, avoid boxing in Equals/GetHashCode (#6767)
Bruce Forstall [Wed, 19 Oct 2016 20:14:54 +0000 (13:14 -0700)]
Merge pull request #7612 from BruceForstall/ELT
Enable Enter/Leave/Tailcall hooks for RyuJIT/x86
Steve Desmond [Wed, 19 Oct 2016 19:33:49 +0000 (15:33 -0400)]
cross/build-rootfs.sh: fix default UbuntuPackages for default BuildArch (#7644)
* better default UbuntuPackages for default BuildArch
* Remove multiple sets of _UbuntuPackages to default
Tanner Gooding [Wed, 19 Oct 2016 19:15:21 +0000 (12:15 -0700)]
Updating the new `System.MathF` calls which already existed in `System.Math` to call the `System.Math` implementation. (#7721)
* Updating the new `System.MathF` calls which already existed in `System.Math` to call the `System.Math` implementation.
* Removing the FCALL entry for MathF.Abs
Pat Gavlin [Wed, 19 Oct 2016 18:23:10 +0000 (11:23 -0700)]
Merge pull request #7708 from pgavlin/StackParamUntracked
Always treat incoming on-stack parameters as GC-untracked.
Jan Kotas [Wed, 19 Oct 2016 18:17:40 +0000 (11:17 -0700)]
Merge pull request #7718 from dotnet-bot/from-tfs
Merge changes from TFS
Bruce Forstall [Fri, 14 Oct 2016 01:10:33 +0000 (18:10 -0700)]
Enable Enter/Leave/Tailcall hooks for RyuJIT/x86
Gaurav Khanna [Wed, 19 Oct 2016 16:35:54 +0000 (09:35 -0700)]
Merge pull request #7714 from gkhanna79/CleanupArm32
Cleanup arm32
Stephen Toub [Wed, 19 Oct 2016 12:27:47 +0000 (08:27 -0400)]
Merge pull request #7709 from wtgodbe/publishProj
Only build TargetingPack when building on Windows
Matt Ellis [Wed, 19 Oct 2016 08:42:45 +0000 (01:42 -0700)]
Support "offline" initializtion of Tools (#7715)
This change allows init-tools to function in an "offline" mode where
tools are picked up from standalone folders. Specifically, it introduces
support for two new environment variables:
- DOTNET_TOOLSET_DIR
- BUILD_TOOLS_TOOLSET_DIR
If either is set, instead of downloading toolsets, we copy an already
existing one from the folder. The TOOLSET_DIR is a folder with sub
directories for every version of the tool in question.
For buildtools, we expect a published toolset (sans the "dotnetcli"
folder) not just a set of nuget packages (i.e. the layout of Tools/
after running ./init-tools.sh in "online" mode).
The above varibles are useful for situations where we want to carry
multiple toolsets with us, but are less helpful for places where a
developer has produced their own toolset by hand (since the resulting
folder structure contains extra version information). For these cases,
I've added
- DOTNET_TOOL_DIR
- BUILD_TOOLS_TOOL_DIR
Which work like the above but don't require the nested folder structure.
Jan Vorlicek [Wed, 19 Oct 2016 06:43:29 +0000 (08:43 +0200)]
Fix passing struct with four floats in registers via reflection (#7716)
This change fixes a bug in the code that copies a struct into the transition
frame. When it contains four floats, the first two are put to the right place,
but the following two are placed to an address that's offset by 8 instead of
by 16.
It also adds regression test for this problem as Pri 1 test.
Jan Kotas [Wed, 19 Oct 2016 06:18:24 +0000 (23:18 -0700)]
Fix build break
[tfs-changeset: 1634099]
Jan Kotas [Wed, 19 Oct 2016 05:14:41 +0000 (22:14 -0700)]
Merge pull request #7712 from dotnet/revert-7494-CoreLib
Revert "Delete mscorlib from CoreCLR targeting pack"
Gaurav Khanna [Wed, 19 Oct 2016 03:28:12 +0000 (20:28 -0700)]
Cleanup external dependency details
Rahul Kumar [Wed, 19 Oct 2016 03:00:14 +0000 (20:00 -0700)]
Merge pull request #7681 from rahku/_appdomain
Expose apis in System.Reflection.Assembly
Tarek Mahmoud Sayed [Wed, 19 Oct 2016 01:28:36 +0000 (18:28 -0700)]
Enable DateTimeFormatInfo netstandard 1.7 APIs on Linux (#7713)
* Enable DateTimeFormatInfo netstandard 1.7 APIs on Linux
* Remove un-necessary return
Rahul Kumar [Mon, 17 Oct 2016 23:52:57 +0000 (16:52 -0700)]
Expose apis in System.Reflection.Assembly
Gaurav Khanna [Tue, 18 Oct 2016 22:04:48 +0000 (15:04 -0700)]
Cleanup External Dependency references
Gaurav Khanna [Tue, 18 Oct 2016 22:00:32 +0000 (15:00 -0700)]
Remove Arm32 dependency from closed build
William Godbe [Tue, 18 Oct 2016 21:27:25 +0000 (14:27 -0700)]
Revert "Delete mscorlib from CoreCLR targeting pack"
William Godbe [Tue, 18 Oct 2016 21:11:16 +0000 (14:11 -0700)]
Merge pull request #7700 from wtgodbe/1.1
Upgrade build-against-packages frameworks to NetStandard1.1
wtgodbe [Tue, 18 Oct 2016 20:40:35 +0000 (13:40 -0700)]
Only publish TargetingPack when building on Windows
Vance Morrison [Tue, 18 Oct 2016 20:17:28 +0000 (13:17 -0700)]
Fix Link (#7699)
Carol Eidt [Tue, 18 Oct 2016 20:08:33 +0000 (13:08 -0700)]
Merge pull request #7698 from CarolEidt/Fix278371
Allow non-constant size for rep stos InitBlk on x86
Pat Gavlin [Tue, 18 Oct 2016 20:04:28 +0000 (13:04 -0700)]
Always treat incoming on-stack parameters as GC-untracked.
Incoming parameters that are passed on the stack are never reported as
tracked to the GC, but `lvaIsGCTracked` (which is used to determine
whether or not to report liveness for a lclVar's stack slot) still
returned true if the corresponding lclVar was tracked. This caused
problems on x86 when dealing with incoming GC stack parameters in ESP
frames: in this case, writes to a GC stack parameter could incorrectly
change the liveness for a lclVar at the same offset from ESP as the
parameter's offset from EBP.
Fixes #7696.
Rahul Kumar [Tue, 18 Oct 2016 20:00:52 +0000 (13:00 -0700)]
Merge pull request #7701 from rahku/arm64fixes
_isnanf is not defined for arm64 use isnan instead
Rahul Kumar [Tue, 18 Oct 2016 18:58:20 +0000 (11:58 -0700)]
_isnanf is not defined for arm64 use isnan instead
wtgodbe [Tue, 18 Oct 2016 18:49:19 +0000 (11:49 -0700)]
Upgrade build-against-packages dependencies to NetStandard1.1
Carol Eidt [Tue, 18 Oct 2016 15:52:38 +0000 (08:52 -0700)]
Allow non-constant size for rep stos InitBlk on x86
Fixes DevDiv VSO bug 278371, and adds a test case.
Sivarv [Tue, 18 Oct 2016 17:18:25 +0000 (10:18 -0700)]
Merge pull request #7683 from sivarv/VectorByteFix
Vector<T>.ctor(T val) is not recognized for ubyte/byte/short/ushort when the arg is a local of small int type (e.g. method args).
Evgeny Pavlov [Tue, 18 Oct 2016 17:17:45 +0000 (20:17 +0300)]
Fix issue #7470 (Regression with enabled GDB JIT interface) (#7688)
Tanner Gooding [Tue, 18 Oct 2016 09:56:53 +0000 (02:56 -0700)]
Adding single-precision math functions. (#5492)
* Adding single-precision math functions to floatsingle
* Adding single-precision math functions to the PAL layer.
* Adding single-precision math tests to the PAL layer.
* Adding single-precision math functions to mscorlib.
* Adding single-precision math function support to the vm.
* Updating floatsingle.cpp to define a _isnanf macro for Windows ARM.
Eric Mellino [Tue, 18 Oct 2016 04:48:18 +0000 (21:48 -0700)]
Merge pull request #7684 from mellinoe/fix-alpine-pgks
Fix placeholder pdb file path in alpine nuget packages
Jan Kotas [Tue, 18 Oct 2016 04:40:45 +0000 (21:40 -0700)]
Merge pull request #7648 from jkotas/fix-docs
Update instructions to use local dotnet tool build
Alex Perovich [Tue, 18 Oct 2016 03:55:55 +0000 (20:55 -0700)]
Add missing Arg_BadDecimal resource to corelib (#7673)
Fixes #7671
Pat Gavlin [Tue, 18 Oct 2016 03:18:29 +0000 (20:18 -0700)]
Merge pull request #7676 from pgavlin/EmitKillGCRefRRWSH
Update GC info when emitting IF_RRW_SHF.
Eric Mellino [Tue, 18 Oct 2016 02:46:50 +0000 (02:46 +0000)]
Fix placeholder pdb file path in alpine nuget packages
Jan Kotas [Tue, 18 Oct 2016 01:29:03 +0000 (18:29 -0700)]
Include project.json template in the instructions
Pat Gavlin [Tue, 18 Oct 2016 02:05:14 +0000 (19:05 -0700)]
Merge pull request #7608 from pgavlin/MoveGSCookieCheck
Generate GS cookie checks before consuming call args.
Jan Kotas [Tue, 18 Oct 2016 01:53:39 +0000 (18:53 -0700)]
Merge pull request #7682 from dotnet-bot/from-tfs
Merge changes from TFS
Jan Vorlicek [Tue, 18 Oct 2016 01:53:27 +0000 (03:53 +0200)]
Fix memcpy undef (#7675)
This change fixes a memcpy #undef in the palinternal.h. It was undefed only for
non-debug builds, but it needs to be undefed for debug build as well. The non-debug
undef covers the case where memcpy is defined as DUMMY_memcpy, but doesn't cover
the debug case where memcpy is defined as PAL_memcpy.
Jan Kotas [Mon, 17 Oct 2016 23:27:08 +0000 (16:27 -0700)]
Change the name buildtools semaphore temporarily
Jan Kotas [Mon, 17 Oct 2016 03:32:46 +0000 (20:32 -0700)]
Update instructions to use local dotnet tool build
sivarv [Tue, 18 Oct 2016 00:20:30 +0000 (17:20 -0700)]
Vector<T>.ctor(T val) is not recognized for ubyte/byte/short/ushort
when the arg is a local of small int type (e.g. method args).
William Godbe [Mon, 17 Oct 2016 23:55:35 +0000 (16:55 -0700)]
Merge pull request #7628 from wtgodbe/HelixFinal
Build tests against packages & produce Core_Root for arbitrary OS
Koundinya Veluri [Mon, 17 Oct 2016 23:52:38 +0000 (16:52 -0700)]
Merge pull request #7667 from kouvel/ApiThreadCleanup
Expose RuntimeThread.Yield, fix warning
Rama Krishnan Raghupathy [Mon, 17 Oct 2016 23:36:01 +0000 (16:36 -0700)]
Adding SafeSerializationEventArgs to netstandard2.0
[tfs-changeset: 1633663]
Pat Gavlin [Thu, 13 Oct 2016 23:59:28 +0000 (16:59 -0700)]
Generate GS cookie checks before consuming call args.
This is necessary in order to correctly calculate the liveness of the
call arguments. Generating this check after consuming the arguments
causes errors in the GC info s.t. GC ref arguments are not considered
live past the call instruction: instead, they are considered dead
before the call instruction.
Matthew Parkinson [Mon, 17 Oct 2016 22:56:50 +0000 (23:56 +0100)]
Fixing PAL_TRY use in BOTR (#7658)
In the Exceptions Section it gives an example use of `PAL_TRY`,
but the parameters to the `PAL_TRY` need to be passed as an argument,
and cannot be implicit. This commit brings the change inline with
the programming model.
Tarek Mahmoud Sayed [Mon, 17 Oct 2016 22:44:36 +0000 (15:44 -0700)]
Enable NumberFormatInfo netstandard 1.7 APIs (#7659)
* Enable NumberFormatInfo netstandard 1.7 APIs
* Remove ComVisible attributes
* Remove more ComVisible attributes
Jan Kotas [Mon, 17 Oct 2016 22:36:34 +0000 (15:36 -0700)]
Merge pull request #7657 from dotnet-bot/from-tfs
Merge changes from TFS
Pat Gavlin [Mon, 17 Oct 2016 22:26:53 +0000 (15:26 -0700)]
Update GC info when emitting IF_RRW_SHF.
Instructions with this format should never produce a GC reference, and
should kill any GC reference that was in the destination register.
This situation can arise with IR such as the following:
t1347 = &lclFld byref V00 loc0 [+8] Fseq[m_b] REG ecx
/--* t1347 byref
* st.lclVar int V271 tmp270 d:3 ecx REG ecx RV
t8942 = lclVar int V271 tmp270 ecx REG ecx RV
t8937 = const int 0 reuse reg val REG eax RV
/--* t8942 int
+--* t8937 int
t8943 = * gt_long long REG NA
t8939 = const int 4 REG NA
/--* t8943 long
+--* t8939 int
t8944 = * <<Hi int REG eax
t6676 = lclVar int V271 tmp270 u:3 ecx (last use) REG ecx RV $6b6
t8940 = const int 4 REG NA
/--* t6676 int
+--* t8940 int
t8941 = * << int REG ecx
For this IR, we generate the following x86 assembly:
IN04b3: 001218 8D4DE8 lea ecx, bword ptr [ebp-18H]
IN04b4: 00121B
0FA4C804 shld eax, ecx, 4
IN04b5: 00121F C1E104 shl ecx, 4
Where the `lea` corresponds to the `&lclFld` node, the `shld`
corresponds to the `<<Hi` node, and the `shl` corresponds to the `<<`
node. Because the `&lclFld` node is typed as a byref, the `lea`
instruction marks `ecx` as a byref register. Normally, the `st.lclVar`
would update the gc-ness of its destination, but in this case it is
elided because its source register matches its destination register. As
a result, `ecx` is still considered to contain a byref value at the
point of the `shl`.
It is very likely that it is also a bug that the elided `st.lclVar` does
not udpate the gc-ness of its destination, though it remains to be seen
whether or not this can cause SBCG in other cases.
The typing of the `&lclFld` node as a byref is also questionable, as
these nodes are guaranteed to point to the stack (and are therefore
never heap references). This typing is conservatively correct, however,
and AFAICT only causes us to over-report registers or stack slots in the
generated GC info.
Bruce Forstall [Mon, 17 Oct 2016 22:25:15 +0000 (15:25 -0700)]
Merge pull request #6679 from parjong/fix/issue_6569
Revises isSingleFloat32Struct
Pat Gavlin [Mon, 17 Oct 2016 22:10:06 +0000 (15:10 -0700)]
Merge pull request #7661 from pgavlin/FixInteropTestCC
Fix calling conventions in ByValArray test.
Eric Mellino [Mon, 17 Oct 2016 22:07:52 +0000 (15:07 -0700)]
Merge pull request #7668 from mellinoe/alpine-rids
Add native package projects for alpine.3.4.3-x64
William Godbe [Mon, 17 Oct 2016 20:49:55 +0000 (13:49 -0700)]
Merge pull request #6613 from wtgodbe/packagebuilds
Use packages.builds when generating nuget packages
Eric Mellino [Mon, 17 Oct 2016 20:16:05 +0000 (13:16 -0700)]
Add new alpine packages to pkg .builds and .pkgproj files
Eric Mellino [Mon, 17 Oct 2016 20:11:13 +0000 (20:11 +0000)]
Allow Alpine to build System.Private.CoreLib
Eric Mellino [Mon, 17 Oct 2016 19:51:20 +0000 (19:51 +0000)]
Allow alpine to run init-tools.sh
Eric Mellino [Mon, 17 Oct 2016 19:49:15 +0000 (12:49 -0700)]
Add alpine.3.4.3-x64 nuget package definitions
Alex Perovich [Mon, 17 Oct 2016 19:46:43 +0000 (12:46 -0700)]
Add missing ns2.0 InteropServices apis to model.xml (#7606)
* Add missing ns2.0 InteropServices apis to model.xml
* Remove RuntimeEnvironment
* Remove functions that need vm changes.
Koundinya Veluri [Mon, 17 Oct 2016 17:17:02 +0000 (10:17 -0700)]
Expose RuntimeThread.Yield, fix warning
Related to dotnet/corefx##11632
wtgodbe [Tue, 6 Sep 2016 22:17:04 +0000 (15:17 -0700)]
Build tests against packages & produce Core_Root for arbitrary OS
Pat Gavlin [Mon, 17 Oct 2016 17:32:32 +0000 (10:32 -0700)]
Fix calling conventions in ByValArray test.
The managed code was assuming WINAPI, but the native code was defaulting
to cdecl. This causes GC stress failures on x86.
Dmitry-Me [Mon, 17 Oct 2016 16:56:37 +0000 (19:56 +0300)]
Fix broken #elif (#7656)
Gaurav Khanna [Mon, 17 Oct 2016 16:55:29 +0000 (09:55 -0700)]
Merge pull request #7639 from gkhanna79/ArmChkCIRemoval
Only run Debug and Release WinArm32 PR Builds
Dan Moseley [Mon, 17 Oct 2016 16:16:54 +0000 (09:16 -0700)]
Add missing ApplicationException derivations (#7647)
Koundinya Veluri [Mon, 17 Oct 2016 14:37:14 +0000 (07:37 -0700)]
Fix for desktop build of Thread class to add back members that were moved to RuntimeThread, to bypass ApiConformance issues during build.
[tfs-changeset: 1633583]
Dmitry-Me [Mon, 17 Oct 2016 04:05:11 +0000 (07:05 +0300)]
Don't return pointer to already deleted object (#3483)
Hyeongseok Oh [Mon, 17 Oct 2016 04:03:58 +0000 (13:03 +0900)]
Fix #7391: Test for DateTime string parsing (#7475)
Russell C Hadley [Mon, 17 Oct 2016 02:35:54 +0000 (19:35 -0700)]
Merge pull request #7340 from russellhadley/MoveCSEtoBitVec
Add code to switch to BitVec data structure in CSE optimization.
Gaurav Khanna [Sun, 16 Oct 2016 22:07:20 +0000 (15:07 -0700)]
Skip generating CI job for WinArm32 Checked
Gaurav Khanna [Sun, 16 Oct 2016 15:37:28 +0000 (08:37 -0700)]
Merge pull request #1965 from lasombra/patch-1
Update linux-instructions.md
Gaurav Khanna [Sun, 16 Oct 2016 15:35:42 +0000 (08:35 -0700)]
Merge pull request #7640 from dotnet-bot/master-UpdateDependencies
Update CoreClr, External to beta-24616-02, beta-24616-00, respectively (master)
LaSombra [Sun, 16 Oct 2016 12:30:24 +0000 (13:30 +0100)]
Update linux-instructions.md
LaSombra [Sun, 16 Oct 2016 12:17:20 +0000 (13:17 +0100)]
Update linux-instructions.md
LaSombra [Sun, 16 Oct 2016 12:13:14 +0000 (13:13 +0100)]
Update linux-instructions.md
LaSombra [Sun, 16 Oct 2016 12:12:10 +0000 (13:12 +0100)]
Update linux-instructions.md
dotnet-bot [Sun, 16 Oct 2016 08:25:58 +0000 (08:25 +0000)]
Update CoreClr, External to beta-24616-02, beta-24616-00, respectively
Gaurav Khanna [Sun, 16 Oct 2016 03:57:00 +0000 (20:57 -0700)]
Only run Debug and Release WinArm32 PR Builds
Stephen Toub [Sun, 16 Oct 2016 02:27:55 +0000 (22:27 -0400)]
Merge pull request #7630 from dotnet-bot/master-UpdateDependencies
Update CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively (master)
Gaurav Khanna [Sun, 16 Oct 2016 01:52:00 +0000 (18:52 -0700)]
Merge pull request #7632 from dotnet/revert-7213-revert-7123-WinArm32CI
Re-Enable Win32Arm CI support
dotnet-bot [Sun, 16 Oct 2016 00:21:39 +0000 (00:21 +0000)]
Update CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively
Gaurav Khanna [Sun, 16 Oct 2016 00:14:21 +0000 (17:14 -0700)]
Merge pull request #7637 from gkhanna79/FixArm32Build
Few more fixes for WinArm32 CI build.
Gaurav Khanna [Sat, 15 Oct 2016 21:06:23 +0000 (14:06 -0700)]
Few more fixes for WinArm32 CI build.
Justin Van Patten [Sat, 15 Oct 2016 09:58:59 +0000 (02:58 -0700)]
String.SplitInternal: Remove unnecessary stackalloc (#7623)
Simply take the address of the `char` instead of stackallocating a
`char[1]`.
Rama krishnan Raghupathy [Sat, 15 Oct 2016 06:52:15 +0000 (23:52 -0700)]
Merge pull request #7633 from ramarag/master
Exposing Gc.TryStartNoGCRegion
Rama krishnan Raghupathy [Sat, 15 Oct 2016 05:19:39 +0000 (22:19 -0700)]
Merge pull request #7631 from ramarag/Activator
Throwing PlatformNotSupportedException for ActivationAttributes
Gaurav Khanna [Sat, 15 Oct 2016 02:27:06 +0000 (19:27 -0700)]
Revert "Revert "Enable Win32Arm CI support""
Gaurav Khanna [Sat, 15 Oct 2016 02:25:38 +0000 (19:25 -0700)]
Merge pull request #7629 from gkhanna79/FixArmSdkDetection
Explicitly specify the Windows SDK version for CMake.
Rama Krishnan Raghupathy [Sat, 15 Oct 2016 02:15:10 +0000 (19:15 -0700)]
Exposing Gc.TryStartNoGCRegion
Gaurav Khanna [Sat, 15 Oct 2016 02:09:58 +0000 (19:09 -0700)]
Merge pull request #7622 from gkhanna79/SimplifyExtVer
Simplify External Package Versioning.
Rama Krishnan Raghupathy [Sat, 15 Oct 2016 01:01:44 +0000 (18:01 -0700)]
Throwing PlatformNotSupportedException for ActivationAttributes
Jonghyun Park [Sat, 15 Oct 2016 00:33:33 +0000 (09:33 +0900)]
Allows not to build LLDBPLUGIN (#7390)
Gaurav Khanna [Sat, 15 Oct 2016 00:03:00 +0000 (17:03 -0700)]
Explicitly specify the Windows SDK version for CMake.
Jan Kotas [Sat, 15 Oct 2016 00:02:25 +0000 (17:02 -0700)]
Merge pull request #7627 from dotnet-bot/from-tfs
Merge changes from TFS
Russell C. Hadley [Fri, 5 Aug 2016 23:07:21 +0000 (16:07 -0700)]
Add code to switch to bitvec datastructure in cse optimization.
This change will allow us to track more than 64 cse candidates.
Initally the data structure is set to the same limits (64) as is
currently used. This gives us a no diffs. Subsequent changes
will change these limits based on opportunities found in the benchmarks.
Jan Kotas [Fri, 14 Oct 2016 21:44:50 +0000 (14:44 -0700)]
Fix build breaks
[tfs-changeset: 1633395]
Sven Boemer [Fri, 14 Oct 2016 21:05:08 +0000 (14:05 -0700)]
NullReferenceException APIs (#7338)
* add typeID APIs
* add variable home API