1. 17 7月, 2022 6 次提交
    • A
      Fix typos (#72314) · 3ea30ed3
      Adeel Mujahid 提交于
      * Fix typos
      
      * Cleanup trailing whitespaces in committed files
      
      * Revert a macro for win32 compat
      
      * Disambiguate test data method
      
      * Revert XMLPath test which rely on external assets
      
      * Revert whitespace change in Xml tests
      
      * Revert ClrEtwAl and ILLink.Shared
      
      * Revert crossgen2 props/targets and *.wxl
      3ea30ed3
    • M
      Properly calculate the ELF unwind info section size (#72146) · cd5e461e
      Mike McLaughlin 提交于
      Properly calculate the ELF unwind info section size
      
      Uses the same method that windbg does to calculate the eh_frame section size by partial decoding the FDE/CIE's enough to figure out the total size. We can't use the .eh_frame section because ELF module sections are not in-memory.
      
      Change the ReadMemoryAdapter passed to the new PAL_GetUnwindInfoSize function to read memory directly and not add it to the memory region list
      cd5e461e
    • A
      072eda8d
    • C
      Implement ICorProfilerInfo13 to support object handle creation/destruction/access (#71257) · 4d4ddf9a
      chrisnas 提交于
      * Implement ICorProfilerInfo13 to support object handle creation/destruction/access
      
      * Add test for ICorProfilerInfo13 methods about handle management
      
      * Fix compilation issues
      
      * Remove TAB
      
      * Fix build issues
      
      * Complete handles test
      
      * Fix Linux compilation error
      
      * Fix test build issue
      
      * Improve handles test
      
      * Fix build error
      
      * Add logs in handles test
      
      * Add type information to handles test logs
      
      * Take review comments into account
      
      * Add logs to handles test
      
      * Fix test error
      4d4ddf9a
    • M
      Implement `Stream.HasOverridenBeginEndXXX` (#72252) · fae53141
      Michal Strehovský 提交于
      Fixes dotnet/corert#3251.
      
      `Stream.HasOverriddenBeginEndRead`/`Stream.HasOverriddenBeginEndWrite` are magic methods that call into the runtime on both CoreCLR and Mono to find out whether `Stream.BeginRead`/`EndRead`/`BeginWrite`/`EndWrite` are overriden on the current class.
      
      Since we don't have a runtime in NativeAOT, implement this in the compiler. The answer to this question is expressible in IL: load function pointer to the method virtually and non-virtually and compare. I'm not calling into `FunctionPointerOps` because I can't imagine a scenario where this wouldn't work, but I can be persuaded to call to `FunctionPointerOps` to do the comparison.
      
      Should make us pass all System.IO libraries tests.
      fae53141
    • D
      Always generate metadata for dynamic methods (#72315) · 96cac6b6
      David Mason 提交于
      96cac6b6
  2. 16 7月, 2022 5 次提交
  3. 15 7月, 2022 7 次提交
  4. 14 7月, 2022 9 次提交
  5. 13 7月, 2022 10 次提交
  6. 12 7月, 2022 3 次提交
    • M
      Various createdump fixes. Smaller MacOS dump size, better logging/stats, misc... · f7671633
      Mike McLaughlin 提交于
      Various createdump fixes. Smaller MacOS dump size, better logging/stats, misc cleanup, etc. (#71569)
      
      * Fix where CombineMemoryRegions is called and perf fix for PAGE_SIZE on MacOS M1
      
      * Remove MEMORY_REGION_FLAG_MEMORY_BACKED flags because it was always set now
      
      * Add better memory tracing and memory region stats
      
      Fix MacOS native module regions when overlapping with existing.
      
      Fix MacOS adding the managed modules to the module mapping list before the "other mappings" is built.
      
      * Don't add share_mode == SM_EMPTY regions
      
      * Add crashreport success status message for VS4Mac
      
      * Launch createdump from SIGTERM handler directly to reduce the time it takes to get the crash report/dump for VS4Mac
      
      * Fix issue https://github.com/dotnet/runtime/issues/71561
      
      * Add target process terminated/alive message
      
      * Add total createdump elapsed time message
      f7671633
    • B
      Fix JitDoSsa=0 (#71789) · cae954ad
      Bruce Forstall 提交于
      If we don't do SSA, we don't do liveness, but Lowering depends on
      liveness-created lvDoNotEnregister, so if we're not doing SSA,
      at least run local var liveness. Note that in the MinOpts case,
      `lvSetMinOptsDoNotEnreg()` sets all locals to do-not-enregister.
      
      Fixes #62251
      cae954ad
    • S
      Fix the type check in "fgMorphMultiregStructArg" (#71937) · 037f6793
      SingleAccretion 提交于
      We cannot assume the underlying local has a layout.
      037f6793