platform/upstream/dotnet/runtime.git
6 years agoAdd public implementation CultureDataSupport (dotnet/coreclr#18691)
Luqun Lou [Fri, 29 Jun 2018 16:24:45 +0000 (09:24 -0700)]
Add public implementation CultureDataSupport (dotnet/coreclr#18691)

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

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to preview1-02929-01, preview1-26629...
dotnet-maestro-bot [Fri, 29 Jun 2018 15:15:05 +0000 (08:15 -0700)]
Update BuildTools, CoreClr, CoreFx, PgoData to preview1-02929-01, preview1-26629-04, preview1-26628-03, master-20180629-0054, respectively (dotnet/coreclr#18694)

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

6 years agoRemove relocations for vtable chunks (dotnet/coreclr#17147)
Gleb Balykov [Fri, 29 Jun 2018 14:25:17 +0000 (17:25 +0300)]
Remove relocations for vtable chunks (dotnet/coreclr#17147)

* Separate sections READONLY_VCHUNKS and READONLY_DICTIONARY

* Remove relocations for second-level indirection of Vtable in case FEATURE_NGEN_RELOCS_OPTIMIZATIONS is enabled.

Introduce FEATURE_NGEN_RELOCS_OPTIMIZATIONS, under which NGEN specific relocations optimizations are enabled

* Replace push/pop of R11 in stubs with
  - str/ldr of R4 in space reserved in epilog for non-tail calls
  - usage of R4 with hybrid-tail calls (same as for EmitShuffleThunk)

* Replace push/pop of R11 for function epilog with usage of LR as helper register right before its restore from stack

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

6 years agoMerge pull request dotnet/coreclr#18689 from BruceForstall/UpdateArmBuildDocumentation
Bruce Forstall [Thu, 28 Jun 2018 19:20:31 +0000 (12:20 -0700)]
Merge pull request dotnet/coreclr#18689 from BruceForstall/UpdateArmBuildDocumentation

Update ARM/Linux build directions

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

6 years agoUpdate Tizen CI docker image (dotnet/coreclr#18567)
Eden [Thu, 28 Jun 2018 19:08:41 +0000 (04:08 +0900)]
Update Tizen CI docker image (dotnet/coreclr#18567)

* Update Tizen rootfs generation scripts for Tizen 5.0 M1

* Update Tizen CI docker image

* Update Tizen CI RID

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

6 years agoUpdate ARM/Linux build directions
Bruce Forstall [Thu, 28 Jun 2018 18:35:21 +0000 (11:35 -0700)]
Update ARM/Linux build directions

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

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to preview1-02928-01, preview1-26627...
dotnet-maestro-bot [Thu, 28 Jun 2018 15:33:28 +0000 (08:33 -0700)]
Update BuildTools, CoreClr, CoreFx, PgoData to preview1-02928-01, preview1-26627-04, preview1-26627-04, master-20180627-0051, respectively (master) (dotnet/coreclr#18588)

* Update BuildTools, CoreClr, CoreFx, PgoData to preview1-02928-01, preview1-26627-04, preview1-26627-04, master-20180627-0051, respectively

* Rename netcoreapp2.2 => netcoreapp3.0

* Disable test for CoreFX update

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

6 years agoAvoid capturing ExecutionContext into CancellationTokenSource's Timer (dotnet/coreclr...
Stephen Toub [Thu, 28 Jun 2018 14:26:21 +0000 (10:26 -0400)]
Avoid capturing ExecutionContext into CancellationTokenSource's Timer (dotnet/coreclr#18670)

* Avoid capturing ExecutionContext into CancellationTokenSource's Timer

It's not needed, and it can keep unrelated state alive unnecessarily

* Address PR feedback

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

6 years agoFix alternate stack cleanup on MUSL (dotnet/coreclr#18685)
Jan Vorlicek [Thu, 28 Jun 2018 11:47:34 +0000 (13:47 +0200)]
Fix alternate stack cleanup on MUSL (dotnet/coreclr#18685)

The MUSL implementation of sigaltstack checks that the ss.ss_size is
larger or equal than the MINSIGSTKSZ even when the ss_flags is set
to SS_DISABLE even though Linux man page for sigaltstack states that
when this flag is set, all other ss fields are ignored.

We were not setting the ss_size in this case and it was causing a memory
leak for each thread that has terminated on MUSL based Linux distros
like Alpine.

Glibc implementation doesn't check the ss_size when the SS_DISABLE is set
so the problem was really MUSL specific.

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

6 years agoTypo (dotnet/coreclr#18684)
John Doe [Thu, 28 Jun 2018 11:47:06 +0000 (04:47 -0700)]
Typo (dotnet/coreclr#18684)

* approrpriate -> appropriate

* allignment -> alignment

* aquire -> acquire

* aquisition -> acquisition

* arbitraty -> arbitrary

* arcance -> arcane

* archetecture -> architecture

* Archicture -> Architecture

* architecures -> architectures

* argmuent -> argument

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

6 years agoTypo (dotnet/corertdotnet/coreclr#6029)
John Doe [Thu, 28 Jun 2018 10:03:49 +0000 (03:03 -0700)]
Typo (dotnet/corertdotnet/coreclr#6029)

* aggresively -> aggressively

* algortithm -> algorithm

* anindex -> an index

* antecendent -> antecedent

* barnching -> branching

* becauase -> because

* behaivor -> behavior

* Boolen -> Boolean

* Browing -> Browsing

* calander -> calendar

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/127a888c33eedefe42d2d01cab4cfaaa3b48f9b0

6 years agoJIT: fix bug returning small structs on linux x64 (dotnet/coreclr#18563)
Andy Ayers [Thu, 28 Jun 2018 08:00:33 +0000 (01:00 -0700)]
JIT: fix bug returning small structs on linux x64 (dotnet/coreclr#18563)

The jit was retyping all calls with small struct returns as power of two
sized ints when generating code for linux x64 and arm32/arm64. When the
results of those calls were assigned to fields the jit would use overly wide
stores which could corrupt neighboring fields.

The fix is to keep better track of the smallest power of two enclosing int type
size for the struct. If this exactly matches the struct size then the the
result of the call can be used in an arbitrary context. If the enclosing type is
larger, the call's result must be copied to a temp and then the temp can be
reinterpreted as the struct for subsequent uses.

Defer retyping inline candidates and tail call candidates.
Then handle deferred updates for cases where calls don't get inlined.

Add test cases for 6 byte structs showing the various situations the
jit must handle: callee is not an inline candidate, is an inline candidate
and gets inlined, or inline candidate that does not get inlined.

Add a 3 byte test case to get coverage on arm32. Add new tests to the
arm32/arm64 test lists.

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

6 years agoCross-bitness in ZapRelocs (dotnet/coreclr#18665)
Egor Chesakov [Wed, 27 Jun 2018 23:50:15 +0000 (16:50 -0700)]
Cross-bitness in ZapRelocs (dotnet/coreclr#18665)

* Cast to UINT32 to avoid warnings on Windows in ZapBaseRelocs::WriteReloc in src/zap/zaprelocs.cpp

* Replace TADDR with DWORD in ZapInfo::recordRelocation IMAGE_REL_BASED_PTR in src/zap/zapinfo.cpp

* Replace sizeof(cell) with TARGET_POINTER_SIZE in src/zap/zapimport.cpp

* Replace TADDR with DWORD in ZapBaseRelocs::WriteReloc IMAGE_REL_BASED_PTR in src/zap/zaprelocs.cpp

* Define target_size_t type

* Replace TADDR with target_size_t in ZapInfo::recordRelocation in src/zap/zapinfo.cpp

* Replace SIZE_T PVOID with target_size_t in src/zap/zapimport.cpp

* Replace TADDR with target_size_t in src/zap/zaprelocs.cpp

* Rename target_size_t to TARGET_POINTER_TYPE

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

6 years agoModify netci definition (dotnet/coreclr#18677)
Andon Andonov [Wed, 27 Jun 2018 23:23:37 +0000 (16:23 -0700)]
Modify netci definition (dotnet/coreclr#18677)

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

6 years agoAdd Public implementation RemoveEventHandler in EventRegistrationTokenTable (dotnet...
Luqun Lou [Wed, 27 Jun 2018 23:13:10 +0000 (16:13 -0700)]
Add Public implementation RemoveEventHandler in EventRegistrationTokenTable (dotnet/coreclr#18671)

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

6 years agoWindows CoreFX CI (dotnet/coreclr#18365)
Andon Andonov [Wed, 27 Jun 2018 21:43:36 +0000 (14:43 -0700)]
Windows CoreFX CI  (dotnet/coreclr#18365)

* Add test list CL switch

* End-To-End Test Run on Windows

* Cleanup

* MAX_PATH Workaround

* Set Execution directory for CoreFX tests

* Add All CoreFX PR Tests

* Add test dependencies

* Add extra dependencies

* Add parallel test execution

* Disable OuterLoop tests and System.Data.SqlClient.*  tests

* Initialize maximum degree of parallelization to Environment.ProcessCount

* Remove unnecessary cli option

* Update Dependencies

* Add "enabled" property to tests

* Remove exclusions due to TestUtilities mismatch

* Add capability to run all tests for running Helix test lists directly

* Refactor build script to build testhost when skipping managed tests

* Disable failing System.Threading.Tests.EventWaitHandleTests.Ctor_InvalidMode

* Add switch to skip native test build

* Add testing documentation

* Don't run tests marked as "disabled" when running all available tests

* Add switch to build only testhost and remove Core_Root_Stage

* Clean up TopN.CoreFX.Windows.issues.json

* Refactor build-test.cmd

* PR feedback - build pipeline and documentation

* PR Feedback - Test Helper headers and comments

* Fix buildtesthost option for only building CoreFX test dependencies

* Disable intermittently failing test DrawBezier_PointFs

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

6 years agoMerge pull request dotnet/coreclr#18645 from tgiphil/readonly
Jan Kotas [Wed, 27 Jun 2018 18:55:04 +0000 (11:55 -0700)]
Merge pull request dotnet/coreclr#18645 from tgiphil/readonly

Changed internal value to readonly for primitive types

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

6 years agoMoved SafeWaitHandle and cancellationToken to shared (dotnet/coreclr#18662)
Anirudh Agnihotry [Wed, 27 Jun 2018 18:36:42 +0000 (11:36 -0700)]
Moved SafeWaitHandle and cancellationToken to shared (dotnet/coreclr#18662)

* Moving SafeWaitHandle to shared

* Moved CancellationToken to shared

* _ remove from variable names

* Default change to Default(Token) and minor changes

* Fixing coreclr unix build

* moving semaphoreSlim to shared

* splitting safeWaitHandle to .windows and .unix

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

6 years agoRemove conditional compilation of DotNETRuntimeEventSource.cs.
Brian Robbins [Wed, 27 Jun 2018 01:23:07 +0000 (18:23 -0700)]
Remove conditional compilation of DotNETRuntimeEventSource.cs.

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

6 years agoFix sync.sh to call run.exe -p even if positional parameters are specified after --.
Brian Robbins [Wed, 27 Jun 2018 01:22:46 +0000 (18:22 -0700)]
Fix sync.sh to call run.exe -p even if positional parameters are specified after --.

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

6 years agoMerge pull request dotnet/coreclr#18663 from fiigii/fixapis
Carol Eidt [Wed, 27 Jun 2018 18:12:33 +0000 (11:12 -0700)]
Merge pull request dotnet/coreclr#18663 from fiigii/fixapis

Fix Aes and Ssse3.Shuffle intrinsic APIs

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

6 years agoMerge pull request dotnet/coreclr#18425 from acmyu/xml
Amy [Wed, 27 Jun 2018 16:56:21 +0000 (09:56 -0700)]
Merge pull request dotnet/coreclr#18425 from acmyu/xml

R2RDump - Output in XML format

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

6 years agoMerge pull request dotnet/coreclr#18130 from sdmaclea/PR-ARM64-JIT-Use-LSE-Atomics
Brian Sullivan [Wed, 27 Jun 2018 16:51:32 +0000 (09:51 -0700)]
Merge pull request dotnet/coreclr#18130 from sdmaclea/PR-ARM64-JIT-Use-LSE-Atomics

[Arm64] JIT generate LSE Atomics

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

6 years agoRemoves duplicate attributes (dotnet/coreclr#18668)
Marek Safar [Wed, 27 Jun 2018 13:53:24 +0000 (15:53 +0200)]
Removes duplicate attributes (dotnet/coreclr#18668)

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

6 years agoAdd VM support for Unsafe.AsRef(in T)
Jan Kotas [Wed, 27 Jun 2018 05:38:42 +0000 (22:38 -0700)]
Add VM support for Unsafe.AsRef(in T)

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

6 years agoApplying PR feedback
Phil Garcia [Wed, 27 Jun 2018 05:03:49 +0000 (22:03 -0700)]
Applying PR feedback

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

6 years agoMore Dead String (dotnet/coreclr#18664)
Henry Sharber [Wed, 27 Jun 2018 03:41:33 +0000 (23:41 -0400)]
More Dead String (dotnet/coreclr#18664)

Removed any strings in \src\inc\corerror.xml that appeared only in one or more of the following:
\src\dlls\mscorrc\mscorrc.rc
\src\pal\prebuilt\corerror\mscorurt.rc
\src\pal\prebuilt\inc\corerror.h

Fix dotnet/coreclr#18420

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

6 years agoFix bogus assert in ArraySortHelper (dotnet/corertdotnet/coreclr#6018)
Michal Strehovský [Tue, 26 Jun 2018 14:17:53 +0000 (16:17 +0200)]
Fix bogus assert in ArraySortHelper (dotnet/corertdotnet/coreclr#6018)

Fixes dotnet/coreclr#6016.
Resolves dotnet/coreclr#6015.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/bcabe118b783feb489c791e340f1c3ea792acde2

6 years agoSimplify built-in types across corefx (dotnet/corefxdotnet/coreclr#30656)
Stephen Toub [Mon, 25 Jun 2018 23:54:41 +0000 (19:54 -0400)]
Simplify built-in types across corefx (dotnet/corefxdotnet/coreclr#30656)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/38125912cdde6b8bdf87154139189cf55b235f62

6 years agoFix Aes and Ssse3.Shuffle intrinsic APIs
Fei Peng [Tue, 26 Jun 2018 23:20:54 +0000 (16:20 -0700)]
Fix Aes and Ssse3.Shuffle intrinsic APIs

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

6 years agoFix merge errors, replace spaces with tab, print unwind flag name
Amy Yu [Tue, 26 Jun 2018 22:25:02 +0000 (15:25 -0700)]
Fix merge errors, replace spaces with tab, print unwind flag name

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

6 years agoDump disasm line by line, changes to dumping bytes to xml, fix
Amy Yu [Tue, 26 Jun 2018 21:11:46 +0000 (14:11 -0700)]
Dump disasm line by line, changes to dumping bytes to xml, fix
compilerIdentifier typo

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

6 years agoRefactor into TextDumper and XmlDumper classes
Amy Yu [Fri, 22 Jun 2018 23:17:24 +0000 (16:17 -0700)]
Refactor into TextDumper and XmlDumper classes

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

6 years agoXml serialize section contents and gcinfo transitions
Amy Yu [Fri, 22 Jun 2018 01:31:22 +0000 (18:31 -0700)]
Xml serialize section contents and gcinfo transitions

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

6 years agoXMLSerialize gc transitions and section contents
Amy Yu [Wed, 20 Jun 2018 00:57:52 +0000 (17:57 -0700)]
XMLSerialize gc transitions and section contents

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

6 years agoMake unwindinfo and gcinfo xml serializable
Amy Yu [Sat, 16 Jun 2018 00:09:48 +0000 (17:09 -0700)]
Make unwindinfo and gcinfo xml serializable

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

6 years agoOutput in xml format with XmlSerializer
Amy Yu [Mon, 11 Jun 2018 23:02:50 +0000 (16:02 -0700)]
Output in xml format with XmlSerializer

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

6 years agoAdd public to classes and set accessor to properties needed for serialization
Amy Yu [Mon, 11 Jun 2018 23:01:39 +0000 (16:01 -0700)]
Add public to classes and set accessor to properties needed for serialization

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

6 years agoMerge pull request dotnet/coreclr#18435 from acmyu/unwind
Amy [Tue, 26 Jun 2018 22:01:14 +0000 (15:01 -0700)]
Merge pull request dotnet/coreclr#18435 from acmyu/unwind

R2RDump - Use symbolic names for opcodes

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

6 years agoFix value numbering when selecting a constant (dotnet/coreclr#18627)
Jakob Botsch Nielsen [Tue, 26 Jun 2018 14:57:47 +0000 (16:57 +0200)]
Fix value numbering when selecting a constant (dotnet/coreclr#18627)

When applying selectors, constants were special-cased to not require any
type casts. However this is wrong if a narrowing needs to be performed.

Fix dotnet/coreclr#18235

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

6 years agoDelete slack link, standardize on gitter (dotnet/coreclr#18644)
Jan Kotas [Tue, 26 Jun 2018 05:56:03 +0000 (22:56 -0700)]
Delete slack link, standardize on gitter (dotnet/coreclr#18644)

Contributes to https://github.com/dotnet/coreclr/issues/18643

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

6 years agoChanged internal value to readonly to all the primitive types
Phil Garcia [Tue, 26 Jun 2018 05:27:59 +0000 (22:27 -0700)]
Changed internal value to readonly to all the primitive types

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

6 years agoMerge pull request dotnet/coreclr#18585 from BruceForstall/FixArmOffsets
Bruce Forstall [Mon, 25 Jun 2018 21:55:27 +0000 (14:55 -0700)]
Merge pull request dotnet/coreclr#18585 from BruceForstall/FixArmOffsets

Clean up ARM reserved register handling

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

6 years agoRemove commentary on non-existent appx checks (dotnet/coreclr#18631)
Rafael Rivera [Mon, 25 Jun 2018 20:13:11 +0000 (13:13 -0700)]
Remove commentary on non-existent appx checks (dotnet/coreclr#18631)

Remove commentary on non-existent appx checks

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

6 years agoSimplify types in non-shared corelib (dotnet/corertdotnet/coreclr#6008)
Stephen Toub [Mon, 25 Jun 2018 03:21:25 +0000 (23:21 -0400)]
Simplify types in non-shared corelib (dotnet/corertdotnet/coreclr#6008)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/053e002e3299373ec85f5dc23f744337484d56ed

6 years agoCross-bitness regular and thread static fields offsets (dotnet/coreclr#18636)
Egor Chesakov [Mon, 25 Jun 2018 19:25:49 +0000 (12:25 -0700)]
Cross-bitness regular and thread static fields offsets (dotnet/coreclr#18636)

* Define OFFSETOF__DomainLocalModule__m_pDataBlob_ OFFSETOF__DomainLocalModule__NormalDynamicEntry__m_pDataBlob in src/vm/appdomain.hpp

* Define OFFSETOF__ThreadLocalModule__m_pDataBlob OFFSETOF__ThreadLocalModule__DynamicEntry__m_pDataBlob in src/vm/threadstatics.h

* Add assertions and offsets for dynamically allocated statics

* Compensate OffsetOfDataBlob difference

* Check target specific offsets in assertions in src/vm/methodtablebuilder.cpp

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

6 years agoDon't close the JIT func info file on shutdown (dotnet/coreclr#18060)
Koundinya Veluri [Mon, 25 Jun 2018 16:41:51 +0000 (09:41 -0700)]
Don't close the JIT func info file on shutdown (dotnet/coreclr#18060)

During shutdown there can be a race between closing/nulling `compJitFuncInfoFile` in `compShutdown` and a background thread trying to write to it after checking that it was not null.

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

6 years agoCross-bitness in instance fields placement and CORINFO structs (dotnet/coreclr#18366)
Egor Chesakov [Mon, 25 Jun 2018 16:17:00 +0000 (09:17 -0700)]
Cross-bitness in instance fields placement and CORINFO structs (dotnet/coreclr#18366)

* Replace sizeof(OBJECTREF*) with TARGET_POINTER_SIZE

* Define IN_TARGET_32BIT IN_TARGET_64BIT macros

* Replace IN_WIN32 IN_WIN64 with IN_TARGET_32BIT IN_TARGET_64BIT in src/vm/jitinterface.cpp src/vm/methodtablebuilder.cpp

* Define and use OFFSETOF__CORINFO_* constants in clrjit

* Define for all 64-bit targets

* Use unsigned __int32 to emphasize that this is 32-bit number

* Rename Array__u1Elems to Array__data

* Eliminate OFFSETOF__CORINFO_RefArray__length

* Rename OFFSETOF__CORINFO_RefAny__ to OFFSETOF__CORINFO_TypedReference__

* Fix OFFSETOF__CORINFO_TypedReference__dataPtr macro value

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

6 years agoFix nested-anon-types warnings (dotnet/coreclr#18591)
Adeel Mujahid [Mon, 25 Jun 2018 12:23:12 +0000 (15:23 +0300)]
Fix nested-anon-types warnings (dotnet/coreclr#18591)

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

6 years agoRemove test logs (dotnet/coreclr#18621)
Andon Andonov [Mon, 25 Jun 2018 05:45:27 +0000 (22:45 -0700)]
Remove test logs (dotnet/coreclr#18621)

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

6 years agoRemoved dead strings used in debug-only code (dotnet/coreclr#18622)
hsharber [Mon, 25 Jun 2018 01:18:15 +0000 (21:18 -0400)]
Removed dead strings used in debug-only code (dotnet/coreclr#18622)

Removed strings used in debug-only code in ex.cpp

Fix dotnet/coreclr#18420

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

6 years agoUpdate to latest released dotnet SDK (dotnet/coreclr#18626)
Jan Kotas [Sun, 24 Jun 2018 20:45:15 +0000 (13:45 -0700)]
Update to latest released dotnet SDK (dotnet/coreclr#18626)

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

6 years agonon shared changes and disabling tests
Anipik [Sun, 24 Jun 2018 04:29:23 +0000 (21:29 -0700)]
non shared changes and disabling tests

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/e32feb0120e74178ef03c5c65b06022666470177

6 years agoSimply type names in Corelib (dotnet/coreclr#18623)
Stephen Toub [Sun, 24 Jun 2018 12:22:35 +0000 (08:22 -0400)]
Simply type names in Corelib (dotnet/coreclr#18623)

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

6 years agoUse correct basic block to check legality of PInvoke callsite for inlining (dotnet...
Jan Kotas [Sun, 24 Jun 2018 03:20:58 +0000 (20:20 -0700)]
Use correct basic block to check legality of PInvoke callsite for inlining (dotnet/coreclr#18620)

It is the same logic as used in other similar places

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

6 years agoClean up ARM reserved register computations
Bruce Forstall [Thu, 21 Jun 2018 02:06:27 +0000 (19:06 -0700)]
Clean up ARM reserved register computations

Tighten up and correct the math in compRsvdRegCheck.

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

6 years agoMerge pull request dotnet/coreclr#18600 from BruceForstall/FixArmFPFrameAddressLimits
Bruce Forstall [Sat, 23 Jun 2018 16:38:05 +0000 (09:38 -0700)]
Merge pull request dotnet/coreclr#18600 from BruceForstall/FixArmFPFrameAddressLimits

Expand ARM local variable R11-based addressing

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

6 years agoMerge pull request dotnet/coreclr#18615 from A-And/CIFXStaging
Bruce Forstall [Sat, 23 Jun 2018 16:36:45 +0000 (09:36 -0700)]
Merge pull request dotnet/coreclr#18615 from A-And/CIFXStaging

CoreFX CI - Correct testResults path

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

6 years agoChange string.Compare(...) == 0 occurrences to string.Equals(...) (dotnet/coreclr...
Stephen Toub [Sat, 23 Jun 2018 14:20:29 +0000 (10:20 -0400)]
Change string.Compare(...) == 0 occurrences to string.Equals(...) (dotnet/coreclr#18616)

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

6 years agoMoved EventWaitHandle.cs to shared (dotnet/coreclr#18612)
Anirudh Agnihotry [Sat, 23 Jun 2018 04:12:42 +0000 (21:12 -0700)]
Moved EventWaitHandle.cs to shared (dotnet/coreclr#18612)

* Removed AccessControl Unused arguments

* moving common code to CreateEventCore and using constructor chaining

* Moving Functions to eventwaithandles.windows

* EventWaitHandle matched with corert

* eventwaithandle.windwos matched with corert

* Addding interop functions

* moved files to shared

* Minor changes

* fixing build for corert unix

* Removing Comment

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

6 years agoPass RID to crossgen (dotnet/coreclr#18592)
Adeel Mujahid [Sat, 23 Jun 2018 02:51:03 +0000 (05:51 +0300)]
Pass RID to crossgen (dotnet/coreclr#18592)

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

6 years agoFix incorrect usage of ILCodeVersion::AsNode (issue dotnet/coreclr#18602) (dotnet...
Noah Falk [Sat, 23 Jun 2018 02:14:15 +0000 (19:14 -0700)]
Fix incorrect usage of ILCodeVersion::AsNode (issue dotnet/coreclr#18602) (dotnet/coreclr#18606)

When the debugger is querying the active rejit IL for an IL method that has not been rejitted it incorrectly creates a VMPTR_ILCodeVersionNode for a code version that shouldn't have one.

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

6 years agoCorrect testResults path
Andon Andonov [Sat, 23 Jun 2018 01:11:18 +0000 (18:11 -0700)]
Correct testResults path

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

6 years agoExpand ARM local variable R11-based addressing
Bruce Forstall [Thu, 21 Jun 2018 23:33:02 +0000 (16:33 -0700)]
Expand ARM local variable R11-based addressing

When addressing a local with negative offsets from R11 (if it can't
be reached from SP), allow the full range of negative offsets allowed
in the instructions. Floating-point load/store especially has a much
bigger range than what was previously allowed.

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

6 years agoFix incorrect script path (dotnet/coreclr#18613)
Andon Andonov [Fri, 22 Jun 2018 22:43:05 +0000 (15:43 -0700)]
Fix incorrect script path (dotnet/coreclr#18613)

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

6 years agoMove Amd64 specific class to it's own folder and subnamespace
Amy Yu [Fri, 22 Jun 2018 22:04:12 +0000 (15:04 -0700)]
Move Amd64 specific class to it's own folder and subnamespace

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

6 years agoNon Shared Changed And feedback
Anipik [Fri, 22 Jun 2018 18:32:13 +0000 (11:32 -0700)]
Non Shared Changed And feedback

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/db4248f0d615f6e86ed291a86adf395a59ec2e9c

6 years agoRemove trigger phrases and add testhost building (dotnet/coreclr#18608)
Andon Andonov [Fri, 22 Jun 2018 20:54:45 +0000 (13:54 -0700)]
Remove trigger phrases and add testhost building (dotnet/coreclr#18608)

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

6 years agoAdd public implementation MarshalerSupport (dotnet/coreclr#18530)
Luqun Lou [Fri, 22 Jun 2018 18:33:35 +0000 (11:33 -0700)]
Add public implementation MarshalerSupport (dotnet/coreclr#18530)

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

6 years agoStart moving testing documentation into a single location (dotnet/coreclr#18598)
Aaron Robinson [Fri, 22 Jun 2018 18:24:22 +0000 (11:24 -0700)]
Start moving testing documentation into a single location (dotnet/coreclr#18598)

Start moving testing documentation into a single location
Update `test-configuration.md` with more details on creating a test and requirements

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

6 years agoUpdate package version to 3.0.0
Russ Keldorph [Thu, 21 Jun 2018 20:49:04 +0000 (13:49 -0700)]
Update package version to 3.0.0

This doesn't make much practical difference since CoreCLR's packages aren't
intended for any consumers other than core-setup, but we might as well try
to be consistent with our peer repos in case it provides a useful hint when
something goes wrong.

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

6 years agoMerge pull request dotnet/coreclr#18581 from CarolEidt/Reenable18295
Carol Eidt [Fri, 22 Jun 2018 16:11:16 +0000 (09:11 -0700)]
Merge pull request dotnet/coreclr#18581 from CarolEidt/Reenable18295

Re-enable tests after fixing 18295

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

6 years agoMerge pull request dotnet/coreclr#18595 from BruceForstall/FixArmEncoderLimits
Bruce Forstall [Fri, 22 Jun 2018 06:05:42 +0000 (23:05 -0700)]
Merge pull request dotnet/coreclr#18595 from BruceForstall/FixArmEncoderLimits

Fix ARM encoder limits

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

6 years agoMoved Semaphore.cs and Semaphore.Windows.cs to shared (dotnet/coreclr#18597)
Anirudh Agnihotry [Fri, 22 Jun 2018 01:39:23 +0000 (18:39 -0700)]
Moved Semaphore.cs and Semaphore.Windows.cs to shared (dotnet/coreclr#18597)

* TryOpenexistingworker and createsemaphore moved to semaphore.windows.cs

* Common code moved to verifyCounts and CreateMutexCore and then moved to semaphore.windows.cs

* CreateSemaphore merged with CreateSemaphore core

* Moving interop functions from win32Native to inteop.kernel32

* Moving the files to shared

* Minor Formating

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

6 years agoUpdate behaviors of new TextWriter StringBuilder overloads (dotnet/coreclr#18578)
Stephen Toub [Fri, 22 Jun 2018 01:36:59 +0000 (21:36 -0400)]
Update behaviors of new TextWriter StringBuilder overloads (dotnet/coreclr#18578)

Two issues addressed:
- CancellationToken was being ignored; the overloads should check whether cancellation was requested.  This applies to the existing Write{Line}Async overloads that were added in 2.1.
- The other overloads support inputs (string, char[], etc.) being null, and just treat that the same as an empty string.  We should do the same for StringBuilder rather than throwing.

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

6 years agoMerge pull request dotnet/coreclr#18570 from acmyu/bugs
Amy [Thu, 21 Jun 2018 23:19:05 +0000 (16:19 -0700)]
Merge pull request dotnet/coreclr#18570 from acmyu/bugs

R2RDump - Bug fixes

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

6 years agoWindows CoreFX CI Staging Commit (dotnet/coreclr#18388)
Andon Andonov [Thu, 21 Jun 2018 23:04:54 +0000 (16:04 -0700)]
Windows CoreFX CI Staging Commit (dotnet/coreclr#18388)

* Netci

* Add fake test switch

* Add branch PR trigger

* Add Checked corefx_innerloop jobs

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

6 years agoFix unset ZapRelocationType for fixup (dotnet/coreclr#18589)
Gleb Balykov [Thu, 21 Jun 2018 22:16:58 +0000 (01:16 +0300)]
Fix unset ZapRelocationType for fixup (dotnet/coreclr#18589)

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

6 years agoFix ARM encoder limits
Bruce Forstall [Thu, 21 Jun 2018 20:11:13 +0000 (13:11 -0700)]
Fix ARM encoder limits

The ARM encoder was using slightly incorrect limits when deciding whether
a particular constant offset was allowed in an addressing mode.

Change the limits to match the instruction definitions.

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

6 years agoMerge pull request dotnet/coreclr#18031 from kbaladurin/fix-hfa-tests
Bruce Forstall [Thu, 21 Jun 2018 15:57:44 +0000 (08:57 -0700)]
Merge pull request dotnet/coreclr#18031 from kbaladurin/fix-hfa-tests

[JIT/ARM] Fix Compiler::lvaFrameAddress

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

6 years agoUpdate PgoData to master-20180621-0050 (dotnet/coreclr#18587)
dotnet-maestro-bot [Thu, 21 Jun 2018 12:34:29 +0000 (05:34 -0700)]
Update PgoData to master-20180621-0050 (dotnet/coreclr#18587)

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

6 years agoUndo accidental 2.0 -> 2.1 renames (dotnet/corertdotnet/coreclr#5981)
Jan Kotas [Thu, 21 Jun 2018 03:38:07 +0000 (20:38 -0700)]
Undo accidental 2.0 -> 2.1 renames (dotnet/corertdotnet/coreclr#5981)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/3e87306d8e8b909aaa26582fa11cb30e52e9431e

6 years agoRev netcoreapp2.0 to netcoreapp2.1 (dotnet/corertdotnet/coreclr#5974)
Adeel Mujahid [Thu, 21 Jun 2018 00:06:28 +0000 (03:06 +0300)]
Rev netcoreapp2.0 to netcoreapp2.1 (dotnet/corertdotnet/coreclr#5974)

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/addb9956f1786bb8b6bcb0daf509a5d9c9b98347

6 years agoUpdate CoreClr, CoreFx to preview1-26621-01, preview1-26621-01, respectively (dotnet...
dotnet-maestro-bot [Thu, 21 Jun 2018 03:38:51 +0000 (20:38 -0700)]
Update CoreClr, CoreFx to preview1-26621-01, preview1-26621-01, respectively (dotnet/coreclr#18584)

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

6 years agoMerge pull request dotnet/coreclr#18552 from dotnet-maestro-bot/master-UpdateDependencies
Wes Haggard [Wed, 20 Jun 2018 23:59:20 +0000 (16:59 -0700)]
Merge pull request dotnet/coreclr#18552 from dotnet-maestro-bot/master-UpdateDependencies

Update BuildTools, CoreClr, CoreFx, PgoData to preview1-02920-01, preview1-26620-04, preview1-26620-03, master-20180620-0039, respectively (master)

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

6 years agoFixed method name in comment (dotnet/coreclr#18571)
Alfred Myers [Wed, 20 Jun 2018 23:31:00 +0000 (20:31 -0300)]
Fixed method name in comment (dotnet/coreclr#18571)

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

6 years agoMerge pull request dotnet/coreclr#18573 from CarolEidt/ExplicitLayoutTest
Carol Eidt [Wed, 20 Jun 2018 23:26:58 +0000 (16:26 -0700)]
Merge pull request dotnet/coreclr#18573 from CarolEidt/ExplicitLayoutTest

Add another test for dotnet/coreclr#17971

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

6 years agoRe-enable tests after fixing 18295
Carol Eidt [Wed, 20 Jun 2018 22:43:19 +0000 (15:43 -0700)]
Re-enable tests after fixing 18295

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

6 years agoUpdate BuildTools, CoreClr, CoreFx, PgoData to preview1-02920-01, preview1-26620...
dotnet-maestro-bot [Wed, 20 Jun 2018 22:03:51 +0000 (15:03 -0700)]
Update BuildTools, CoreClr, CoreFx, PgoData to preview1-02920-01, preview1-26620-04, preview1-26620-03, master-20180620-0039, respectively

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

6 years agoAn UnusedValue still requires a target reg (dotnet/coreclr#18561)
Carol Eidt [Wed, 20 Jun 2018 21:55:12 +0000 (14:55 -0700)]
An UnusedValue still requires a target reg (dotnet/coreclr#18561)

* An UnusedValue still requires a target reg

The BuildSimple method wasn't creating a def for an unused value. Although (in this case) the code is dead, the code generator must still be able to generate code for it.

* Add test case for dotnet/coreclr#18295 to arm/arm64 tests.lst

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

6 years agoadded concurrent access detection to Remove() (dotnet/coreclr#18524)
Marco Rossignoli [Wed, 20 Jun 2018 19:19:06 +0000 (21:19 +0200)]
added concurrent access detection to Remove() (dotnet/coreclr#18524)

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

6 years agoAdd another test for dotnet/coreclr#17971
Carol Eidt [Wed, 20 Jun 2018 18:02:27 +0000 (11:02 -0700)]
Add another test for dotnet/coreclr#17971

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

6 years agoRemove MaskLoad tests from arm and arm64 lst files (dotnet/coreclr#18569)
Jarret Shook [Wed, 20 Jun 2018 17:39:04 +0000 (10:39 -0700)]
Remove MaskLoad tests from arm and arm64 lst files (dotnet/coreclr#18569)

This will disable the test from being run with smart in our windows arm
testing. This corresponds to the tests being deleted in dotnet/coreclr#17637.

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

6 years agoMake sections optional, throw more descriptive error when rva can't be converted...
Amy Yu [Wed, 20 Jun 2018 17:12:39 +0000 (10:12 -0700)]
Make sections optional, throw more descriptive error when rva can't be converted to offset

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

6 years agoAvoid extra allocation in IDNA (dotnet/coreclr#18551)
Tarek Mahmoud Sayed [Wed, 20 Jun 2018 01:50:38 +0000 (18:50 -0700)]
Avoid extra allocation in IDNA (dotnet/coreclr#18551)

* Avoid extra allocation in IDNA

* cache the indexd value in StringBuilder

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

6 years agoFix instruction groups offset on the border between cold/hot code. (dotnet/coreclr...
Sergey Andreenko [Wed, 20 Jun 2018 01:02:11 +0000 (18:02 -0700)]
Fix instruction groups offset on the border between cold/hot code. (dotnet/coreclr#17775)

* add an additional debug printing.

* add additional checks

* Clean-up checks a bit.

* fill unused allocated chunks

* clean up checks

* fix EMITTER_STATS

* optimize padding filling

call to emitCurCodeOffs(cp) is not free.

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

6 years agoFix Complus_JitMinOpts for the first method (dotnet/coreclr#18555)
Sergey Andreenko [Wed, 20 Jun 2018 01:01:36 +0000 (18:01 -0700)]
Fix Complus_JitMinOpts for the first method (dotnet/coreclr#18555)

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

6 years agoRemove StringBuilderCache usage from System.Text.RegularExpressions (dotnet/coreclr...
Viktor Hofer [Tue, 19 Jun 2018 21:34:37 +0000 (23:34 +0200)]
Remove StringBuilderCache usage from System.Text.RegularExpressions (dotnet/coreclr#30474)

* Remove StringBuilderCache usage

* fixed buffer size, manual reverse copying & local textinfo

* Fast path for not to encode string

* avoid one span slice

* code formatting & bounds check opt

* Avoid string allocation in char class

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/d429e0291cefdba83248b3d158926df05a76528e

6 years agoMake unwind info specific to amd64
Amy Yu [Wed, 13 Jun 2018 22:19:21 +0000 (15:19 -0700)]
Make unwind info specific to amd64

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

6 years agoUse Registers for FrameRegister
Amy Yu [Wed, 13 Jun 2018 18:53:08 +0000 (11:53 -0700)]
Use Registers for FrameRegister

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