1. 22 2月, 2021 2 次提交
  2. 21 2月, 2021 6 次提交
  3. 20 2月, 2021 13 次提交
  4. 19 2月, 2021 19 次提交
    • 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
    • E
      Do not emit Avx2 instruction `vpcmpeqd ymmReg, ymmReg, ymmReg` for... · e730cd85
      Egor Chesakov 提交于
      Do not emit Avx2 instruction `vpcmpeqd ymmReg, ymmReg, ymmReg` for `Vector256<T>.AllBitsSet` intrinsic when Avx2 is not supported (#48383)
      
      Emit `vcmptrueps ymmReg, ymmReg, ymmReg` instead
      e730cd85
    • A
      Probe libnuma.so.1.0.0 before its symlinks (#48133) · 1db079d1
      Adeel Mujahid 提交于
      On Linux, libnuma.so{.1} are symlinks to libnuma.so.1.0.0.
      
      When installed from default package manager; Ubuntu (libnuma-dev) and
      Alpine (numactl-dev), found these two symlinks:
      `{libnuma.so,libnuma.so.1} -> libnuma.so.1.0.0`
      
      On Fedora (numactl-libs):
      `libnuma.so.1 -> libnuma.so.1.0.0`
      (there is no version-less variant)
      
      PR adjusts probing fallback flow based on this info.
      1db079d1
    • K
      Use newer microsoft.com certificate chain in X.509 tests · e712bfc0
      Kevin Jones 提交于
      The old certificate chain used a root certificate that is deprecated
      and is starting to disappear from some trust stores. The removal of
      the root certificate led to a few failing tests, and other tests not
      running since they were conditional on the trust of that certificate.
      e712bfc0
    • D
      Add runs for Alpine performance measurement (#47304) · c56c169a
      Drew Scoggins 提交于
      * WIP
      
      * Add Alpine specific steps
      
      * Fix musl string
      
      * Fix musl string
      
      * Add comment block
      
      * Update Helix precommand for Alpine
      
      * Add container support for Perf leg
      
      * Remove dupe container
      
      * Add apk installs
      
      * Add libgdiplus
      
      * Fix typo and remove --force-install from pip command
      
      * Remove --force-reinstall from Alpine job
      
      * Add pip upgrade step
      
      * Add cargo install
      
      * Add back full runs
      
      * Remove PR line
      
      * Remove temp files
      
      * Fix spacing issue
      c56c169a
    • E
      Resolve ILLink warnings in System.Linq.Queryable (#48305) · 4c83a869
      Eric Erhardt 提交于
      * Resolve ILLink warnings in System.Linq.Queryable
      
      Contributes to #45623
      
      * Respond to PR feedback.
      
      Annotate public AsQueryable() method as RequiresUnreferencedCode.
      4c83a869
    • M
      Add hot reload apply changes API: AssemblyExtensions.ApplyUpdate (#48366) · 3464c888
      Mike McLaughlin 提交于
      Add hot reload apply changes API: AssemblyExtensions.ApplyUpdate
      
      Issue: https://github.com/dotnet/runtime/issues/45689
      
      Currently Windows only. Fail hot reload API if debugging.
      
      Added some simple invalid parameter testing to the new ApplyUpdate API. 
      3464c888
    • S
      Fix AV in NativeRuntimeEventSource QCalls (#48414) · ae401454
      Sung Yoon Whang 提交于
      * Fix AV in NativeRuntimeEventSource QCalls
      
      * Add test
      
      * Use WriteEventCore APIs to emit events on Mono
      
      * Separate out Mono/CoreCLR implementations to different files
      
      * Fix wasm build
      ae401454