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

Merge nmirror to master#3633

Merged
MichalStrehovsky merged 13 commits intomasterfrom
nmirror
May 17, 2017
Merged

Merge nmirror to master#3633
MichalStrehovsky merged 13 commits intomasterfrom
nmirror

Conversation

@MichalStrehovsky
Copy link
Member

No description provided.

dotnet-bot and others added 7 commits May 16, 2017 14:47
Fix compilation failures appearing in the ToF JIT category.

[tfs-changeset: 1658610]
     My previous checking in breaks projectx scenario, since I added one pinvoke RoParseTypeName whose function doesn't exists in current testilc lib folder.

     if a pinvoke with [McgGeneratedNativeCallCodeAttribute] , mcg will just skip this pinvoke
     if a pinvoke without [McgGeneratedNativeCallCodeAttribute], it will do runtime loading if you enable loadlibrary on runtime

[tfs-changeset: 1658653]
- Instead of performing lazy lookups at individual use sites, perform a single lazy lookup to get a dictionary, and then use normal canonical lookups from there
- Shares logic with USG dictionary acquisition, and with normal canonical codegen
- Add LazyGenericPolicy nob to CoreRT environment to control policy

Universal Shared Generics Changes
- Fixup EETypeNode generation for USG types
- Consider TemplateTypeLayout necessary for all universal generic canon types
- Use RhAllocLocal2 which returns a byref to the first field of the "local" object instead of the start of the object.
- Tweak USG field invoke map generation to not stop compilation. Still needs to be implemented.

[tfs-changeset: 1658670]
PeterSolMS and others added 6 commits May 17, 2017 05:10
…pparently in the failing cases, the IAT table has been corrupted.

It seems better to fail fast in these cases rather than to AV, or, even worse, crash later in even more confusing ways.

As there are already a bunch of ASSERTs in this code to sanity-check the IAT, it seems safest to turn the ASSERTs into conditional fail fast calls that are active in release build as well.

[tfs-changeset: 1658735]
Passing a negative length to an api that creates multidim
arrays throws OverflowException rather than ArgumentOutOfRangeException
(presumably due to the assumption that we overflowed while computing
the size rather than a specific bad length being passed in.)
This project builds quickly and building it avoids unpleasant surprises coming through the mirror.

[tfs-changeset: 1658774]
@MichalStrehovsky MichalStrehovsky merged commit ff16b57 into master May 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants