Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

Merge master to nmirror - #5088

Merged
jkotas merged 21 commits into
nmirrorfrom
master
Dec 10, 2017
Merged

Merge master to nmirror#5088
jkotas merged 21 commits into
nmirrorfrom
master

Conversation

@jkotas

@jkotas jkotas commented Dec 10, 2017

Copy link
Copy Markdown
Member

No description provided.

MichalStrehovsky and others added 21 commits December 1, 2017 20:07
This is fixing several problems with how we did `ToString`:
* The existing scheme required every `TypeDesc`/`MethodDesc`/`FieldDesc` descendant to override `ToString`. Of course we were not consistent with this and as a result, most of our synthetic type system entities had non-existent representation in the debugger. Overriding is a lot of boilerplate.
* We were not flexible with the stringified names. E.g. instantiated types became too long because we were module- and namespace- qualifying everything.
* (Minor) The runtime type loader was shipping with ToString support in retail configuration that was largely unused.

With the new scheme, besides fixing the problems above, I'm adding a bunch of conveniences:
* `MethodDesc` now also have signatures in their `ToString`.
* Well-known primitive types have short aliases
* System.Private prefix is shortened to S.P.

I tested that the `TYPE_LOADER_TRACE` still works after this. The runtime type loader overrides the `ToString` in all the places that matter.
Use results of whole program analysis to drive devirtualization
* Added real support for Unbox stubs to WebAssembly
Find unwind info ourselves instead of initializing unwind cursors each time.
Null Check added to GetFullPath Function in Unix

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
* Add GetReference and TryGetArray to MemoryMarshal

* Marking GetReference with AggressiveInlining

* Do not use ByReference as a return type.

* Addressing PR feedback.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
@jkotas
jkotas merged commit fec51b6 into nmirror Dec 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants