Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed code to reenable some warnings in CoreCLR #33902

Closed
wants to merge 402 commits into from
Closed

Fixed code to reenable some warnings in CoreCLR #33902

wants to merge 402 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 27, 2020

  1. Configuration menu
    Copy the full SHA
    34a19e8 View commit details
    Browse the repository at this point in the history
  2. [master] Switch to Windows Server queues (dotnet/extensions#2927)

    - add debug information for `Assert` failures in `MaximumOSVersionTest`
    - update src/TestingUtils/Microsoft.AspNetCore.Testing/test/MaximumOSVersionTest.cs
      - co-Authored-By: @Tratcher 
    - try with VS2019 queues
    - skip `MaximumOSVersion` tests on .NET due to xunit issue
      - co-authored-by: @Tratcher 
    
    
    Commit migrated from dotnet/extensions@26ff835
    dougbu authored and maryamariyan committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    62dba4f View commit details
    Browse the repository at this point in the history
  3. Remove Serilog dependency in extensions (dotnet/extensions#3040)

    * Remove Serilog dependency in extensions
    
    * Add xunit logging for shutdown tests
    
    * Need to remove dependency on AspNetCore.Testing and remove DumpCollector
    
    Commit migrated from dotnet/extensions@540b4e8
    John Luo authored and maryamariyan committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    0b8f8bc View commit details
    Browse the repository at this point in the history
  4. Add more tests

    Commit migrated from dotnet/extensions@6171c14
    sywhang authored and maryamariyan committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    4cd7907 View commit details
    Browse the repository at this point in the history
  5. Merge pull request dotnet/extensions#2957 from sywhang/dev/suwhang/fi…

    …x-logging-event-source
    
    Fix LoggingEventSource to handle null strings
    
    
    Commit migrated from dotnet/extensions@8d0fa05
    sywhang authored and maryamariyan committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    9f8fdb7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4ad8f3d View commit details
    Browse the repository at this point in the history
  7. [Host] Allow disabling reloadOnChange for Host's CreateDefaultBuilder (

    …dotnet/extensions#2940)
    
    * Add environment var to allow disabling live reload in default builder
    
    * Switch to using hostingContext, rename flag to fit nomenclature.
    
    * Change flag to memory data source. Change content root default instead of runtime default.
    
    * Update config key to be hierarchical. Change await on positive case to be longer and cancel using the reload token.
    
    * Uncomment a development test case.
    
    * Apply suggestions from code review
    
    Co-authored-by: Chris Ross <Tratcher@Outlook.com>
    
    
    Commit migrated from dotnet/extensions@64140f9
    kjerk authored and maryamariyan committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    2fd8af5 View commit details
    Browse the repository at this point in the history
  8. Need to convert from uint instead of cast here to maintain consistenc…

    …y with mono_gchandle_new_weakref_internal. (#34153)
    
    Looks like this was missed in: Unity-Technologies/mono@941a335
    
    Co-authored-by: UnityAlex <UnityAlex@users.noreply.github.com>
    monojenkins and UnityAlex committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    622d99d View commit details
    Browse the repository at this point in the history
  9. Use RtlUnwind instead of RtlUnwindEx. (#34188)

    Because the formerly uninitialized scratch context is now an input.
    jaykrell committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    6c709ca View commit details
    Browse the repository at this point in the history
  10. [interp] Constant fold also checked conversion opcodes (#33981)

    Co-authored-by: BrzVlad <BrzVlad@users.noreply.github.com>
    monojenkins and BrzVlad committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    dd9233b View commit details
    Browse the repository at this point in the history
  11. reverting libraries dependency change

    Keeping the download of corelib artifacts to check if just corelib is sufficient to build libraires.
    mangod9 committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    eb1ee34 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d307a14 View commit details
    Browse the repository at this point in the history
  13. Unwrap the TargetInvocationException when a IDispatch invoke throws. (#…

    …34201)
    
    * Unwrap the TargetInvocationException thrown during an IDispatch.
       This matches the behavior of .NET Framework.
    AaronRobinsonMSFT committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    b998b8d View commit details
    Browse the repository at this point in the history
  14. Add notifyInstructionSetUsage api to jit interface (#34209)

    * Add notifyInstructionSetUsage api to jit interface- Add api to be used when the jit is to notify the VM of any usage of higher level instruction sets- Note that this change does nothing using the api. This is merely a scaffolding change to prepare for functional changes later  - There is also scaffoling in the jit to JITDUMP any usage of the api
    
    * Code review feedback
    davidwrighton committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    469e98a View commit details
    Browse the repository at this point in the history
  15. Fixing ifdef (#34218)

    maryamariyan committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    14a2f78 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2020

  1. Configuration menu
    Copy the full SHA
    478b77f View commit details
    Browse the repository at this point in the history
  2. JIT: allow CORINFO_HELP_READYTORUN_GENERIC_HANDLE to be optimized (#3…

    …4221)
    
    This helper is idempotent and exception free, so enable it for value numbering.
    Also, no need to spill the entire eval stack for a virtual stub calls.
    
    Addresses part of #7723.
    AndyAyersMS committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    e35a19c View commit details
    Browse the repository at this point in the history
  3. Fix the coreclr outerloop build (#34223)

    Revert the warn as error as it's causing the coreclr outerloop build to
    break. Investigated fixing the warnings but there are a mix of C# and IL
    warnings. The latter I'm less sure of the fix. Reverting to unblock and
    will investigate the warnings in parallel.
    
    closes #34220
    jaredpar committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    fa70639 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a6a2a3b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fbfb35e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    46efc4d View commit details
    Browse the repository at this point in the history
  7. Add RuntimeInformation.RuntimeIdentifier (#34206)

    * Add RuntimeInformation.RuntimeIdentifier
    
    This value returns the Runtime Identifier (RID) of the current machine.
    
    Contributes to #26780
    
    * Include XML doc comments for the new property.
    
    * Consistently check for AppContext strings.
    eerhardt committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    65d5a72 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4fb3931 View commit details
    Browse the repository at this point in the history
  9. [llvm] Handle this arguments as inputs to phi nodes, i.e. for IL code…

    … doing starg.0. (#34081)
    
    <!--
    Thank you for your Pull Request!
    
    If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.
    
    Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
    -->
    
    Co-authored-by: vargaz <vargaz@users.noreply.github.com>
    monojenkins and vargaz committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    f306756 View commit details
    Browse the repository at this point in the history
  10. Move OSR related APIs to Common (#34232)

    Also unifying the style with the others that just throw.
    MichalStrehovsky committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    3410ce4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    450cd47 View commit details
    Browse the repository at this point in the history
  12. .NET Core to .NET branding changes (#33694)

    Contributes to #33680
    jkotas committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    4790673 View commit details
    Browse the repository at this point in the history
  13. Update dependencies from https://github.com/mono/linker build 2020032.…

    …4 (#34237)
    
    - ILLink.Tasks - 5.0.0-preview.3.20177.4
    
    Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
    dotnet-maestro[bot] and dotnet-maestro[bot] committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    e85e352 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    57b5d81 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6436fb6 View commit details
    Browse the repository at this point in the history
  16. Use separate key instances for span/array/array+offset test classes (#…

    …34199)
    
    Because the key object generation was done in the algorithm-specific base class,
    the triplet of interface types was using the key instances in parallel.
    
    By moving the static variable (and initialization thereof) to each of the derived
    classes, the key objects are unique per class, which matches the test parallelism.
    
    Making the classes be part of the same test collection would also solve this problem,
    which would save on a few random keygens, but would likely overall take more
    time due to the number of tests that would be moved to sequential execution.
    bartonjs committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    7557b78 View commit details
    Browse the repository at this point in the history
  17. reverting a change which is not required

    Hoping this fixes the test build.
    mangod9 committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    0683d82 View commit details
    Browse the repository at this point in the history
  18. Delete tiered-compilation-guide.md (#34242)

    This contains outdated information about tiered compilation preview
    jkotas committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    cbeeb27 View commit details
    Browse the repository at this point in the history
  19. Update SignedXml.cs (#34238)

    scott-xu committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    925837e View commit details
    Browse the repository at this point in the history
  20. Add Nightly Build feed to README.md (#34241)

    * Update README.md
    
    * Update homepage and add section to dogfooding
    
    * Link homepage to existing dogfooding.md page
    
    * Add section for Obtaining nightly builds of NuGet packages
    
    * Incorporate dotnet CLI commands
    FreddyDgh committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    917c1a8 View commit details
    Browse the repository at this point in the history
  21. Remove a couple unnecessary ToStrings in System.DirectoryServices (#3…

    …4244)
    
    These are calling ToString on a StringBuilder, but StringBuilder.Append has a StringBuilder-based overload in netcoreapp.  On other builds this will just fall back to the object-based overload, which will call ToString.
    stephentoub committed Mar 28, 2020
    Configuration menu
    Copy the full SHA
    419e949 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2020

  1. Configuration menu
    Copy the full SHA
    5eda36e View commit details
    Browse the repository at this point in the history
  2. Delete *.nativeproj projects (#34259)

    Left-over from Razzle build
    jkotas committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    bfee638 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2020

  1. Rename ArchGroup -> TargetArchitecture (#34260)

    Most places use TargetArchitecture already. These two properties seems to be always set to the same value.
    jkotas committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    19c7f5a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8772dd3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e30ff0 View commit details
    Browse the repository at this point in the history
  4. Adding runtime.depproj to libraries restore, and pretest.proj to test…

    …s.proj
    
    pretest is required to generate the Microsoft.NETCore.App.deps files for CoreRun to work correctly.
    mangod9 committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    f21a514 View commit details
    Browse the repository at this point in the history
  5. Cleanup build scripts (#34268)

    - Delete unnecessary msbuild properties (left-overs from the conversion to SDK projects)
    - Delete jit.settings.targets
    jkotas committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    38bef8c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    19e6701 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6b73ed5 View commit details
    Browse the repository at this point in the history
  8. [runtime] Allocate the memory for gshared gparams from image sets. (#…

    …34262)
    
    Fixes mono/mono#18127.
    
    <!--
    Thank you for your Pull Request!
    
    If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.
    
    Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
    -->
    
    Co-authored-by: vargaz <vargaz@users.noreply.github.com>
    monojenkins and vargaz committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    15734f9 View commit details
    Browse the repository at this point in the history
  9. [llvmonly] Avoid marking the rgctx/vtable variable indirect, its not …

    …needed. (#33955)
    
    In normal llvm mode, these variables are marked as indirect and stored to a stack slot so the EH code can access them.
    
    Co-authored-by: vargaz <vargaz@users.noreply.github.com>
    monojenkins and vargaz committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    bb848f6 View commit details
    Browse the repository at this point in the history
  10. [interp] Optimize Span<byte>.Fill (#34219)

    * [interp] Intrinsify Type.IsValueType
    
    * [interp] Intrinsify InitBlockUnaligned
    BrzVlad committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    d3366b8 View commit details
    Browse the repository at this point in the history
  11. [wasm] Throw an exception in some blocking operations in non-threaded…

    … mode. (#34265)
    
    <!--
    Thank you for your Pull Request!
    
    If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.
    
    Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
    -->
    
    Co-authored-by: vargaz <vargaz@users.noreply.github.com>
    monojenkins and vargaz committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    9168620 View commit details
    Browse the repository at this point in the history
  12. Bump maximum ICU library version in Unix System.Globalization.Native (#…

    …34095)
    
    * Bump maximum ICU library version we scan in System.Globalization.Native on Unix
    
    The maximum major version of ICU library that we start scanning at was set to 70
    (50 as the minimum supported version + 20) long time ago. The available version
    of ICU is approaching that limit (it is at 67 now).
    This change bumps the max scanned version to 80 to give us enough head space
    for a couple of years (guessing based on the current release rate)
    
    * Reflect PR feedback
    janvorli committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    829baa4 View commit details
    Browse the repository at this point in the history
  13. Add libraries -restore to test run

    since pretest needs installer.tasks.dll
    mangod9 committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    bb09589 View commit details
    Browse the repository at this point in the history
  14. Fix for changed host behaviour on app crash (#34224)

    * Switch back to only handling synchronous exceptions in host components
    
    Add native hosting tests for components with unhandled exceptions.
    
    * Switch setting /EHa to be for coreclr instead of shared default
    elinor-fung committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    ed2e6e2 View commit details
    Browse the repository at this point in the history
  15. Unifying duplicate msbuild properties in CoreCLR build (#34261)

    - __TargetOS -> TargetOS
    - __BuildType, BuildType -> Configuration
    - __BuildArch, BuildArch -> TargetArchitecture
    jkotas committed Mar 30, 2020
    1 Configuration menu
    Copy the full SHA
    59be94b View commit details
    Browse the repository at this point in the history
  16. JIT: initial workup for suppressing dumps and checks post-phase (#33305)

    Allow phases to declare what parts of jit state they might have modified,
    and suppress dumps and checks based on these declarations.
    
    Existing phases that don't know about this are handled by defaulting to
    reporting that everything might have been modified.
    
    Changed over all explicit phases to return status, as well as a handful
    of phases that are methods on the Compiler object. Also converted a few
    lambda phases into Compiler phase methods.
    AndyAyersMS committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    6de9884 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    3e4a06c View commit details
    Browse the repository at this point in the history
  18. Vectorise BitArray for ARM64 (#33749)

    * Vectorise BitArray for ARM64
    
    * Make algorithms endianness agnostic
    
    * Change loop counter to uint to prevent overflow
    
    * Fix CopyTo(bool[])
    
    * Move constant variables outside the loop
    
    * More unsigned goodness
    
    * Use span.Clear instead of Fill(0)
    Gnbrkm41 committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    8511b5b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b95caba View commit details
    Browse the repository at this point in the history
  20. fix TLS13 procesing on windows (#34181)

    * fix TLS13 procesing on windows
    
    * fix test
    
    * rework disabled renegotiation
    
    * update platform detection
    
    Co-authored-by: Tomas Weinfurt <furt@GokceOncu.middleeast.corp.microsoft.com>
    wfurt and Tomas Weinfurt committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    85a3d4e View commit details
    Browse the repository at this point in the history
  21. Fix debug symbol generation (#34154)

    * Fix debug symbol generation
    
    The debug symbol generation got recently broken. For most of the
    shared libraries, the debug symbols were stripped twice due to
    the fact that install_clr for them was invoked twice - once for
    the default install location and once for the sharedFramework
    location and the stripping was executed in both of them. First
    stripping stripped the symbols off the target binary and set
    so called debuglink in the binary to point to the symbol file.
    This debuglink includes a crc32 of the dbg symbols file.
    The second stripping tried to strip symbols from the already
    stripped binary. That resulted in a small dbg symbols file
    that didn't actually contain any useful symbols. Moreover,
    it is not possible to set a debuglink in a binary if it is
    already set there. So the second attempt failed and the crc
    was left set to the crc of the previous debug. Thus when
    debugger loads such a binary, it cannot find the debug symbols
    file, as the crc doesn't match. And even if it matched, the
    data would have no value.
    
    The fix is to modify install_clr so that it has an extra
    optional argument to specify the secondary install location and
    use just one install_clr per target. The function then does the
    stripping just once and the actual installation once or twice
    depending on the secondary location argumenbt presence.
    
    * Fix libraries and installer
    
    * Fix installer placement of lib files
    janvorli committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    b186c97 View commit details
    Browse the repository at this point in the history
  22. Generate memory barrier with inner shareable domain for ARM64 (#34227)

    Today, for volatile variable access, JIT generates "dmb oshld" which is
    a memory barrier with outer shareable domain.
    
    Coreclr uses [atomics and interlocked APIs](https://github.com/dotnet/runtime/blob/fcd862e06413a000f9cafa9d2f359226c60b9b42/src/coreclr/src/inc/volatile.h#L153)
    for memory safety and msvc / clang both generate inner shareable domain
    for them. Hence it is sensible for JIT that is compiled with
    [msvs](https://godbolt.org/z/8XEWYr) ./ [clang](https://godbolt.org/z/DMZi26)
    to generate inner shareable domain for volatile access.
    [gcc](https://godbolt.org/z/zSf4fS) too emits inner shareable domain for API
    that takes full system memory barrier.
    kunalspathak committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    b80554c View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    91d795f View commit details
    Browse the repository at this point in the history
  24. Allow coreclr_create_delegate to return pointers to NativeCallable me…

    …thods (#34270)
    
    * Allow coreclr_create_delegate to return pointers to NativeCallable methods
    
    Fixes #34266
    
    * Simplify CorHost implementation
    
    * Updated error message
    jkotas committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    54418ec View commit details
    Browse the repository at this point in the history
  25. Hoist volatile variable's access outside the loop (#34225)

    * Hoist volatile variable's access outside the loop
    
    `_tables` is a volatile object and it has `_countPerLock` volatile field.
    On ARM64, JIT generates memory barrier instruction "dmb" for every volatile
    variable access which could be expensive. This PR caches the volatile
    variables outside the loop and use cached local variables instead.
    
    Fixes: #34198
    kunalspathak committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    c14ea40 View commit details
    Browse the repository at this point in the history
  26. Add System.Type converter for JsonSerializer (#34249)

    * Add System.Type converter for JsonSerializer
    
    * Address review feedback
    
    * Remove throw helper
    layomia committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    d4d8039 View commit details
    Browse the repository at this point in the history
  27. [CBOR] Implement tag and special value support for CborWriter and Cbo…

    …rReader (#34046)
    
    * Implement tag support for CborWriter and CborReader
    
    * Implement CBOR special value support
    
    * add nested special value tests
    
    * implement half-precision float decoding; address feedback
    
    * address style
    
    * remove dead code
    
    * add checks for CBOR tags in indefinite-length collections
    
    * Update src/libraries/System.Security.Cryptography.Encoding/tests/Cbor/CborWriter.Integer.cs
    
    Co-Authored-By: Jeremy Barton <jbarton@microsoft.com>
    
    Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
    eiriktsarpalis and bartonjs committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    c3f7da2 View commit details
    Browse the repository at this point in the history
  28. Updating pretest to use TargetArchitecture

    A recent change caused this break :)
    mangod9 committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    2ec1f5a View commit details
    Browse the repository at this point in the history
  29. [mono][llvm] Improve LLVM 9 compatibility. (#34182)

    Improve LLVM 9 compatibility.
    
    Several intrinsics were removed in LLVM 7 and above; replace them with
    IR sequences that generate the desired instructions.
    
    Fix some type mismatch problems with the generated IR (in
    Sse2.StoreAlignedNonTemporal, Vector128.CreateScalarUnsafe, and
    Sse2.MaskMove); these were caught by running the coreclr hardware
    intrinsic JIT tests.
    
    Support the two-argument forms of Sse.SqrtScalar, Sse.ReciprocalScalar,
    and Sse.ReciprocalSqrtScalar.
    
    llvm::linkCoreCLRGC(), in llvm/CodeGen/GCs.h, was removed and replaced with
    llvm::linkAllBuiltinGCs(), in llvm/CodeGen/BuiltinGCs.h.
    
    In mono_llvm_dump_value and mono_llvm_dump_module, flush the c library's
    stdout stream before using (and flushing) LLVM's own buffered output
    functions.
    imhameed committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    335ffb0 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    e6c4162 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    dd6a9eb View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    0b9c8f6 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    14b22b0 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    c59ae67 View commit details
    Browse the repository at this point in the history
  35. Fix wrong assert in cgroups code (#34291)

    There is an assert in FindCgroupPath that fires when hierarchy_root
    and cgroup_path_relative_to_mount are equal, which is the case for
    cgroups that are not named. This assert checks that the common
    path in those two variables ends with / which is only the case
    with named groups.
    
    We have never seen this assert to fire because cgroups initialization
    happens before the debugger support initialization in PAL and so
    asserts are disabled at that point. I am going to fix that in a
    separate PR.
    
    This problem was discovered with the standalone GC where the assert
    actually fires as it uses a plain C assert function.
    
    This change fixes the assert to account for the case when both the
    paths are the same.
    janvorli committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    162595e View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    77dfbcf View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2020

  1. Make compCurBB available for fgMorphBlockReturn. (#34184)

    * Extract `fgMergeBlockReturn`.
    
    Morph is already a very vague verb in the Jit, try to use a more precise one.
    
    * Add a function header.
    
    * Make `compCurBB` available for `fgMorphBlockReturn`.
    
    When we generate an assignment we could need to create a new assertion, that requires `compCurBB` to be available.
    
    * Delete `INVALID_POINTER_VALUE`.
    
    I would like to remove it because:
    1) it was debug only;
    2) there were no null checks for `compHndBBtab`, because it is a dependent variable
    so there was no need to distinguish valid null pointer from a bad invalid pointer;
    3) that is the only place where this mechanism was used.
    
    * Allow to CSE the merge return ASG.
    
    I can't see a reason why it should not, there are no diffs.
    The issue with the previous version was that we did not actually know what we were marking: GT_ASG, GT_COMMA, something else? Was the idea to mark individual ASG under COMMA?
    Sergey Andreenko committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    c7a1ef6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b85563d View commit details
    Browse the repository at this point in the history
  3. Explicitly throw the OutOfMemoryException instead of relying on Share…

    …d.Rent/Array constructor. Because it can behave differently in OSX, where it supports int.MaxValue array size. (#34040)
    felipepessoto committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    562232c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d9b1a28 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    94c4b52 View commit details
    Browse the repository at this point in the history
  6. Condition before/after import in IL.Sdk for pre5.0 (#34278)

    With this, the IL SDK will continue to work when it comes to either single or multitargeting without restoring the projects in multi-targeting mode. This helps to not introduce a breaking change for 3.x SDKs.
    ViktorHofer committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    f24bf6d View commit details
    Browse the repository at this point in the history
  7. Moving runtime restore from \restore\dirs.proj

    Moved runtime restore + pretest.proj to teh tests.proj build.
    mangod9 committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    e6d4882 View commit details
    Browse the repository at this point in the history
  8. Change PublicKeyToken for M.E. src and test projects

    - Updates InternalsVisibleTo files as well
    
    - Setup Logging.EventSource.Tests
    - Fix three failing EventSourceLoggerTest tests
    - Delete file: IntegrationTesting csproj not needed.
    - Rename folder test -> tests (Logging/tests/DI.Common/tests)
    - Cleanup other csproj
    
        fix compile issue
    maryamariyan committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    87e7991 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #34208 from maryamariyan/inspection

    Extensions commit mop-up
    maryamariyan committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    96a3bfe View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e58c937 View commit details
    Browse the repository at this point in the history
  11. Streamline C heap allocations (#34289)

    - Remove unnecessary layers in heap allocation APIs
    - Delete HeapCreate/Alloc/Free/Destroy from the PAL
    jkotas committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    c74407f View commit details
    Browse the repository at this point in the history
  12. fix -allConfigurations build

    mangod9 committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    afe6717 View commit details
    Browse the repository at this point in the history
  13. [runtime] Fix a problem with PR mono/mono#19361. (#34299)

    <!--
    Thank you for your Pull Request!
    
    If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.
    
    Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
    -->
    
    Co-authored-by: vargaz <vargaz@users.noreply.github.com>
    monojenkins and vargaz committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    c2466ee View commit details
    Browse the repository at this point in the history
  14. Initial perf jitdump implementation (#33893)

    Fixes mono/mono#17024
    
    Co-authored-by: fanyang-mono <fanyang-mono@users.noreply.github.com>
    monojenkins and fanyang-mono committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    aa032a0 View commit details
    Browse the repository at this point in the history
  15. [mono] Use $(HostArch) for LLVM packages (#34322)

    * Use HostArch for LLVM packages
    
    * define HostArch for mono
    EgorBo committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    11ffcdc View commit details
    Browse the repository at this point in the history
  16. Expression.Field should validate field name for null (#34301)

    Small change to correctly check for null in one of the overloads of Expression.Field.
    vitek-karas committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    eadf2c7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    be469ad View commit details
    Browse the repository at this point in the history
  18. [mono] Implement Environment.GetFolderPath on iOS (#34022)

    * Implement Environment.GetFolderPath on iOS
    
    * Address feedback
    
    * Move GetFolderPathCore to Environment.Unix.GetFolderPathCore.cs
    
    * Fix build issue
    
    * Address feedback
    
    * cache all special directories
    
    * Fix build issue
    
    * remove a whitespace
    
    * Fix UserProfile issue
    
    * undo changes in GetEnvironmentVariableCore
    
    * Update Environment.Unix.Mono.cs
    
    * Extract to InternalGetEnvironmentVariable
    
    * Fix build issue
    
    * Return emtpy string if underlying native function returns null
    
    * Add nullability
    EgorBo committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    372bf42 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a082f9c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    ffa07d3 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    85bf770 View commit details
    Browse the repository at this point in the history
  22. Guard against deserializing types with open generics (#34163)

    * Guard against deserializing types with open generics
    
    * Include serialization tests
    
    * Address review feedback
    
    * Address review feedback
    layomia committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    f973e96 View commit details
    Browse the repository at this point in the history
  23. Cache parameterized ctor delegates in class info rather than converter (

    #34248)
    
    * Cache parameterized ctor delegates in class info rather than converter
    
    * Address review feedback - move delegate assignment to start of deserialization
    
    * Address review feedback - nullability
    layomia committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    90d1b62 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    6bdcd8e View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    fec325d View commit details
    Browse the repository at this point in the history
  26. [debugger] Adding static to ss_req_acquire and ss_req_count (#34327)

    Adding static to ss_req_acquire and ss_req_count
    Fixes mono/mono#19389
    
    Co-authored-by: thaystg <thaystg@users.noreply.github.com>
    monojenkins and thaystg committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    57eb3bd View commit details
    Browse the repository at this point in the history
  27. NativeCallable bugfixes (#34335)

    - Fix race condition in JIT_ReversePInvokeEnter
    - Disable R2R for x86 on all platforms
    jkotas committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    a9ace0f View commit details
    Browse the repository at this point in the history
  28. Initial proposal for P/Invokes via Source Generators (#33742)

    * Initial proposal for P/Invokes via Source Generators.
    AaronRobinsonMSFT committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    852080e View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    45b2095 View commit details
    Browse the repository at this point in the history
  30. add support for FreeBSD cross-compilation (#34000)

    * add support for FreeBSD cross-compilation
    
    * feedback from review
    
    * update detection
    
    * add openssl to docs
    
    * feedback from reviews
    
    * feedback from reviews
    
    * final cleanup
    
    * feedback from reviews
    
    * simplify detection of route.h
    
    * correct __CrossBuild detection
    
    * use TargetOS for installer
    wfurt committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    595a95c View commit details
    Browse the repository at this point in the history
  31. Fix ProfileTailCallNaked so it doesn't write xmm1 past the end of its…

    … stack (#33908)
    
    * Fix ProfileTailCallNaked so it doesn't write xmm1 past the end of its stack, and do some documentation/refactoring.
    
    * code review feedback
    davmason committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    03f252c View commit details
    Browse the repository at this point in the history
  32. libraries test should depend on full product

    This fix is similar to artifact download logic done in build-base.yml
    mangod9 committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    dfef8c3 View commit details
    Browse the repository at this point in the history
  33. [FileSystem] ReAdd check for same device (#34343)

    Co-authored-by: Mitchell Hwang <mihw@microsoft.com>
    mdh1418 and mdh1418 committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    8876693 View commit details
    Browse the repository at this point in the history
  34. Fixing intellisense in vscode for src and ref projects (#34025)

    * fixing intel for ref and src
    
    * fixing ref and src intell
    
    * renaming props file
    
    * remove extra property
    
    * fixing the intellisense in tests
    
    * add extra line
    
    * addressing feedback
    
    * revert shim path
    
    * fix allconfig restore
    
    * adding comment
    Anipik committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    9a14b86 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    2e4d00a View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2020

  1. Configuration menu
    Copy the full SHA
    669d749 View commit details
    Browse the repository at this point in the history
  2. Disable test based on 34178 (#34179)

    * Disable test based on 34178
    
    * Try with */*
    
    * Fix diff
    Jarret Shook committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    8e8090c View commit details
    Browse the repository at this point in the history
  3. Fix System.Data.SqlClient baseline (#34352)

    * Fix System.Data.SqlClient version
    
    Fixes #34351
    
    * Update Microsoft.Windows.Compatibility.pkgproj
    mmitche committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    2ad6913 View commit details
    Browse the repository at this point in the history
  4. Disable Bitmap round-tripping tests for old libgdiplus versions (#34354)

    * Fix filename typo
    
    * Disable Bitmap round-tripping tests for old libgdiplus versions
    
    Old libgdiplus versions have uninitialized stack variable bug that makes Bitmap round-tripping unreliable. The bug causes Bitmap.Flags, Bitmap.HorizontalResolution and Bitmap.VerticalResolution properties to be set to bogus values if the stack happens to contain certain bit patterns. This bug was fixed for libgdiplus 6 by mono/libgdiplus@81e45a1#diff-c96a8261ecb168c12b44248208da21c0R118.
    
    * Fix and simplify gdiplus library loading
    jkotas committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    e1fa5d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    77f8f7c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    564a5d6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0ff46ab View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a4fa31e View commit details
    Browse the repository at this point in the history
  9. Remove duplicated .gitignore patterns (#34281)

    pi1024e committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    97af1e4 View commit details
    Browse the repository at this point in the history
  10. [mono] Fix setMArch, getArchName() doesn't work as expected (#34368)

    Turns out `llvm::Triple(llvm::sys::getDefaultTargetTriple()).getArchName()` doesn't work as expected on all targets so the only option is to set arch via defines.
    
    NOTE: it accepts "x86-64", not "x86_64
    EgorBo committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    ab45b51 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    42dfd0d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ba6a143 View commit details
    Browse the repository at this point in the history
  13. Disable test on windows and enable on other platforms (#34331)

    * Disable test on windows and enable on other platforms
    
    * Remove mac from test
    Jan Jahoda committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    9f2b294 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    676cb17 View commit details
    Browse the repository at this point in the history
  15. Update ownership of area-System.ServiceModel (#34408)

    Stephen Bonikowsky is no longer on the WCF team, updating ownership.
    StephenBonikowsky committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    87050f5 View commit details
    Browse the repository at this point in the history
  16. [mono] Fix finalizer thread init in iOS sample (#34405)

    Starting with mono/mono#16907 , the runtime ends in GC-Safe state (mode) after mono_jit_init_version() is called. mono_gc_init_finalizer_thread() expects the GC to not already be in safe mode.
    alexischr committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    796dc8e View commit details
    Browse the repository at this point in the history
  17. [wasm] Throw an exception when trying to start a thread instead of as…

    …serting. (#34347)
    
    <!--
    Thank you for your Pull Request!
    
    If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.
    
    Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
    -->
    
    Co-authored-by: vargaz <vargaz@users.noreply.github.com>
    monojenkins and vargaz committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    15abeaa View commit details
    Browse the repository at this point in the history
  18. Ensure generic parameter constraint type is included when building im…

    …age (#34346)
    
    sets.
    
    This fixes: https://issuetracker.unity3d.com/issues/editor-crash-when-entering-and-exiting-playmode-for-a-few-times-with-microsoft-maps-sdk
    
    @joncham and I were working on this we hit the two asserts that I've removed. We were wondering if they were still needed?
    
    <!--
    Thank you for your Pull Request!
    
    If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.
    
    Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
    -->
    
    Co-authored-by: UnityAlex <UnityAlex@users.noreply.github.com>
    monojenkins and UnityAlex committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    bf4b572 View commit details
    Browse the repository at this point in the history
  19. Perf followup for Pinned Object Heap (#34215)

    * free list bucket skipping
    
    * couple more tweaks
    
    * More size buckets in POH free lists
    
    * static_data_table
    
    * PR feedback
    
    * off-by-one error in BASE_LOH_ALIST_BITS
    VSadov committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    45ed8fd View commit details
    Browse the repository at this point in the history
  20. update perf jitdump for ppc64/ppc64le and s390x (#34373)

    Add missing constants to handle ppc64/ppc64le and s390x platforms.
    
    Related: mono/mono@68a8b92
    Fixes: mono/mono#19402
    
    
    Co-authored-by: sharkcz <sharkcz@users.noreply.github.com>
    monojenkins and sharkcz committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    a7f3efb View commit details
    Browse the repository at this point in the history
  21. Report correct max depth in exception message (#34410)

    Co-authored-by: Thomas Levesque <thomaslevesque@users.noreply.github.com>
    thomaslevesque and thomaslevesque committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    fd7c2ce View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b5d044d View commit details
    Browse the repository at this point in the history
  23. PR Comments

    mangod9 committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    56bf4c0 View commit details
    Browse the repository at this point in the history
  24. typo fix :(

    mangod9 committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    18e5190 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. Fix write behind allocated memory in thread name setting (#34424)

    The code in CorUnix::InternalSetThreadDescription is writing behind
    the end of the allocated memory in case the name is shorter than 16
    characters. That is causing memory heap corruption.
    janvorli committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    c03c529 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e76db3a View commit details
    Browse the repository at this point in the history
  3. Eliminate dead configuration code (#34285)

    * Eliminate dead configuration code
    
    * Remove more dead code
    
    * Eliminating EEConfig::GetConfiguration_DontUse_
    
    * Eliminate EEConfig::GetConfigValueCallback
    
    * Eliminate ConfigSearch
    cshung committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    e98c471 View commit details
    Browse the repository at this point in the history
  4. Delete Ubuntu 14.04 conditions (#34361)

    Ubuntu 14.04 is no longer supported.
    jkotas committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    45f58f9 View commit details
    Browse the repository at this point in the history
  5. Add test for native library load through AssemblyLoadContext.LoadUnma…

    …nagedDll (#34425)
    
    * Reorganize the NativeLibrary tests to be in one root folder and build/use the same native library for testing
    
    * Add test for AssemblyLoadContext.LoadUnmanagedDll
    elinor-fung committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    4a57527 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    907b5ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e3c15b0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a4a1c8b View commit details
    Browse the repository at this point in the history
  9. Fix crossgen2 delegates to static generic methods (#34370)

    In crossgen2 we convert all methods to their canon versions in
    CreateMethodEntrypointNodeHelper, which causes a problem for
    delegates set to generic static methods. When these methods are called
    via a delegate, at runtime it gets a hidden generic argument that
    is a MethodDesc of a canon version of the static method instead of the
    specific instantiation.
    
    I've investigated why we convert all methods to their canon versions in
    the CreateMethodEntrypointNodeHelper and I've found a PR by @trylek
    in CoreRT repo that has introduced it. I've discussed that with him, but
    he wasn't able to figure out why the change was made and it seems like
    it was mostly accidental or fixing some problem that no longer exists.
    
    Removing this conversion fixes the problem and I have verified that it
    doesn't introduce new ones by running both pri 1 CoreCLR tests and the
    libraries tests. It has also made the diff between code generated by
    crossgen1 and crossgen2 e.g. for System.Private.CoreLib.dll smaller.
    janvorli committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    ba80c1d View commit details
    Browse the repository at this point in the history
  10. Enhance PAL initialization order (#34308)

    * Enhance PAL initialization order
    
    The CGroups initialization has _ASSERTE that is not asserting because
    debugging support was being initialized after the CGroups initialization.
    
    This change moves the debugging support initialization to the earliest
    possible point. It also modifies it so that it doesn't depend on the
    PAL env functions and uses getenv instead. And finally, initialization
    of the critical section for debug printf is moved to the very end
    of DBG_init_channels just as a little cleanup.
    janvorli committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    2b09375 View commit details
    Browse the repository at this point in the history
  11. Fix ordering of the instructions (#34447)

    Command for opening Visual Studio works from root folder,
    but not inside library folder as was implied by ordering in the instructions.
    kant2002 committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    3945610 View commit details
    Browse the repository at this point in the history
  12. R2RDump fixes for parsing composite images (#34429)

    1. Fixed several inconsistencies w.r.t. signature context in
    recursive descent into generic signatures based on offline
    investigation with JanV.
    
    2. Don't crash the dump upon invalid UTF8 characters.
    
    Thanks
    
    Tomas
    trylek committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    a95705d View commit details
    Browse the repository at this point in the history
  13. Fix large version bubble field offset computation (#34401)

    This change fixes two bugs in field offset computation where the results
    that crossgen2 was getting was different from what runtime computes. In
    both cases, the problem was caused by alignment of a derived class being
    done differently.
    The first issue was happening for the case when the base and derived
    classes are in different assemblies. Runtime detect if two assemblies
    are in the same version bubble using the native manifest metadata table
    containing a list of assemblies that was supposed to contain all
    assemblies that the assembly being compiled was found to reference.
    However, it contained only assemblies that were not in the original
    assembly reference list, e.g. ones pulled in by inlining. So runtime
    wasn't getting the same view on what's in the bubble.
    The second issue happened for the case when both the base and derived
    class were from the same assembly, but one of the ancestor classes had a
    field of a value class type that was from another assembly and could be
    transitively decomposed to fields of types from the same assembly or types
    like primitive types, object, pointer or enums. The alignment of a derived
    class members is determined based on that and runtime decision is to
    align if there is any type from another assembly in the type hierarchy
    of a class or in fields of any ancestors.
    For example, the decision would be different for the following scenario:
    Assembly A:
    struct AA
    {
        int a;
    }
    Assembly B:
    class B1
    {
        AA aa;
    }
    class B2 : B1
    {
        int x;
    }
    Here crossgen2 would not align the first member but runtime would. So the
    layout of B2 produced by crossgen2 would be:
    ```
    Offset  Field
    0       MethodTable
    8       a
    12      x
    ```
    Layout produced by the runtime would be
    ```
    Offset  Field
    0       MethodTable
    8       a
    16      x
    ```
    
    The fix for the first issue is to put all referenced assemblies into the
    native manifest metadata.
    The fix for the second issue is to stop decomposing members of value
    classes once we hit a value class that's from another module.
    janvorli committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    c8b9cf1 View commit details
    Browse the repository at this point in the history
  14. Update WASM image (#34421)

    Move to an Ubuntu image which has the `en_US.UTF-8` locale available.
    This should remove the spurious warning that we're seeing during
    PR / CI
    
    closes #34280
    jaredpar committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    7dab162 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #34166 from mangod9/master

    Add support for building S.P.CoreLib in a separate job
    mangod9 committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    b927233 View commit details
    Browse the repository at this point in the history
  16. Prevent return address hijacking of NativeCallable method

    We have seen a failure in the CI where the OnHijackWorkerTripThread was
    called in preemptive mode and so a contract in Thread::SetFrame down its
    call chain has fired when checking that the thread is in cooperative
    mode.
    I have found that the issue is caused by hijacking a NativeCallable
    method. Such methods switch to preemptive mode before they return and so
    when they are hijacked, the OnHijackWorkerTripThread is called in
    preemptive mode.
    
    The fix is to prevent return address hijacking for NativeCallable
    methods.
    janvorli committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    70715fb View commit details
    Browse the repository at this point in the history
  17. [wasm][debugger] Add support for visualizing valuetypes (#33604)

    Co-authored-by: radical <radical@users.noreply.github.com>
    monojenkins and radical committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    90689b2 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d5e9504 View commit details
    Browse the repository at this point in the history
  19. fix iOS sample build (#34455)

    EgorBo committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    b68f9d1 View commit details
    Browse the repository at this point in the history
  20. [meta] Add mono_type_get_name_full to public API (#34436)

    This is needed by Xamarin.Android to be able to round-trip with names fetched via reflection, as the only public API for this (mono_type_get_name) uses the IL format instead.
    CoffeeFlux committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    6a27404 View commit details
    Browse the repository at this point in the history
  21. Add build configuration to generate runtime packs for iOS (#34050)

    This adds support for generating Microsoft.NETCore.App.Runtime packs for ios-x64, ios-arm, and ios-arm64.
    steveisok committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    61d1e78 View commit details
    Browse the repository at this point in the history
  22. Experimental pgo tool (#34433)

    * Experimental pgo tool
    - Experiment and rough design going forward for providing profile data to the compiler
    
    * Update build so dotnet-pgo is built
    davidwrighton committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    1c74287 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    73d8178 View commit details
    Browse the repository at this point in the history
  24. Move the reverse pinvoke frame check to EECodeManager

    Reflects PR feedback.
    janvorli committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    a2f2bb9 View commit details
    Browse the repository at this point in the history
  25. Enable warn as error for libraries (#34457)

    This enables warn as error for the libraries jobs now that our builds
    are warning free.
    jaredpar committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    3c1010c View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2020

  1. 1 Configuration menu
    Copy the full SHA
    8398e53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8259df7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    221f869 View commit details
    Browse the repository at this point in the history
  4. Disable iOS arm PR builds (#34467)

    * Disable iOS arm PR builds
    
    Infrastructure issue: #34465
    
    * Add tracking issue and disable installer iOS arm build too
    akoeplinger committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    0375524 View commit details
    Browse the repository at this point in the history
  5. Fix Unix build break

    janvorli committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    c815129 View commit details
    Browse the repository at this point in the history
  6. Fix two issues detected by Valgrind (#34462)

    * Fix two issues detected by Valgrind
    
    When I have used Valgrind to investigate a memory corruption issue recently,
    I've noticed that it has also reported two cases when a conditional jump
    was using an uninitialized variable as one of the inputs to the condition.
    
    This change fixes these.
    janvorli committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    83bbaba View commit details
    Browse the repository at this point in the history
  7. [mono][sre] Add an expected attribute on underlying fields of enum cl…

    …asses (#34212)
    
    Follow CoreCLR's example and add the RTSpecialName type attribute to any class field with the 'value__' name when , used as the value store for enumeration class instances.
    
    Second part of the "RTSpecialName fix" that started with #33389 - before, our behavior was to add the RTSpecialName immediately, as soon as the EnumBuilder was constructed.
    Contributes to #2389
    alexischr committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    be828d1 View commit details
    Browse the repository at this point in the history
  8. [sgen] Implement api for allocating pinned arrays (#34398)

    * [sgen] Add support for allocating pinned array
    
    These objects will end up allocated either in LOS (which is by design not moved around) or into special major blocks where compaction doesn't take place.
    
    * [sgen] Be consistent with coreclr on GC api
    
    * Enable GC tests for pinned array allocation
    
    * Skip large array allocation test on mono
    BrzVlad committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    6d3dc44 View commit details
    Browse the repository at this point in the history
  9. Fix subsetCategory is just one - not two -- (#34498)

    Otherwise fails with:
    ```
    MSBUILD : error MSB1001: Unknown switch.
    Switch: --subsetCategory
    ```
    on Windows
    nietras committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    39db2a8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0b246c0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    07187e3 View commit details
    Browse the repository at this point in the history
  12. Port CoreCLR's TypeNameBuilder to C#, and use it in Mono too (#33701)

    * Port CoreCLR's TypeNameBuilder to C#, and use it in Mono too
    
    Mono's System.Reflection.Emit creates type names that fail to be normalized or shaped in all ways that CoreCLR does.
    
    Port CoreCLR's mixed-mode thread-unsafe implementation to thread-safe C#, and start using it in Mono for names in TypeBuilder.
    
    Fixes issues with e.g. null-delimited type names being passed to different Reflection.Emit builders. Contributes to #2389.
    alexischr committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    3ab97fc View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    fd60286 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    66ded9c View commit details
    Browse the repository at this point in the history
  15. Parallel Builds PRv2 (#34460)

    * simplify libraries build dependencies.
    
    * FIx depends for tests
    
    * Fix artifact name for webAssembly
    mangod9 committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    dad74cc View commit details
    Browse the repository at this point in the history
  16. Crossgen2 fixes to enable composite build with shared framework (#34431)

    These changes involve targeted fixes to issues seen due to the new
    build mode and generic signature encoding fixes identified in
    my offline investigation with JanV. While I locally see the tests
    passing with just a handful of failures, I still seem unable to
    make the tests run in the lab; I keep investigating that but
    I believe it's useful to merge this delta in to let us parallelize
    follow-up efforts.
    
    Thanks
    
    Tomas
    trylek committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    b8c9296 View commit details
    Browse the repository at this point in the history
  17. Disable iOS_arm builds on official builds too (#34504)

    It started failing with the same issue as #34465
    akoeplinger committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    c64c31a View commit details
    Browse the repository at this point in the history
  18. [CBOR] Add a CborReader.SkipValue() method (#34477)

    * Add a CborReader.SkipValue() method
    
    * revert reader state format error changes
    
    * refactor skip from recursive to imperative
    
    * use non-allocating skips for string data items
    
    * add a test for extremely nested values
    
    * remove blank line
    
    * consolidate SkipString() methods
    eiriktsarpalis committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    223b843 View commit details
    Browse the repository at this point in the history
  19. Socket.Windows: support ConnectAsync(SocketAsyncEventArgs) for UDP, a…

    …nd Unix sockets (#33674)
    
    Socket.Windows: support ConnectAsync(SocketAsyncEventArgs) for non-stream protocols
    tmds committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    b755ba9 View commit details
    Browse the repository at this point in the history
  20. Enable nullable reference types for mono's Corelib (#34400)

    * Enable nullable reference types for mono's Corelib
    
    Corelib had nullable reference types enabled, but all warnings were suppressed.  This fixes the thousands of warnings that were being hidden and fully enables nullable reference types for mono's corelib, as it is for coreclr's corelib.
    
    I copied over the public API annotations from coreclr's corelib and tried to annotate the mono source as accurately as possible.  However, I'm 100% sure there are issues, both places I misexpressed the contract of an internal API and places where I suppresed warnings with `!` where it likely could actually null ref.  Along the way, when there was an obvious null ref where coreclr was doing a null check and providing different behavior, I fixed it or at least added a comment, but I expect there are more issues lurking.
    
    * Fix iOS build for GetSpecialFolder
    
    * Address PR feedback
    stephentoub committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    5cd7e97 View commit details
    Browse the repository at this point in the history
  21. Add profiler tests to the runtime repo (#34411)

    Ports GCBasic, ReJIT, and EventPipe tests as well as adds a test that verifies profilers can call MetaDataGetDispenser.
    davmason committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    c21c7fd View commit details
    Browse the repository at this point in the history
  22. Hardware instruction set support for crossgen2 (#33274)

    - Add support for the --instruction-set parameter as described in #226 . 
    NOTE: As the abi for Vector parameters is not yet stable, support for the --instruction-set parameter is only enabled if --inputbubble is also enabled. Parallel work to stabilize the abi is in progress, but is not complete.
    ALSO NOTE: The names of the instruction sets are shared with mono, and don't follow the names in issue #226
    - Add concept of baseline instruction set support to R2R file format 
    - Can be applied at a per method level or at the entire R2R file level
      - R2RDump support for dumping the extra data
    - Refactor how support for hardware intrinsics beyond SSE2 support are handled in crossgen2 
    - Add feature to the JIT to detect which hardware features are actually used
      - Tell the JIT unconditionally that SSE42+Lzcnt+Popcnt+Pclmulqdq are supported
      - But if support beyond the --instruction-set specified baseline is used, notate the method with a per-method instruction set support fixup.
      - This enables usage of many intrinsics in corelib with greater efficiency than today
      - This enables usage of SSE42 and below intrinsics safely in non-CoreLib code. Use of higher level intrinsics in non CoreLib code will generate code which does not use the higher level intrinsic, and note that the method's code should not be used in the presence of hardware which does support greater CPU capabilities. 
      - In the future a logical enhancement of this work would be to generate multiple bodies of code to handle these more complex cases.
      - In combination with the --instruction-set argument, if Avx2 is enabled, then the logic gracefully adds a dependency on Avx2 capability and Vector<T> becomes useable by crossgen'd code.
    davidwrighton committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    5ac25ac View commit details
    Browse the repository at this point in the history
  23. Moving more Tfm specific properties to the targetFramework.props file (

    …#34349)
    
    * follow up
    
    * other occurences
    
    * fixing compiler services failure
    Anipik committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    1ac25b4 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2020

  1. Configuration menu
    Copy the full SHA
    4dde980 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f209e6 View commit details
    Browse the repository at this point in the history
  3. BitOperations arm64 intrinsic for LeadingZeroCount, TrailingZeroCount…

    … and Log2 (#34486)
    
    ARM64 intrinsic for:
    - LeadingZeroCount
    - Log2
    - TrailingZeroCount
    kunalspathak committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    510efdf View commit details
    Browse the repository at this point in the history
  4. Move DependencyModel to libraries (#34296)

    * Move DependencyModel to libraries
    
    Moving DependencyModel to the same folder and infrastructure as the rest of our libraries, and out of the installer folder.
    
    I also dropped support for anything below netstandard2.0 at this time.
    
    Contributes to #3470
    Fix #3425
    
    * Exclude DependencyModel in shims and package checks since it has a duplicated type with System.Collections.
    
    * Harvest previous TFM assets from the previously shipped package.
    
    This also means we start building DependencyModel for net461 to ensure full framework support works correctly, and doesn't pick up the old net451 asset.
    
    * Fix unit tests to consistently pass on core and netfx.
    
    * Add back HashCodeCombiner as obsolete.
    
    * Fix DependencyModel pkg build to reference the correct version of Newtonsoft.Json for the harvested package assets.
    
    * Adding IgnoredTypes for Serialization.Primitives in netcoreapp1.0 and netcoreapp1.1
    
    Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
    eerhardt and joperezr committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    b93829c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4e179eb View commit details
    Browse the repository at this point in the history
  6. [wasm][debugger] Improve array visualization (#34482)

    TODO: viz for multidim arrays
    
    Co-authored-by: radical <radical@users.noreply.github.com>
    monojenkins and radical committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    121659c View commit details
    Browse the repository at this point in the history
  7. Fix testhost publish condition and omptimize assets we publish in off…

    …icial builds (#34469)
    
    * Fix testhost publish condition and omptimize assets we publish in official builds
    
    * Publish ref/ folder in official builds as it is needed for the installer build
    
    * Just validate all assets paths when IncludeOOB* is true
    safern committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    7955318 View commit details
    Browse the repository at this point in the history
  8. [wasm] Wasm TimeZoneInfo implementation VFS (#34186)

    Right now WebAssembly does not have an implementation for TimeZoneInfo and instead throws exceptions.
    
    This is an alternate implementation of mono/mono#17617 that loads the zone information into the webassembly virtual file system using a pre-loaded file package.
    
    __BCL Changes__
    TimeZoneInfo implementation for WebAssembly to read from WASM VFS `/zoneinfo`.
    - Remove `TimeZoneInfo.WebAssembly.cs` file
    - Remove source dependencies on `TimeZoneInfo.WebAssembly.cs`.
    - Modify TimeZoneInfo for specific WASM functionality
       - Default root directory is `zoneinfo`
       -  Add icall `mono_timezone_get_local_name` for WASM in CreateLocal
    - Add icall implementation
       - ves_icall_System_TimeZoneInfo_mono_timezone_get_local_name
    
    __WASM Runtime Build__
    
    - Add `-s FORCE_FILESYSTEM=1` to mono wasm runtime build
       - Required so that it includes support for loading pre preload packages
       * Message when generating the zoneinfo data.
       > Remember to build the main file with  -s FORCE_FILESYSTEM=1  so that it includes support for loading this file package
    - Add targets to run time zone tests.
       - make run-tzd-sample
       - make run-tzd-interp-sample
       - make run-tzd-aot-sample
    - Modify `runtime-tests.js` to load and parse the zoneinfo data manually to load into the VFS.
    
    __WASM Driver - aka `driver.c`__
    
    - Add implementations of the following:
       - mono_timezone_get_local_name
    
    These will be called from the managed bcl module `TimeZoneInfo.cs` module.
    
    __packager.exe__
    - Add `-s FORCE_FILESYSTEM=1`
       - Required so that it includes support for loading pre preload packages
       * Message when generating the zoneinfo data.
       > Remember to build the main file with  -s FORCE_FILESYSTEM=1  so that it includes support for
    
    __Zone Info data and support files__
    
    - Three files for zoneinfo VFS support.
       - `mono-webassembly-zoneinfo-fs-smd.js.metadata` - This is the separate metadata output by emscripten file-packager.  Used to parse the zoneinfo data in non browser environments.  See `runtime-tests.js`
       - `mono-webassembly-zoneinfo-fs.js` - Output by emscripten file-packager that will be referenced by browser environments to load the zoneinfo data into the VFS at `/zoneinfo`
       - `zoneinfo.data` - The binary file output by emscripten file-packager.  The file contains the actual zoneinfo data loaded into the VFS and parsed by `TimeZoneInfo`.
    
    The packages are generated automatically and the repo is temporarily at:  https://github.com/kjpou1/mono-webassembly-zoneinfo
    
    There are some limitations to this method where the file packages generated by the emscripten [file_packager](https://emscripten.org/docs/porting/files/packaging_files.html#packaging-using-the-file-packager-tool) only runs within a web browser.
    
    Special consideration is needed to load the VFS with the data outside of browser.  See modification for `runtime-tests.js` where the zoneinfo data is parsed manually and loaded into the VFS.  We may need to create our own file packager to handle some of the other cases.
    
    Co-authored-by: kjpou1 <kjpou1@users.noreply.github.com>
    monojenkins and kjpou1 committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    a605729 View commit details
    Browse the repository at this point in the history
  9. Fixup more package dependencies for Microsoft.Windows.Compatibility (#…

    …34479)
    
    A few more dependencies on removed packages. System.Reflection.Emit*
    mmitche committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    5e6b441 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9f0c540 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9d23b84 View commit details
    Browse the repository at this point in the history
  12. Update formatting (#34538)

    bsivanov committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    97b95ad View commit details
    Browse the repository at this point in the history
  13. Memory leak during marshal failure. (#34533)

    Minor code cleanup to make the logic clearer.
    AaronRobinsonMSFT committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    363b7ad View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d818d33 View commit details
    Browse the repository at this point in the history
  15. Add test for max depth in exception message (#34528)

    Co-authored-by: Thomas Levesque <thomaslevesque@users.noreply.github.com>
    thomaslevesque and thomaslevesque committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    6069f59 View commit details
    Browse the repository at this point in the history
  16. [debugger] Bump protocol for multi threaded single step implementation (

    #34531)
    
    As suggested by @jbevain we should bump the protocol to implement multi threaded single step.
    
    Co-authored-by: thaystg <thaystg@users.noreply.github.com>
    monojenkins and thaystg committed Apr 4, 2020
    Configuration menu
    Copy the full SHA
    e253ff3 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2020

  1. Adds scripting guide doc (#34539)

    Scripting guide for Shell, PowerShell and CMD files for styling or other guidance.
    
    Fixes #9317
    marcusturewicz committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    59ec53e View commit details
    Browse the repository at this point in the history
  2. Fix host linker options to have -Bsymbolic (#34534)

    * Fix host linker options to have -Bsymbolic
    
    * Remove -Bsymbolic-functions
    elinor-fung committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    a9ce822 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d600eab View commit details
    Browse the repository at this point in the history
  4. [WIP] LLVM changes (#33847)

    <!--
    Thank you for your Pull Request!
    
    If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.
    
    Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
    -->
    
    Co-authored-by: vargaz <vargaz@users.noreply.github.com>
    monojenkins and vargaz committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    6509062 View commit details
    Browse the repository at this point in the history
  5. Fix memory leak in SuperPMI (#34523)

    Introduced by change to Heap APIs. Also fixes a long-existing
    memory leak on Linux.
    
    Introduce a small, simple class to keep track of memory allocations
    associated with the CompileResult that we need to free. In the replay
    case, SuperPMI allocates these (such as for the JIT calling allocMem).
    In the case of collection, the VM allocates memory for allocMem (and related),
    so that memory doesn't need to be tracked.
    BruceForstall committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    6996928 View commit details
    Browse the repository at this point in the history
  6. [llvm] Enable optimizations for LLVM 9 JIT. (#34555)

    Share more code between LLVM 6 and LLVM 9.
    
    Mangler::getNameWithPrefix takes a Twine, not a std::string, so use a
    StringRef to avoid an unnecessary allocation.
    
    InstructionCombiningPass grew a dependency on
    ProfileSummaryInfoWrapperPass in
    dotnet/llvm-project@09e539f,
    which depends on the enclosing FunctionPassManager having a valid
    reference to a module. This commit adds a dummy module to satisfy this,
    instead of recreating a new FunctionPassManager on every compilation.
    (See also
    http://lists.llvm.org/pipermail/llvm-dev/2019-March/130690.html.)
    
    Co-authored-by: imhameed <imhameed@users.noreply.github.com>
    monojenkins and imhameed committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    68625db View commit details
    Browse the repository at this point in the history
  7. Support ECParameters that contain only D on Windows and Linux

    If D (private key) is supplied but not the public key (Q), permit
    this and allow the platform to re-calculate the public key from
    the private key.
    
    * Windows uses CNG blobs with the Q.X and Q.Y values set to (0,0).
    * LInux uses the ECC math module to recompute Q from D and G.
    * macOS is TBD.
    vcsjones committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    6d395de View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. Fix incorrect assumption around the presence of ICF frames in EH code…

    …base for 64-bit targets (#34526)
    Fadi Hanna committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    59ca590 View commit details
    Browse the repository at this point in the history
  2. Enable restore for ref and src projects in libs (#33553)

    - Use RestoreUseStaticGraphEvaluation which improves no-op restore by 10-15x down to 10-20 seconds.
    - .builds msbuild files renamed to .proj as RestoreUseStaticGraphEvaluation throws for non .proj files without an env var set.
    - Introducing subsets for libraries and mono and replacing -buildtests switch which was only working for libraries in favor of the subset switch -subset tests which works consistently.
    - Fixing the Microsoft.DotNet.CodeAnalysis analyzer which wasn't running and adding missing exclusions.
    - Separating restore and build phases in different parts in the repo (ie for installer.tasks) as generated props and targets need to be imported which requires a reevaluation in the build phase.
    - Fix eng/docker/build-docker-sdk.ps1 by using the official build entrypoints (cc @alnikola)
    - Remove a few depprojs in favor of project restore (faster restore :))
    - Fix root code coverage measurement not working correctly
    - Traversal support instead of dir.traversal.targets or manual build target defines.
    - Introduce a root Build.proj entrypoint which is responsible for building and restoring the repository. This is necessary to enable the new NuGet fast restore which works best and fastest with a single entrypoint.
    - Avoid binclashes in libraries and between libraries and installer (netstandard.depproj vs netstandard.csproj)
    - Upgrading the SDK to 5.0 latest
    - Code cleanup
    ViktorHofer committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    42183b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f96b428 View commit details
    Browse the repository at this point in the history
  4. Remove entry point helper scripts (#33756)

    * Remove entry point helper scripts
    
    The entry point helper scripts were useful during the consolidation of
    the repositories. This work is mostly done and the build.cmd/sh script
    should be used, going forward.
    ViktorHofer committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    62112b0 View commit details
    Browse the repository at this point in the history
  5. Changed triggered by the StringBuilder analyzer (#34574)

    Prashanth Govindarajan committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    3e0b19f View commit details
    Browse the repository at this point in the history
  6. Add cgroup v2 support to coreclr

    Upstream cgroup v2 documentation is available at:
    https://www.kernel.org/doc/Documentation/cgroup-v2.txt
    
    Some notable differences between cgroup v1 and v2, from a coreclr point
    of view, include:
    
    - cgroup v2 has a single hierarchy, so we just look for a single "cgroup2"
      entry in /proc/self/mountinfo (without looking for a subsystem match).
    
    - Since cgroup v2 has a single hierarchy, /proc/self/cgroup generally
      has a single line "0::/path". There's no need to match subsystems or
      hierarchy ids here.
    
    - "memory.limit_in_bytes" is now "memory.max". It can contain the
      literal "max" to indicate no limit.
    
    - "memory.usage_in_bytes" is now "memory.current"
    
    - "cpu.cfs_quota_us" and "cpu.cfs_period_us" have been combined into a
      single "cpu.max" file with the format "$MAX $PERIOD". The max value
      can be a literal "max" to indicate a limit is not active.
    
    It is possible to have both cgroup v1 and v2 enabled on a host (but not
    inside a container, AFAIK). In that case, this change will pick one
    based on /sys/fs/cgroup.
    omajid committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    392dd8b View commit details
    Browse the repository at this point in the history
  7. Fix Linux x86 build (#34548)

    * Fix Linux x86 build
    
    Related to #33005
    
    * Fix Linux x86 build
    
    Related to #33653, #33005
    
    * Fix Linux x86 build
    
    Related to #32250
    gbalykov committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    9a58ab8 View commit details
    Browse the repository at this point in the history
  8. Fix contructor attributes nullability in S.R.E.CustomAttributeBuilder (

    …#34556)
    
    * Fix contructor attributes nullability in S.R.E.CustomAttributeBuilder
    
    Fixes #819
    
    * Finalise nullable
    
    * Updates ref
    marcusturewicz committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    f0e5bcd View commit details
    Browse the repository at this point in the history
  9. Add build configuration to generate runtime packs for Android (#34192)

    * [installer] Include Android into installer
    
    * [eng] Provide Android with just Microsoft.NETCore.App.Runtime
    
    * Attempt to make same changes from iOS PR
    
    Co-authored-by: Mitchell Hwang <mihw@microsoft.com>
    mdh1418 and mdh1418 committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    99aa064 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e622160 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5346d57 View commit details
    Browse the repository at this point in the history
  12. Enable more nullable reference types in asn.xslt.

    string and Oid types on Choice can be null.
    Reference types that are @optional can be null.
    
    Also, remove #nullable enable, because all projects that include the ASN.1 generate files should already have nullable enable project-wide.
    vcsjones committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    986518e View commit details
    Browse the repository at this point in the history
  13. [llvm] Define a separate symbol for the aot method info for every met…

    …hod. Pass this symbol to the init functions instead of the method index. (#34009)
    
    This removes a dependency the generated code has on the method index, hopefully allowing separate compilation etc. in the future.
    
    <!--
    Thank you for your Pull Request!
    
    If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.
    
    Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
    -->
    
    Co-authored-by: vargaz <vargaz@users.noreply.github.com>
    monojenkins and vargaz committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    aa5341b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1d4e945 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d02ee5b View commit details
    Browse the repository at this point in the history
  16. Adds de/serialization support for JsonDocument (#34537)

    * Adds deserialization support for JsonDocument
    
    This change adds support to `System.Text.Json` for deserializing `JsonDocument`.
    
    Specifically, an internal converter `JsonDocumentConverter` is added to the default converter dictionary.
    
    I have created a basic test, but I feel more could be done here, and it may not be in the right file/class - some guidance would be helpful here.
    
    Fixes #1573
    
    * Adds JsonDocumentTests
    
    * Dispose JsonDocument
    marcusturewicz committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    5dcf3de View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

  1. [mono] Implement Arm intrinsics: ArmBase, Crc32 (#34240)

    * Implement Arm.ArmBase and Arm.Crc32 intrinsics
    EgorBo committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    81fe6be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9cb4931 View commit details
    Browse the repository at this point in the history
  3. moving more tfm dependent properties to targets file (#34532)

    * moving more tfm dependent properties to targets file
    
    * correct allconfig build
    
    * shimrefpath -> runtime and indentation
    Anipik committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    ba9dd79 View commit details
    Browse the repository at this point in the history
  4. Add back support for Delegate field marshaling (#34620)

    * Block route trip of function pointer as Delegate field.
    Add tests for scenario.
    
    * Update MarshalStructAsParamDLL.cpp
    AaronRobinsonMSFT committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    9ddbf5f View commit details
    Browse the repository at this point in the history
  5. Use valid instructions in StubPrecode and NDirectImportPrecode on x64 (

    …#34611)
    
    StubPrecode and NDirectImportPrecode precoded used undefined instruction
    encodings on x64 due to copy&paste from x86. Change them to use valid
    instructions.
    jkotas committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    1f0c9cd View commit details
    Browse the repository at this point in the history
  6. Change FrameworkName to .NET (#34615)

    Fixes #33680
    jkotas committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    410b992 View commit details
    Browse the repository at this point in the history
  7. Fix IsBlittable flag bug on types. (#34613)

    The issue is that we are automatically assuming that types are blittable until proven otherwise while traversing the list of fields declared on the type. In the case of a type with no fields, we have to also check if the parent type is blittable, before blindly setting the flag to true (Ex: what if the base type has non-blittable fields?)
    Fadi Hanna committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    247b657 View commit details
    Browse the repository at this point in the history
  8. Add cgroup v2 support to coreclr (#34334)

    Upstream cgroup v2 documentation is available at:
    https://www.kernel.org/doc/Documentation/cgroup-v2.txt
    
    Some notable differences between cgroup v1 and v2, from a coreclr point
    of view, include:
    
    - cgroup v2 has a single hierarchy, so we just look for a single "cgroup2"
      entry in /proc/self/mountinfo (without looking for a subsystem match).
    
    - Since cgroup v2 has a single hierarchy, /proc/self/cgroup generally
      has a single line "0::/path". There's no need to match subsystems or
      hierarchy ids here.
    
    - "memory.limit_in_bytes" is now "memory.max". It can contain the
      literal "max" to indicate no limit.
    
    - "memory.usage_in_bytes" is now "memory.current"
    
    - "cpu.cfs_quota_us" and "cpu.cfs_period_us" have been combined into a
      single "cpu.max" file with the format "$MAX $PERIOD". The max value
      can be a literal "max" to indicate a limit is not active.
    
    It is possible to have both cgroup v1 and v2 enabled on a host (but not
    inside a container, AFAIK). In that case, this change will pick one
    based on /sys/fs/cgroup.
    janvorli committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    caab744 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6a5349f View commit details
    Browse the repository at this point in the history
  10. Merge pull request #34468 from janvorli/fix-native-callable-method-hi…

    …jack
    
    Prevent return address hijacking of NativeCallable method
    janvorli committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    c69845b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    19a3cb1 View commit details
    Browse the repository at this point in the history
  12. Restore followup (#34632)

    * Remove dead yml file
    
    * Fix installer prepare for publish
    ViktorHofer committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    29ed7be View commit details
    Browse the repository at this point in the history
  13. Fix ObjectDisposedException in FileSystemWatcher.OSX.cs (#34589)

    Synchronize access to disposing the SafeHandle, and clean up some code distributed oddly between the ctor and Start, so as to make more fields readonly and only register for cancellation once everything has started, to avoid race conditions that could otherwise result between cancellation and starting happening concurrently.
    stephentoub committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    8aa97da View commit details
    Browse the repository at this point in the history
  14. Feed cleanup (#34044)

    * Feed cleanup
    
    Move away from blob feeds.
    
    * Add dotnet5 feed
    * Update version of System.CommandLine.Experimental
    * Revert to released versions in SuperILC and R2RDump
    * Don't remove public feeds for tests
    mmitche committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    39cde70 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    60acb6c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    cfe41ad View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    67fe344 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5e809a4 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    86a4c8d View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    51687e5 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    b53ea6c View commit details
    Browse the repository at this point in the history
  22. Fixed a comment.

    ivdiazsa committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    bea41c2 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    bdbb4d2 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    51e4e13 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2a8c507 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    fc467a1 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    3aa8db8 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    32f0fa0 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    656c660 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    beb4e99 View commit details
    Browse the repository at this point in the history