- 29 6月, 2020 3 次提交
-
-
由 UnityAlex 提交于
-
由 Thays Grazia 提交于
* Removing some asserts and returning err_invalid_argument with an error message when it's possible. * if we don't find method get_ObjectIdForDebugger we try to find the property Task to continue async debug. Cherry-picked by Alex Thibodeau with some moderate changes
-
由 Thays Grazia 提交于
* When we try to call a method to get the async_id to do an async debug and we are trying to do this in a generic method like this: async Task<T> ExecuteAsync_Broken<T>() { await Task.Delay(2); return default; } We need to inflate the generic type before call the method or we will get the error: Could not execute the method because the containing type 'System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[T_REF]’, is not fully instantiated. Fixes #17549 Fixes #17569 Cherry-picked by Alex Thibodeau -- some light massaging required
-
- 17 6月, 2020 1 次提交
-
-
由 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)
-
- 26 5月, 2020 2 次提交
-
-
由 Alexander Kyte 提交于
* [debugger] Add locking around tls->frames usage/freeing * [debugger] more locking and avoid race around mono_threads_join_lock & loader lock
-
由 Zoltan Varga 提交于
Fixes https://github.com/mono/mono/issues/17737.
-
- 19 5月, 2020 1 次提交
-
-
由 ashwini 提交于
-
- 18 5月, 2020 1 次提交
-
-
由 Jonathan Chambers 提交于
-
- 15 5月, 2020 1 次提交
-
-
由 Ryan Lucia 提交于
This brings us in line with GetDiskFreeSpaceExW on Windows as well as .NET Core.
-
- 11 5月, 2020 3 次提交
-
-
由 UnityAlex 提交于
sets. Making associated change to type_in_image to also check the constrained type for a match. Re-adding asserts now they they no longer trigger. updating to K&R coding convention
-
由 Zoltan Varga 提交于
-
由 Zoltan Varga 提交于
Fixes https://github.com/mono/mono/issues/18127.
-
- 07 5月, 2020 1 次提交
-
-
由 ashwini 提交于
-
- 20 4月, 2020 1 次提交
-
-
由 Johan Lorensson 提交于
* Fix race condtion in socket altertable wait implementation on Windows. * Add support to abort blocking Windows mono_w32file_read/write methods.
-
- 17 4月, 2020 1 次提交
-
-
由 Josh Peterson 提交于
This change modifies the `ConcurrentBag` implementation from corefx. Since we cannot update the corefx submodule, make a copy of the ConcurrentBag.cs file, fix the issue, and point the build at this copy. The change is in the `TrySteal` method. It makes calls on the `CDSCollectionETWBCLProvider`, which is removed by the manged linker by default. Those calls should be wrapped in a `CDSCollectionETWBCLProvider.Log.IsEnabled()` if block, so the linker can understand to not make the calls.
-
- 13 4月, 2020 1 次提交
-
-
由 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
-
- 26 3月, 2020 2 次提交
-
-
由 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.
-
由 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.
-
- 25 3月, 2020 1 次提交
-
-
由 ashwinimurt 提交于
-
- 22 3月, 2020 1 次提交
-
-
由 ashwinimurt 提交于
-
- 08 3月, 2020 1 次提交
-
-
由 ashwinimurt 提交于
-
- 05 3月, 2020 1 次提交
-
-
由 ashwinimurt 提交于
-
- 04 3月, 2020 3 次提交
-
-
由 ashwini 提交于
-
由 ashwinimurt 提交于
-
由 ashwini 提交于
-
- 26 2月, 2020 2 次提交
-
-
由 ashwinimurt 提交于
This reverts commit f3085bb2.
-
由 ashwinimurt 提交于
-
- 04 2月, 2020 1 次提交
-
-
由 Thays Grazia 提交于
* [Debugger] Debugger crashes when inside a class, there is an internal struct, with a field that is an enumerator. files.myBucket.GetEnumerator().get_Current().Key Fixes #10735 * [Debugger] Debugger crashes when there is a generic struct with a field that is an enumerator. Example: files.get_Current().Key A unit test that reproduces this crash was added too. Fixes #10735 * Removing the extra space. * UnityAlex cherry-pick modification: Removed tests
-
- 01 2月, 2020 1 次提交
-
-
由 UnityAlex 提交于
Fixes issue in mono_class_init where we would return immediately instead of jumping to the cleanup routine. This would leave init_list in a dirty state for subsequent calls leading to recursive type definitions being thrown incorrectly. (case 1191002)
-
- 24 1月, 2020 1 次提交
-
-
由 Josh Peterson 提交于
Instead of cloning the mono-build-tools-extra and building the tools in it, now get the binaries from Stevedore. These are only used on macOS builds of Mono.
-
- 16 12月, 2019 1 次提交
-
-
由 Zoltan Varga 提交于
Fix a regression introduced by e05343dd: Disable the ldobj+stobj optimization for reference types. Fixes https://github.com/mono/mono/issues/6777.
-
- 04 12月, 2019 1 次提交
-
-
由 Johan Lorensson 提交于
We hit the following assert when doing full AOT of some assemblies: wrong maximal instruction length of instruction localloc (expected 96, got 99) Assertion: should not be reached at mono\mono\mini\mini-amd64.c:6801 Turns out that that size could be hit when a couple of things happens as part of lowering OP_LOCALLOC and OP_LOCALLOC_IMM: sreg1 is not RAX, RCX or RDI dreg is not RAX, RCX or RDI cfg->param_area is bigger than 127 Fix is to increase max size of the instruction, from 96 -> 120 (same as x86).
-
- 01 11月, 2019 2 次提交
-
-
由 Jonathan Chambers 提交于
-
由 Jonathan Chambers 提交于
-
- 31 10月, 2019 2 次提交
-
-
由 Jonathan Chambers 提交于
Bump bdwgc submodule (case 1193723)
-
由 Jonathan Chambers 提交于
-
- 22 10月, 2019 1 次提交
-
-
由 ashwini 提交于
-
- 25 9月, 2019 1 次提交
-
-
由 UnityAlex 提交于
TimeZoneNotFoundException. Added a catch to allow mono to try the WinRT fallback which appears to work even when there is an invalid timezone value in the registry.
-
- 12 9月, 2019 1 次提交
-
-
由 Zoltan Varga 提交于
[jit] Avoid extending the size of Vector2/Vector3 to 16 bytes. Disable SIMD for these types for now, since the SIMD code can't handle types (#6746) which are smaller than a SIMD reg. Fixes https://github.com/mono/mono/issues/6411.
-
- 22 8月, 2019 1 次提交
-
-
由 Jonathan Chambers 提交于
-