1. 08 8月, 2020 1 次提交
  2. 06 8月, 2020 1 次提交
  3. 16 7月, 2020 1 次提交
  4. 15 7月, 2020 1 次提交
    • A
      X509ChainImplUnityTls reports status now · c12ef373
      andreasr 提交于
      Fixes Fogbugz ticket 1261388.
      Impl sticks close to current Mono Btls implementation on _master_ - the implementation on our fork has the same issues as prior to this fix and throws NotImplementedException
      c12ef373
  5. 13 7月, 2020 1 次提交
  6. 08 7月, 2020 1 次提交
  7. 02 7月, 2020 1 次提交
  8. 16 6月, 2020 1 次提交
    • T
      [debugger] Fixing two crashes while debugging an Android app. (#13373) · 54f8e9ab
      Thays Grazia 提交于
      * [debugger] Fixing two crashes while debugging an Android app.
      
      -> Doing stepping into in VSM in some situation the frame saved in TLS is not synchronised with what is really been executed in the main thread. This makes the debugger-agent crashes because it tries to get variable info in some memory that is not available anymore.
      	-> To fix it I forced the update of stack when CMD_THREAD_GET_FRAME_INFO is called.
      
      -> Doing step over in Visual Studio for Windows, if you have the threads debugger window enabled, VSW calls frame_commands for each thread that is showed, and if the thread is not really_suspended it tries to get variable info from a memory that is not available anymore because the thread is not suspended yet.
      	-> To fix it I don't send variable info of a frame if the thread is not really_suspended and doesn't have an async_state valid.
      
      Cherry-picked with some light massaging by Alex Thibodeau (case 1249172)
      54f8e9ab
  9. 15 6月, 2020 4 次提交
  10. 07 6月, 2020 1 次提交
  11. 03 6月, 2020 2 次提交
    • J
      Alternate function to set valuetypes for ref-ness · 8df4a082
      Joe Valenzuela 提交于
      Same method that ldloc.s uses, which incorporates the byref test.
      8df4a082
    • J
      Fix for ldloc/ldfld of ref to valuetype · ae43e908
      Joe Valenzuela 提交于
      When we have the following sequence:
      
          ldloc n
          ldfld valuetype [Unity.Mathematics]Unity.Mathematics.int2 Foo::bar
      
      and local n is a reference to value, when walking the instructions in
      mono_method_to_ir, we generally try to avoid loading a whole value
      type just to load one of the fields.  I believe this is an
      optimization.
      
      The test here is not quite complete, though, as we have ref valuetypes
      where the object stored at the location is actually an address, in
      which case we still need to treat it as we would a normal reference.
      
      This optimization isn't present in the ldloc.n coded forms and is
      written in a slightly more robust way in ldloc.s, so no changes are
      necessary there.
      
      As an alternative to this commit, we might adopt the ldloc.s test for
      ldloc as well, or merge in
      https://github.com/mono/mono/commit/29428d951637ff85b593ea5c9cc5d5236579906d/mono/mini/method-to-ir.c
      from master which encapsulates much the same intent.
      ae43e908
  12. 01 6月, 2020 1 次提交
  13. 19 5月, 2020 1 次提交
  14. 14 5月, 2020 1 次提交
  15. 07 5月, 2020 1 次提交
  16. 29 4月, 2020 4 次提交
  17. 13 4月, 2020 1 次提交
    • T
      [debugger] Fix NOT_IMPLEMENTED while debugging. (#19248) · 3e40bf79
      Thays Grazia 提交于
      - Changed the behavior on debugger-agent, if we can't parse the new behavior is to return invalid_argument and not assert and stop debugging
      - Changed the mono_domain_set_fast before return from assembly_commands.
      - Add error message when return INVALID_ARGUMENT
      
      Fixes #19146
      3e40bf79
  18. 07 4月, 2020 3 次提交
  19. 26 3月, 2020 1 次提交
    • J
      Optimize Enum.HasFlags (). · d54a361b
      Jonathan Chambers 提交于
      Manually applied cherry-pick of https://github.com/mono/mono/pull/8428
      
      Unity: Avoid allocation in Enum.HasFlags (case 1211643)
      
      * [jit] Decompose some CEE_BOX opcodes later to allow more optimizations.
      
      Optimize a code sequence emitted for Enum.HasFlag () by newer csc versions.
      Also mark the temporary bblocks used by decompose_vtypes () as out-of-line if
      the bblock under processing is out-of-line. Mark the domainvar as volatile to avoid
      optimizing it away since references to it can now be generated later from the
      decomposition of OP_BOX.
      
      * [jit] Check that the enum types are the same.
      
      * [jit] Fix support for generic enums.
      
      * [jit] Disable the optimization with 64 bit enums on 32 bit platforms.
      d54a361b
  20. 25 3月, 2020 1 次提交
  21. 24 3月, 2020 1 次提交
    • J
      Do not access unloading domains in debugger (case 1013579) · 335f266f
      Jonathan Chambers 提交于
      There was a race where a domain was being unloaded while debugger would access it. A domain was only removed from the 'appdomains_list' as a very last step. The domain was already invalid to access at this point (locks freed for example).
      
      Worse, images would be unloaded if only referenced by that domain. All places the debugger iterates domains hold the loader lock. The loader lock is acquired by the domain unloading process, so as long as a domain is not unloading when we access it inside of the loader lock we are safe.
      335f266f
  22. 22 3月, 2020 1 次提交
  23. 08 3月, 2020 1 次提交
  24. 05 3月, 2020 3 次提交
  25. 04 3月, 2020 3 次提交
  26. 26 2月, 2020 2 次提交