- 12 12月, 2020 1 次提交
-
-
由 Alex Thibodeau 提交于
Switch compute_class_bitmap to accept a MonoError that is set on error instead of aborting via g_error on an unexpected type.
-
- 11 12月, 2020 4 次提交
-
-
由 Rémi Bernon 提交于
* [metadata] Generate type-3 GUIDs for interfaces. When they don't provide a fixed GUID already. Fixing L.A.Noire Launcher not being able to load its ErrorHandler class. * [System.RuntimeType] Use native same method to query type GUID. * [cominterop] Factor GUID lookup mechanism with System.RuntimeType. * [tests] Test that generated Type.GUID match .NET Framework. * [tests] Test that generated GUID can be used to query COM interface. * use getters for MonoClass members * Add mono_md5_ctx_byte_length to get the digest length Fixes the OSX and iOS builds where we use CommonCrypto * fix Win32 build * Don't build icall on netcore Will need a separate followup PR to add it to RutnimeType in dotnet/runtime Co-authored-by: NAleksey Kliger <alklig@microsoft.com>
-
由 eerhardt 提交于
paramterless => parameterless Polymorhic => Polymorphic
-
由 Johan Lorensson 提交于
* Add support for global aggressive-linining optimization. Currently we do support aggressive inlining per method using attributes. This commit adds a new global mono optimization flag that does similar thing, but whiout the need to annotate methods. There is still one big difference and that is the effect of cost. The new global optimization does not override cost evaluation, so if a method is to expensive to inline with regards to inline limit, it won't be inlined. In order to get the full "forced" inlining. method attributes should still be used. This new optimization is not default and needs to be enabled using: --optimize=aggressive-inlining * Keep default inline limit on none netcore builds.
-
由 Aleksey Kliger (λgeek) 提交于
The lookup assumes that the method came from metadata, which is not the case for wrappers.
-
- 10 12月, 2020 3 次提交
-
-
由 Johan Lorensson 提交于
Runtime workaround fix for incorrect VM resume when suspend policy none is in use. Real fix is in debugger-libs, mono/debugger-libs#264 but until that lands in VS installer (and tooling has been upgraded to VS2019) this workaround will prevent the error to be propagated back to client and VM will make sure the correct suspend state is maintained. Fix also makes sure logging done within debugger engine/agent is not directly send to stdout/stderr on platforms where there is no console (or alternative console). This is done to prevent scenarios where stdout/stderr has been redirected to debug client, but logging as part of debugger agent will trigger new messages to redirect, flooding the message queue and suspending/resuming the VM for each message.
-
由 Johan Lorensson 提交于
-
由 imhameed 提交于
Fixes #20632.
-
- 09 12月, 2020 7 次提交
-
-
由 Johan Lorensson 提交于
Controlled using MONO_HAVE_SIMD_REG_AVX define, disabled by default.
-
由 Johan Lorensson 提交于
Add support for external icalls not using a wrapper. Add support to register an external icall getting minimal runtime overhead when called. An icall that can be used without a wrapper needs to follow specific rules in order to correctly collaborate with runtime. All functions are currently internal only and only accessible by runtime or embedders using static linking and fully acknowledge that this is not an optimization available as a public API.
-
由 monojenkins 提交于
Superhost PR follow-up Re: https://github.com/dotnet/runtime/pull/44505#discussion_r535708070 For the most part a search/replace change. Co-authored-by: NVSadov <VSadov@users.noreply.github.com>
-
由 Zoltan Varga 提交于
* [aot] Don't force gsharedvt to be enabled in llvmonly+interp mode. * Disable a check which doesn't work with llvmonly. * Fix fallback to the interpreter in mini_llvmonly_load_method (), previously it would abort if mono_compile_method_checked () returned an error due to a missing method.
-
由 monojenkins 提交于
Fixes https://github.com/dotnet/runtime/issues/45548. Co-authored-by: Nvargaz <vargaz@users.noreply.github.com>
-
由 monojenkins 提交于
Co-authored-by: Njkotas <jkotas@users.noreply.github.com>
-
由 Johan Lorensson 提交于
-
- 08 12月, 2020 1 次提交
-
-
由 Zoltan Varga 提交于
[aot] Store the addresses of aot constants in an array instead of using a switch statement on wasm to save space. (#20630)
-
- 07 12月, 2020 2 次提交
-
-
-
由 monojenkins 提交于
This PR is a copy of https://github.com/dotnet/runtime/pull/44505Co-authored-by: NVSadov <VSadov@users.noreply.github.com>
-
- 05 12月, 2020 1 次提交
-
-
由 lambdageek 提交于
Don't implement the `IList<T>` and `IReadOnlyList<T>` for array types if those interfaces are linked out. Also check for individual methods from the generic interfaces - if the methods aren't used and are linked out, drop them from the array initialization. Also drop option for pre-.NET 2.0 behavior (in netcore and in mono net 4.x mode) Related to dotnet/runtime#44859
-
- 03 12月, 2020 1 次提交
-
-
由 Zoltan Varga 提交于
[runtime] Avoid checking for hardened runtime on ios, its not needed, and it causes alerts because of PROT_WRITE|PROT_EXEC. (#20622)
-
- 02 12月, 2020 1 次提交
-
-
由 monojenkins 提交于
Co-authored-by: Nakoeplinger <akoeplinger@users.noreply.github.com>
-
- 28 11月, 2020 1 次提交
-
-
由 monojenkins 提交于
Fixes https://github.com/dotnet/runtime/issues/44270. Co-authored-by: Nvargaz <vargaz@users.noreply.github.com>
-
- 26 11月, 2020 2 次提交
-
-
由 monojenkins 提交于
Some warnings snuck in after we lost this in the CMake transition. Contributes to https://github.com/dotnet/runtime/issues/41357Co-authored-by: NCoffeeFlux <CoffeeFlux@users.noreply.github.com>
-
由 monojenkins 提交于
This unifies the build with the other platforms. Co-authored-by: Nakoeplinger <akoeplinger@users.noreply.github.com>
-
- 24 11月, 2020 1 次提交
-
-
由 monojenkins 提交于
Fixes https://github.com/dotnet/runtime/issues/44269. Co-authored-by: Nvargaz <vargaz@users.noreply.github.com>
-
- 23 11月, 2020 1 次提交
-
-
由 monojenkins 提交于
Co-authored-by: Njkotas <jkotas@users.noreply.github.com>
-
- 22 11月, 2020 1 次提交
-
-
由 Zoltan Varga 提交于
-
- 20 11月, 2020 1 次提交
-
-
由 monojenkins 提交于
Fixes https://github.com/dotnet/runtime/issues/44852. Co-authored-by: Nvargaz <vargaz@users.noreply.github.com>
-
- 19 11月, 2020 5 次提交
-
-
由 monojenkins 提交于
`assert()` will expand to a no-op if NDEBUG is defined, which can cause an assertion-enabled LLVM to trap if an `llvm::Expected<T>` is destroyed before having had `operator bool` applied to it. Co-authored-by: Nimhameed <imhameed@users.noreply.github.com>
-
由 monojenkins 提交于
Move C version of EventPipe library into a folder that can be shared by both CoreClr and Mono: src/native/eventpipe All runtime specific EventPipe files (shim implementation, build files etc) will be kept under each runtime (mono/mono/eventpipe for example). Example on how shared EventPipe sources will be consumed by mono build, src/mono/mono/eventpipe/CMakeLists.txt. PR also adds ability to build mono/mono/eventpipe/test using CMake (needed after mono switched to cmake). Tests are still mono specific so will be kept there for now, but will most likely be shared between runtimes at a later point in time. @jkotas @stephentoub Do you believe the location of new folder where we can share native code between runtimes is OK, src/native/eventpipe? @lambdageek @josalem Co-authored-by: NlateralusX <lateralusX@users.noreply.github.com>
-
由 monojenkins 提交于
Fixes https://github.com/dotnet/runtime/issues/44803. Co-authored-by: Nvargaz <vargaz@users.noreply.github.com>
-
由 Neale Ferguson 提交于
Fix unwinding for s390x. Removes the `-mbackchain` flag that had been used in the past when unwinding stack frames but has not been required for sometime. This should also improve performance. Co-authored-by: NNeale Ferguson <neale@aussie-3.lf-dev.marist.edu>
-
由 monojenkins 提交于
Copy https://github.com/dotnet/runtime/pull/44843Co-authored-by: NGrabYourPitchforks <GrabYourPitchforks@users.noreply.github.com>
-
- 18 11月, 2020 1 次提交
-
-
由 Zoltan Varga 提交于
-
- 17 11月, 2020 2 次提交
-
-
由 monojenkins 提交于
Fixes https://github.com/dotnet/runtime/issues/44779. Co-authored-by: Nvargaz <vargaz@users.noreply.github.com>
-
由 monojenkins 提交于
Adjustments done to better align with implementation of CoreCLR shim using CoreCLR artifacts and C++ code (CoreCLR implementation done in separate PR). Disconnect runtime specific shim info from shared sources, all included shim files handled through defines. Exception safety and improved error handling, adding error checking and error returns into shim container functions. Walkthrough of codebase, aligning with gaps from CoreCLR + port of sample profiler and json file serializer. Implement core dump diagnostic command and runtime layer (needed by CoreCLR, currently not implemented on Mono). Implemented process env diagnostic command and runtime layer. Implemented profiler attach diagnostic command and runtime layer (needed by CoreCLR, currently not implemented on Mono). Fix native EventPipe test aligning with changes. @lambdageek @josalem Co-authored-by: NlateralusX <lateralusX@users.noreply.github.com>
-
- 14 11月, 2020 1 次提交
-
-
由 monojenkins 提交于
See https://github.com/dotnet/runtime/pull/44468Co-authored-by: Nakoeplinger <akoeplinger@users.noreply.github.com>
-
- 13 11月, 2020 1 次提交
-
-
由 Alexander Köplinger 提交于
The new Xcode introduced functions like preadv/pwritev in the SDK that get erraneously detected by autoconf even though we can't use them. Disable these functions and also add a check for Xcode version to workaround https://github.com/mono/mono/issues/19393.
-
- 11 11月, 2020 2 次提交
-
-
由 monojenkins 提交于
Co-authored-by: Nvargaz <vargaz@users.noreply.github.com>
-
由 monojenkins 提交于
profiler enter code (such as mono_trace_enter_method) must not be called before a thread attaches to the runtime - otherwise calls like `mono_domain_get()` will return NULL unexpectedly and then crash. When detaching, we should call the profiler leave code before the detach, and suppress it on return. Simple repro (that relies on pal_signal.c SignalHandlerLoop - which is a background thread from System.Native that calls back into managed when there's a SIGCHLD): compile and run this program with `MONO_ENV_OPTIONS=--trace` ```csharp using System; using System.Diagnostics; namespace Repro { internal class Program { private static void Main(string[] args) { using (Process myProcess = new Process()) { myProcess.StartInfo.UseShellExecute = true; myProcess.StartInfo.FileName = "echo"; myProcess.StartInfo.Arguments = "hello from shell"; myProcess.StartInfo.CreateNoWindow = true; myProcess.Start(); myProcess.WaitForExit(); } Console.ReadKey (); } } } ``` Co-authored-by: Nlambdageek <lambdageek@users.noreply.github.com>
-