1. 22 2月, 2021 9 次提交
  2. 21 2月, 2021 6 次提交
  3. 20 2月, 2021 13 次提交
  4. 19 2月, 2021 12 次提交
    • E
      Remove trimming attributes from any assembly. (#48424) · 781e039a
      Eric Erhardt 提交于
      * Remove trimming attributes from any assembly.
      
      These attributes are allowed to be in any assembly, for assemblies that are built using older TFMs where the attributes didn't exist.
      
      Fix #48399
      
      * Remove nullable attributes as well.
      781e039a
    • N
    • D
      [master] Update dependencies from dotnet/xharness (#48452) · 9286fdc3
      dotnet-maestro[bot] 提交于
      [master] Update dependencies from dotnet/xharness
      9286fdc3
    • E
      Expand PriorityQueue test coverage (#48420) · adc73fb5
      Eirik Tsarpalis 提交于
      * make comparer field readonly
      
      * abstract IComparer in PriorityQueue generic tests
      
      does minor refactorings and adds new tests
      
      * add PriorityQueue property tests
      
      * address feedback
      
      * add seed for deterministic runs
      
      * apply var fixes in property tests
      
      * replace FsCheck properties with theories
      adc73fb5
    • D
      Removing myself from codeowners file (#48502) · e2707084
      David Karlaš 提交于
      In past I was involved in mono/debugger-agent.c, but not anymore, hence removing myself from CODEOWNERS file
      e2707084
    • V
      [interp] Small interp tweaks (#48412) · 51d8e981
      Vlad Brezae 提交于
      * [interp] Fix overflow in PROFILE_INTERP log
      
      * [interp] Replace LDFLDA of offset 0 field with MOV
      
      Commonly used when accessing first field of valuetypes, eg span operations. Will help with cprop and remove redundant instruction.
      
      * [interp] Remove redundant opcode
      51d8e981
    • M
      e6cc4ae3
    • D
      Update dependencies from https://github.com/mono/linker build 20210218.4 (#48493) · 040ffb57
      dotnet-maestro[bot] 提交于
      [master] Update dependencies from mono/linker
      040ffb57
    • E
      2b16be05
    • Z
      [mono] More domain cleanups. (#48291) · 417aa900
      Zoltan Varga 提交于
      * Remove the MonoClassRuntimeInfo structure, store the runtime vtable directly in MonoClass.
      
      * Remove the 'domain' argument from mono_class_vtable_checked ().
      
      * Remove the 'domain' argument from the object allocation functions.
      
      * Remove the 'domain' argument from the m_.._alloc methods.
      
      * Revert accidental changes.
      
      * Remove more unused 'domain' parameters.
      
      * Remove more remoting code.
      
      * Remove shared code support.
      
      * Remove the 'domain' argument from the IMT builder functions.
      
      * Remove the 'domain' argument from the m_method_ functions.
      
      * Remove more domain usage from the JIT backends.
      
      * Remove the MONO_ARCH_HAVE_PATCH_CODE_NEW ifdef, all architectures support it now.
      
      * Remove 'domain' argument from mini_jit_info_table_find ().
      
      * Remove 'domain' argument from mono_arch_unwind_frame ().
      
      * Remove unused/unfinished AOT cache code.
      
      * Remove the 'domain' argument from mono_resolve_patch_target ().
      
      * Remove domains from the stack walk/exception handling code.
      
      * Remove domains from mono-debug.c.
      
      The memory in mono-debug.c is now owned by a MonoMemoryManager instead of by a domain.
      
      * Remove unused mono-mlist.{h,c}.
      
      * Fix the coverage profiler build.
      
      * Fix the build.
      417aa900
    • D
    • A
      [wasm] Improve AOT builds (#48184) · 464208f5
      Ankit Jain 提交于
      * [wasm] pack: Let the workload configure the runtime pack path
      
      * [wasm] update webassembly pack description
      
      * [wasm] Makefile: fix being able to `make build`
      
      * [wasm] Fix AOT compilation to work before publish
      
      Instead of using runtime pack, and other assemblies from the
      publish folder, we are now using them directly from the source
      location. This means that `System.Private.CoreLib` can be in a different
      directory, than the assembly being precompiled.
      
      So, we need to set `MONO_PATH` to the relevant paths that will have the assemblies.
      
      This manifests during blazor workload based builds.
      
      * [wasm][aot] Don't strip the source assemblies in place
      
      Currently we run `mono-cil-strip` on assemblies, in the AOT case, but we
      do that in-place.
      
      This is problematic because the assemblies from the runtime pack will
      get modified in their original location (nuget/etc), since we don't use
      them from the publish folder anymore.
      
      - This would mean that a subsequent attempt to build with AOT would fail
        because now the original assemblies are already stripped!
      
      - this also becomes apparent if you have the runtime pack installed in a
        system dotnet folder, eg. as a pack - `/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.browser-wasm/`,
        because a regular user wouldn't have permissions to modify that.
      
      Solution: Write the stripped assemblies into the obj dir
      
      * [wasm] Make the final list of wasm assemblies as an item
      
      - Blazor skips the generation of the app bundle when running
       `WasmBuildApp` target.
      - Because of the previous commit, the locations for the final assemblies
        could be different (when aot+stripping), which needs to be surfaced
        for blazor. So, generate a `@(WasmAssembliesFinal)` item for that.
      
      * [wasm] Allow enabling assert messages with $(MonoEnableAssertMessages)
      
      * [wasm][aot] WasmApp.targets: check that we have .bc file for each assembly
      
      Just a sanity check to ensure that due to some build authoring error, we
      are not building dotnet.js/wasm with no .bc files! That just shows up as
      an assert:
      
      `* Assertion at /Users/radical/dev/r3/src/mono/mono/mini/aot-runtime.c:2651, condition `<disabled>' not met`
      
      .. which is:
          `g_assert (info->version == MONO_AOT_FILE_VERSION);`
      
      ..  `0 != MONO_AOT_FILE_VERSION`
      
      * [wasm] remove UsingTask for non-exitant WasmAOT
      
      * MonoCrossAot pkg: use mono-aot-cross.exe on windows
      
      * [wasm] Fix up emscripten command invocations for windows
      
      * [wasm] WasmApp.targets: move some property inits closer to their use
      
      * [wasm] fix build for browser-profile sample
      
      * [wasm] fix emcc invocation for getting the version
      
      * [wasm] Add new RunWithEmSdkEnv task
      
      * [wasm] Use `RunWithEmSdkEnv` to run `emcc` commands
      
      * [wasm] AotCompiler: use platform specific path separator
      
      * [wasm] RunWithEmSdkEnv: quote path on windows
      
      * [wasm] Use new ReadEmccVersion to get the versions
      
      This simplifies the target too, and works on windows.
      
      * Update src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.MonoCrossAOT.Sdk.props
      Co-authored-by: NPranav K <prkrishn@hotmail.com>
      
      * fix messageimportance for debug msg
      
      * Fix emcc invocation on windows, thanks to @pranavkm
      
      * Don't strip assemblies with mono-cil-strip for aotinterp mode
      
      * [wasm] Remove ReadEmccVersion task, and use msbuild to get the version
      
      .. string instead. We do this by looking for the line with `'emcc'` in
      it, since the other lines are the license text. Hopefully, this isn't
      too brittle, since we are invoking `emcc --version`.
      
      * Fix emcc version extraction to not depend on a specific string
      Co-authored-by: NPranav K <prkrishn@hotmail.com>
      464208f5