Commit Graph
2057 Commits
Author SHA1 Message Date
Mike McLaughlinandJuan Sebastian Hoyos Ayala 79ad10cf22 Add MachO dump writer to createdump (#51150)
* 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]>
2021-04-15 21:45:55 +00:00
Aleksey Kliger (λgeek) 03ea0528ae [design] Mono runtime components (#49913)
* [design] MonoVM Runtime Components

* Add details about writing a new component

* Update design doc to reflect latest changes in the prototype
2021-04-13 10:55:34 -04:00
Ankit Jain 8d102e3fc2 [wasm][tests] Enable line numbers in stack traces (#50893) 2021-04-12 13:01:25 -04:00
Pavel Savara 8969ae68d9 make emsdk installation instructions clear on which version need to be installed (#51071)
* make emsdk installation instructions clear on which version need to be installed

* whitespace

* Radek's feedback
2021-04-12 11:17:20 -04:00
Alexander Köplinger bc9f00c226 Cleanup PlatformSpecific/SkipOnMono attributes that skip a platform (#50907)
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.
2021-04-09 13:20:18 +02:00
erhanatesoglu aa64d2e712 Fixed broken link (#50964)
The link to xunit on github has changed.
2021-04-08 17:56:01 -04:00
8b25350be2 Add design document for Mobile runtimeconfig.json host configuration (#50744)
* Add design document for Mobile runtimeconfig.json host configuration

* Remove tailing space

* Address review feedbacks

* Update docs/design/mono/mobile-runtimeconfig-json.md

Co-authored-by: Aleksey Kliger (λgeek) <[email protected]>

* Add the missing word

* Update docs/design/mono/mobile-runtimeconfig-json.md

Co-authored-by: Aleksey Kliger (λgeek) <[email protected]>

* Remove more tailing spaces

* Update docs/design/mono/mobile-runtimeconfig-json.md

Co-authored-by: Ryan Lucia <[email protected]>

* Update docs/design/mono/mobile-runtimeconfig-json.md

Co-authored-by: Ryan Lucia <[email protected]>

* Update docs/design/mono/mobile-runtimeconfig-json.md

Co-authored-by: Ryan Lucia <[email protected]>

* Update docs/design/mono/mobile-runtimeconfig-json.md

Co-authored-by: Ryan Lucia <[email protected]>

* Update docs/design/mono/mobile-runtimeconfig-json.md

Co-authored-by: Ryan Lucia <[email protected]>

* Update docs/design/mono/mobile-runtimeconfig-json.md

Co-authored-by: Ryan Lucia <[email protected]>

* Update docs/design/mono/mobile-runtimeconfig-json.md

Co-authored-by: Ryan Lucia <[email protected]>

* Address more review feedbacks

Co-authored-by: Aleksey Kliger (λgeek) <[email protected]>
Co-authored-by: Ryan Lucia <[email protected]>
2021-04-08 15:19:20 -04:00
Elinor Fung 5ca4992150 Clarify instructions for building individual test with native dependency (#50869) 2021-04-07 13:59:03 -07:00
Ankit Jain 8a1101d2b5 [wasm][tests] Add properties to allow passing args to xharness (#50678)
* [wasm][tests] Add properties to allow passing args to xharness

New properties:
- `$(WasmXHarnessArgs)`
- `$(WasmXHarnessMonoArgs)`
- `$(WasmTestAppArgs)`

Xharness command line is built with these:

`dotnet xharness wasm test .. $(WasmXHarnessArgs) .. -- $(WasmXHarnessMonoArgs) .. --run .. $(WasmTestAppArgs)`

* [wasm][tests] extract wasm bits into tests.wasm.targets

* [wasm] set EMSDK_PATH for makefile run-tests- targets

* [wasm] Update target dependencies for wasm

* Don't overwrite RunScriptCommand, thus fixing wasm build tests

* Track property name changes
2021-04-07 13:06:55 -04:00
Jeremy Koritzinsky a211e4fed9 Clarify that Ninja is required for the default build experience. (#50809) 2021-04-06 14:20:40 -07:00
Jeremy KoritzinskyandJuan Hoyos 8c2158f9fe Make Ninja the default CMake generator on Windows for the repo (#49715)
Co-authored-by: Juan Hoyos <[email protected]>
2021-04-05 09:28:04 -07:00
Ryan Lucia 240fcec9d8 Update iOS workflow docs to clarify simulator/device os split (#50366) 2021-04-05 07:55:20 -04:00
SingleAccretion af5eae3c87 Delete missed mono/netcore from the documentation (#50557) 2021-04-01 09:27:57 -04:00
Prashanth GovindarajanandEric Erhardt 3c135c5c38 Prohibit BF unless the app opts in (#48527)
* Prohibit BF unless the app opts in

* Address feedback

* First unit test

* 2nd unit test. Checkpoint

* sq

* sq

* sq

* Address Levi's feedback

* sq

* Address nits

* Linker changes and tests

* sq

* sq

* Linker warnings ids

* Address comments

* Change trimming test so linker can detect a pattern

* sq

* Address comments

* sq

Co-authored-by: Eric Erhardt <[email protected]>
2021-03-31 13:08:23 -07:00
Fan Yang 1ce7460578 Update testing-android.md (#50484) 2021-03-31 10:03:27 -07:00
Eric Erhardt 99f4062f8e Add documentation on ILLink files (#50302)
* Add documentation on ILLink files

* Add link to ILLink-files from project-guidelines
2021-03-28 16:52:37 -05:00
Stephen Toub 0817e748b7 Seal internal types in libraries (#50225) 2021-03-25 20:50:33 -04:00
Steve Pfister bc5b227c9f Remove openssl dependency from android (#49282) 2021-03-23 00:17:12 -04:00
Elinor Fung 5738f60553 Update coreclr test doc to call out LibrariesConfiguration (#50002)
Include build configuration in error message about missing artifacts
2021-03-22 18:02:26 -07:00
Jan Kotas a938d2a5b4 Update minimum recommended cmake version for Windows (#49961) 2021-03-22 09:16:27 -07:00
David Wrighton eebf52c641 Move default interfaces spec to common ecma335 addenda location (#49914) 2021-03-19 16:19:58 -07:00
Elinor Fung a4c89d6b52 Clarify host testing instructions (#49797) 2021-03-18 09:30:37 -07:00
Michelle McDaniel 6f12c00fbd Update aka.ms links (#48924)
* Update aka.ms links

* Temporarily remove the symbols, nethost and badge links
2021-03-18 15:22:06 +01:00
Tomáš Rylek 3f28d48301 Add runtime MVID checks for composite images (#49668)
* 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
2021-03-17 20:55:49 +01:00
Vladimir Sadov 696ab57691 Update area-owners.md (#49769)
Added myself to hosting areas.
2021-03-17 11:08:18 -07:00
Annchous 0b7bcf0f9c Add obsolete attribute to DisablePrivateReflectionAttribute (#49550)
* 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
2021-03-17 09:42:19 -04:00
Viktor Hofer 6d23851116 Update buildtriage.md (#49651)
* Update buildtriage.md
2021-03-15 19:12:06 +01:00
Dong-Heon Jung 0779a4fd49 Minor fix in dotnet-pgo.md (#49527) 2021-03-12 14:38:03 -08:00
lindexi cb620ffe09 Fix link in covariant-return-methods.md (#49356) 2021-03-09 06:47:00 -05:00
CadenJi 9a70e7a688 Rule number correction (#49288) 2021-03-08 06:39:08 -05:00
David Wrighton 8a4d712069 Dotnet pgo phase2 (#49087)
- 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
2021-03-04 18:08:48 -08:00
Steve MacLean e422345323 Apple Silicon platform detection (#49155)
* Add Apple Silicon PlatformDetection

* Disable OSVersion_ValidVersion_OSX on Apple Silicon

* Update docs
2021-03-04 17:28:07 -05:00
Thays Grazia bd543ce548 [mono] update readme.md to run sample (#49034)
run-sample does not exist anymore in makefile
2021-03-03 09:01:00 +01:00
Egor Bogatov 8df235a28f Android / iOS / tvOS specific HttpClientHandler (#47083)
Implements #46646 and #47083 (comment)

Per https://github.com/dotnet/designs/blob/main/accepted/2020/mono-convergence/platform-specific-httpclient.md , the default HttpClientHandler will be the native handler specific to Android, iOS, and tvOS.

To fall back to SocketsHttpHandler, simply set the System.Net.Http.UseNativeHttpHandler AppContext switch.

AppContext.SetSwitch("System.Net.Http.UseNativeHttpHandler", true);
2021-03-02 13:26:18 -05:00
Viktor Hofer e52568de3d Address remaning master mentions that should be main (#48904)
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.
2021-03-01 13:08:32 +01:00
Viktor Hofer 3553284bea Rename mention to master branch to main (#48824) 2021-03-01 10:09:31 +01:00
Eirik Tsarpalis 3101998135 Update area ownership for System.Diagnostics.Process 2021-02-26 12:22:52 -08:00
David Wrighton 8065f95970 Revamp dotnet-pgo arguments (#48680)
- 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).
2021-02-25 13:35:32 -08:00
Eirik Tsarpalis 8483e9edc8 Update build syntax in mono build docs (#48754) 2021-02-25 15:13:17 +00:00
Jeremy Koritzinsky 86eacff9d9 Threadpool autorelease (#47592) 2021-02-23 17:19:16 -08:00
Juan Hoyos 8a3fd5a065 Update workflow doc to include a rough disk size minimum requirement (#48657)
* Update workflow doc to include a rough disk size minimum requirement
2021-02-23 20:10:26 +01:00
SingleAccretion 9a3e8667e6 Make it clear the subset flag can be omitted (#47691)
* Make it clear the subset flag can be omitted

* Just mention that the subset flag can be implicit
2021-02-23 09:25:02 -08:00
Anirudh AgnihotryandDan Moseley 6a4878096e Add disabling test policy to the docs (#48575)
* add disabling test policy

* Update docs/infra/buildtriage.md

Co-authored-by: Dan Moseley <[email protected]>
2021-02-21 13:47:14 -08:00
Adeel Mujahid 5d04c9e9e8 Move corehost under src/native (#48071)
* Move corehost under src/native

* Move content out of cli/ directory

* Update configurations post-move

* Update docs
2021-02-13 08:33:56 -08:00
Karel Zikmund 81b2decd2b Update area-owners.md (#48099) 2021-02-10 06:48:42 -08:00
SingleAccretion 171812ba74 Mention tiering support in the tutorial (#48047) 2021-02-09 09:31:26 -05:00
Dan Moseley a088dd291f Fix build break in markdown lint (#48041) 2021-02-08 22:11:22 -08:00
Jose Perez Rodriguez 744f1ffe55 Resolve ILLink warnings for System.Resources.ResourceManager (#47778)
* 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
2021-02-08 20:44:48 +00:00
Youssef VictorandDan Moseley 5d5c3e7a58 Enable markdownlint rule (MD009) (#40887)
* Create markdownlint.yml

* Create markdownlint-problem-matcher.json

* Create .markdownlint.json

* Update .markdownlint.json

* fix violations

* fixes

* Remove "push" section

As advised by @viktorhofer so it's quite clear it only runs in CI.

Co-authored-by: Dan Moseley <[email protected]>
2021-02-08 10:43:40 -08:00
Anirudh Agnihotry a66b4e3bf5 Single Transport Package for aspnetcore (#47684)
* 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
2021-02-08 00:03:31 -08:00