* Add MachO dump writer to createdump
Instead of the hacky ELF core dumps on MacOS now createdump generates true MachO dumps.
Setting the COMPlus_DbgEnableElfDumpOnMacOS environment variable is no longer needed.
Add special thread info memory region containing the OS thread ids missing from macho core dumps. This allows SOS to map the thread indexes to thread ids. The address (0x7fffffff00000000) of this special memory region is above the highest user address (0x0007FFFFFFFFF000) and below a kernel reserved address (0xffffff8000xxxxxx) which is kind of moot because dumps don't include any kernel regions. lldb seems just fine with this memory region.
The changes include ARM64 support also, but since I don't have a M1 device I can't build/test them. I'm hoping Steve can at least review them.
Add --verbose/TRACE_VERBOSE support to tone down all the macho dump generation spew.
Issue: #48664
* Fix build problem
* Update docs
* Code review feedback
Co-authored-by: Juan Sebastian Hoyos Ayala <[email protected]>
We have a bunch of test assemblies that don't make sense on some platforms, e.g. Browser.
Right now we're skipping them via `[SkipOnMono("reason", TestPlatforms.Browser)]` but there's nothing that inherently ties this to Mono other than the current implementation.
The more generic `SkipOnPlatform` attribute can be used instead.
We can also use it in places where we do `[PlatformSpecific(~TestPlatforms....)]` to avoid the double inversion.
* Crossgen2 implementation of new MVID R2R section
* Runtime checks for assembly MVIDs against native images
* Basic R2RDump support for dumping the manifest assembly MVID table.
* R2R minor version increment; format spec update
Thanks
Tomas
* Add obsolete attribute to DisablePrivateReflectionAttribute
* Attribute added to ref file
* fix ref file and attribute
* Add new diagnostic ID
* Fix obsolete attribute
* Fix obsolete attribute in ref file
* Add new obsoletion ID to documentation
* Removed all references of DisablePrivateReflection in src/coreclr
* Fixed error message of obsoletion
* Fixed documentation
* Removed reference of DisablePrivateReflection
* Add NoWarn for new obsoletion ID
* Add pragma to tests
* Fix error message of new obsoletion
* Fix new obsoletion description in documentation
- Add merge command as designed earlier
- Add new typesystem variant that works based exclusively on the typerefs in existing mibc files and can operate without references to implementation binaries
- Re-use ibc reader/merger from crossgen2 codebase
- Increase usability of the tool
- Set default verbosity to normal
- Normal verbosity prints a relatively limited amount of output
Did a second search of master in the repo since all the M2M changes went
in and found some remaining places that weren't included in the
previous change.
- Add a document describing the behavior and how it is expected to be used.
- Rework the existing command line handling to implement the proposed create-mibc command. (the merge command is still entirely TBD).
* Making System.Resources.ResourceManager trim safe
* Addressing PR Feedback
* Rename objects => types
* Also rename the strings.resx
* More PR Feedback
* Add UnconditionalSuppressMessage to Extensions
* Rename feature switch and reword error messages
* Removing new warning that is already addressed
* Rename AppContext switch and add feature switch to docs
* Addressing Feedback
* Revert changes to findtype plus some other feedback
* Revert FindType back
* move feature check up
* Adding non ectensions library to transport package and moving transport package to all config leg
* update servicing policy doc
* change name from Microsoft.Extensions.Internal.Transport -> Microsoft.AspNetCore.Internal.Transport
* make isAspnetCore property explicit
* csproj to proj change
* remove non used extensions assemblies from transport package
* Update Directory.Build.props