122120 Commits
Author SHA1 Message Date
Bepis 7328415ac5 Marshal extension is finally working 2020.11.08 2020.1.26 2021.6.24 2020.12.23 2020.12.31 2021.6.20 2021.5.4 2021.5.16 2020-09-04 22:41:37 +10:00
Bepis 20a03cdb8e Separate mono_delegate_to_ftnptr_impl into new method 2020-09-04 21:45:16 +10:00
Bepis 5f805b6b03 Fix extension parameter placement and convention overwriting 2020-09-04 20:07:17 +10:00
Bepis 4205769da9 Implement custom GetFunctionPointerForDelegateInternal extension 2020-09-04 19:34:03 +10:00
Zoltan Varga 5756e65a5c [runtime] Allocate code memory using MAP_JIT on apple silicon, patching code randomly crashes without it. (#20342) 2020-09-03 17:56:24 -04:00
monojenkinsandvargaz dfd7ba8ff6 Add ios support to the cmake build system. (#20333)
Co-authored-by: vargaz <[email protected]>
2020-09-03 19:57:08 +02:00
Vlad Brezae 623fc84874 [interp] Optimize out conditional branches (#20330)
* [interp] Remove unop conditional branch applied to constant

Convert it to unconditional branch

* [interp] Enable more optimization

If we failed to emit stloc.np we no longer track stack contents or try other optimizations

* [interp] Fix emit_store_value_as_local

mint_type for a native type is i4/i8 while we were loading the address of this local using LDLOC_VT. This was wrong. Passing a valuetype this is done with LDLOCA.

* [interp] Fix incorrect cond branch opcodes

We didn't emit correct conditional branch opcode, because we didn't check the new stack types, after the addition of the implicit conversion opcodes.

* [interp] Remove binop conditional branch applied to constant

Convert it to unconditional branch
2020-09-02 00:01:38 +03:00
monojenkinsandCoffeeFlux f6d04a53f9 [mono] Add mono_image_open_from_data_alc to unstable embedding API (#20303)
Xamarin-Android will need this for the net6 migration, so might as well add it before I forget about it. They currently use `mono_image_open_from_data_with_name`. cc: @grendello

Co-authored-by: CoffeeFlux <[email protected]>
2020-08-31 14:53:45 -04:00
monojenkinsandradical e5cb8c4e34 [wasm][debugger] Disable an extraneous debug message (#20317)
Recent debugger test runs were showing lot of
`CWL: Failed to lookup sequence point` messages.

These are being shown for cases like:

`CWL: list_frames: Failed to lookup sequence point. method: runtime_invoke_direct_void, native_offset: 56`

This is a warning, and doesn't need to be emitted by default.

Co-authored-by: radical <[email protected]>
2020-08-31 17:10:47 +02:00
csanchezdll 59ee4edb6e Ignore EINVAL errors on ioctl TIOCMGET/TIOCMSET so (#20219)
pseudo-ttys are usable. (#20218)
2020-08-31 15:15:09 +02:00
Stefanos Kornilios Mitsis Poiitidis c58000534f mono: result of regmask should be stored in regmask_t, not int (#20322) 2020-08-31 15:13:09 +02:00
jeffgoku 30689421ab Fix potential crash for Encoder.Convert (#20271)
GetByteCount will not return the right number of bytes needed, so GetBytes in Encoder.Convert will crash for some input
2020-08-31 15:08:58 +02:00
Eberhard BeilharzandMarkS 728b1e9258 [resgen] Honour absence of -usesourcepath (#20247)
* Only set basepath to the source directory if useSourcePath is set.
* Fixes a regression from mono 4 that happened when changing the code
  to not use reflection.

Co-authored-by: MarkS <[email protected]>
2020-08-31 11:38:39 +02:00
Leslie Zhai d71eff1541 [MIPS32] Fix mono_arch_get_cie_program and ELF_MACHINE undefined issue (#20323) 2020-08-30 12:17:16 -04:00
imhameed 8e75f5a28e [mono] Squelch Mach exception handlers (#20321)
Work around LLDB's unconditionally-installed and inflexible Mach
exception handler by installing a no-op task-wide Mach exception
handler.

See also:
- https://github.com/openjdk/jdk/blob/50cc54c730bb0f130991648d1547d42483edddc1/src/hotspot/os/bsd/os_bsd.cpp#L2810-L2817
- https://github.com/mono/mono/issues/10180#issuecomment-683119507
2020-08-29 11:23:09 -07:00
monojenkinsandvargaz cd226d8452 [runtime] Fix signature of mini_cleanup (). (#20320)
Fixes https://github.com/dotnet/runtime/issues/41470.

Co-authored-by: vargaz <[email protected]>
2020-08-29 04:05:06 -04:00
Alexander Köplinger 481e856031 Revert "[mono] Convert Environment.CurrentManagedThreadId to an icall (#20313)" (#20319)
This reverts commit 5d30ccbafc.
2020-08-28 11:05:29 +02:00
monojenkinsandEgorBo 5d30ccbafc [mono] Convert Environment.CurrentManagedThreadId to an icall (#20313)
In order to avoid the static Thread initialization (System.Thread.CurrentThread inits a static field) see https://github.com/dotnet/runtime/pull/41360

Benchmark:
```csharp
[Benchmark]
public int CurrentThreadId() => Environment.CurrentManagedThreadId;
```

Mono JIT (benchmarked on a slow machine):
```
       |          Method |     Mean |     Error |    StdDev |
       |---------------- |---------:|----------:|----------:|
master | CurrentThreadId | 7.191 ns | 0.0128 ns | 0.0107 ns |
PR     | CurrentThreadId | 5.034 ns | 0.0395 ns | 0.0350 ns |
```

Co-authored-by: EgorBo <[email protected]>
2020-08-28 10:09:43 +03:00
HinTakandRyan Lucia b1b58ccc0d Issue18826 fix (#19580)
* Look for "xmonkeysloveplay" also at the end of LC_SYMTAB section, for signed Mac OS X binaries

This extends Miguel de Icaza's previous work on allowing mono to load embedded
assemblies / shared libraries, which was in turn a workaround on recent
Mac OS X's increased security (and stopping LD_LIBRARY_PATH and friends from
working). Miguel de Icaza came up with the idea of appending all of those
embedded assemblies / shared libraries to the end of mono's main executable,
and getting it to look at its own file and unpacking resources from an offset
number + "xmonkeysloveplay" written to the end of file.

Even more recent Mac OS X starts to prefer /require binaries to be code-signed.
Code signing appends a "LC_CODE_SIGNATURE" section to the binary, thus breaking
mono's embedded resource-loading. Also code-signing requires that the binary
has no unknown parts.

To make mkbundle / mono embedded resource-loading work in a code-signing
situation, two parts are required:

- adjust mkbundle to extend the LC_SYMTAB section to cover the appended
assemblies / shared libraries, so code-signing can happen.
( addresses https://github.com/mono/mono/issues/17881 )

- adjust mono's main executable to also look at the end of the LC_SYMTAB
section for the magic offset +  "xmonkeysloveplay" token to find the embedded
resources.
( addresses https://github.com/mono/mono/issues/18826 )

This change addresses the 2nd of the above. I also tried looking for the
presence and beginnig of the LC_CODE_SIGNATURE section, but that proves
unreliable: Code-signing can pad a few null bytes after "xmonkeysloveplay"
to align the LC_CODE_SIGNATURE section to an 8(?)-byte boundary.

* saving offset before read, so later lseek does not need to backtrack on the read

This is a small simplification of the previous commit on this part of code.

* fixes wrong drop-through from mis-positioning of #endif

* Update mono/mini/main.c

Adding spaces for clarity

Co-authored-by: Ryan Lucia <[email protected]>

* Update mono/mini/main.c

Adding spaces for clarity

Co-authored-by: Ryan Lucia <[email protected]>

* Update mono/mini/main.c

Adding spaces for clarity

Co-authored-by: Ryan Lucia <[email protected]>

* Update mono/mini/main.c

Adding spaces for clarity

Co-authored-by: Ryan Lucia <[email protected]>

* Update mono/mini/main.c

Added comment about what's going on.

Co-authored-by: Ryan Lucia <[email protected]>

* Adding comments for clarity

* rename variable "h" to "bin_header", for clarity

* Limit Apple code-signing work around to only the desktop OS (vs iDevices/TV)

* remove stylistic "else"; no change in functionality

Co-authored-by: Ryan Lucia <[email protected]>
2020-08-27 11:38:38 -04:00
monojenkinsandCoffeeFlux 123ac44eb3 [mono] ALC function restructuring for unloadability (#20306)
We previously had a weird split between the domain and loader headers/files. This makes fewer things public, moves the useful ALC functions to loader-internals.h with the implementation in assembly-load-context.c, and cleans up the flow for some unloading behavior.

Co-authored-by: CoffeeFlux <[email protected]>
2020-08-27 10:56:34 -04:00
monojenkinsandvargaz 6f23092e7c Add support for using cmake in the mono runtime build. (#20309)
Not enabled by default. Ninja is used for building if available, else we fall
back to make.

Co-authored-by: vargaz <[email protected]>
2020-08-27 10:14:06 -04:00
Thays Grazia 26ae896ecb [wasm][debugger] Merge dotnet/runtime to mono/mono (#20307)
* Merge dotnet/runtime.

* Missing file.
2020-08-26 14:14:07 -03:00
monojenkinsandCoffeeFlux 990f516a4b [mono] Add mono_assembly_decref, return value on both decref and addref (#20305)
Needed for unloadability

Co-authored-by: CoffeeFlux <[email protected]>
2020-08-26 10:00:03 -04:00
monojenkinsandCoffeeFlux ad95c02c2a [mono] Enable additional warnings as errors (#20293)
This PR:
* Enables `-Wc++-compat` on all platforms: we support building the runtime as C++, so this helps catch errors before they're found in CI and will help keep the netcore build C++-compatible
* Sets `-Werror` on netcore CI for OSX

It also fixes various warnings currently present in the build.

`-Werror` should probably be extended to cover all CI platforms eventually. Adding a new platform is as simple as adding to the line in mono.proj whitelisting platforms and fixing the warnings.

Not sure if there's a better way to handle the cpuidex function, but if we're using that from mini it should definitely be in a header somewhere.

Co-authored-by: CoffeeFlux <[email protected]>
2020-08-25 17:55:37 -04:00
Alexander Köplinger d543f5e540 Update README.md 2020-08-25 22:13:18 +02:00
Alexander Köplinger d724f744bc Replace gitter links with discord 2020-08-25 22:00:57 +02:00
imhameedandAlexis Christoforides 1f3fbedc39 [runtime] Catch attempts to create enum types with an underlying type that is itself an incomplete enum type. (#20282)
* Catch attempts to create enum types with an underlying type that is itself an incomplete enum type.

Previously, only non-enum types containing fields with incomplete enum
types were forbidden.

* Permit static constant fields with incomplete types if the incomplete type is the type currently being defined

Co-authored-by: Alexis Christoforides <[email protected]>
2020-08-25 10:42:44 -07:00
monojenkinsandlateralusX 45d996b7ba Port EventPipe CoreCLR changes to Mono. (#20278)
Port changes done in the following CoreCLR PR's affecting corresponding Mono runtime EventPipe library sources:

https://github.com/dotnet/runtime/pull/36720
https://github.com/dotnet/runtime/pull/37002
https://github.com/dotnet/runtime/pull/38967
https://github.com/dotnet/runtime/pull/40191
https://github.com/dotnet/runtime/pull/40332
https://github.com/dotnet/runtime/pull/40499

EventPipe native code changes track by https://github.com/dotnet/runtime/issues/36820.

Co-authored-by: lateralusX <[email protected]>
2020-08-25 08:43:03 +02:00
imhameed 8aeab70720 Avoid following invalid pointers in mono_w32process_get_modules on Darwin. (#20277)
* Avoid following invalid pointers in mono_w32process_get_modules on Darwin.

`_dyld_get_image_name` and `_dyld_get_image_header` can return pointers
to data that will be freed or unmapped by concurrent calls to `dlclose`.
Avoid this by using `_dyld_register_func_for_add_image` and
`_dyld_register_func_for_remove_image` to install callbacks that
maintain a runtime-internal set of loaded dynamic libraries.

Some notes:

- dyld doesn't provide a public "app store friendly" API (like
`dl_iterate_phdr`) to traverse a snapshot of all loaded dynamic
libraries in a process. There are two alternative private APIs that do
this: one uses `_dyld_process_info_create` and friends and is present in
macOS 10.12 and above, and the other depends on
`_dyld_get_all_image_infos`, which is documented by Apple (... in a WWDC
video) to "go away" at some point in dyld3.

- `dladdr` linearly scans the dyld loaded image array (and each image's
segment set) for a matching address, so `image_added` will get slower as
more dynamic libraries are loaded in the process. But dyld3's
implementation of dlopen already scales linearly in time with the number
of loaded libraries. The use of `dladdr` can be avoided by using
`_dyld_register_for_image_loads` or
`_dyld_register_for_bulk_image_loads`, but those are both private APIs.

- The callbacks registered with `_dyld_register_func_for_add_image` and
`_dyld_register_func_for_remove_image` can never be unregistered, so
this is yet another thing that makes it impossible to safely unload an
embedded mono.

- `MonoW32ProcessModule::inode` only seems to be used to avoid dupicates
in other implementations of w32process; sorting the returned module list
in `mono_w32process_get_modules` wouldn't be necessary if the
`mono_dyld_image_info`s were also kept in an intrusive circular doubly
linked list.

- It looks like `mono_w32process_get_modules` in `w32process-unix-bsd.c`
has a similar race condition.

Also see: https://github.com/mono/mono/issues/20107

* Formatting.

* Make `image_added` and `image_removed` non-blocking.

It is theoretically possible for `mono_w32process_get_modules` to cause
a deadlock if either `image_added` or `image_removed` is waiting for the
image table mutex to be released and if `g_new0`, `g_strdup`,
`g_hash_table_iter_next`, or any of the symbols they depend on are
lazily bound and haven't already been resolved.

Only one thread may iterate over the image table and only one thread may
add/remove entries to/from the image table.

The writer thread attemps to lock a mutex to block readers from
iterating over the table. If the writer successfully acquires this lock,
then no readers are concurrently iterating over the image table and it
is safe to eagerly free stale data.

If the writer doesn't successfully acquire this lock, then the reader
thread is running concurrently with the writer; if this happens, the
writer pushes stale data into a limbo list. Readers opportunistically
clear this list.

Use `mono_mutex_t` instead of `MonoCoopMutex`. Hand-roll the necessary
GC state transitions inside `mono_w32process_get_modules`.

Add `mono_conc_hashtable_foreach_snapshot` to mono-conc-hashtable.{h,c}.

`MonoConcurrentHashTable` depends on the hazard pointer table
(`hazard_table` inside hazard-pointer.c), which is initialized lazily on
the first call to `mono_thread_small_id_alloc`. Perhaps this should be
explicitly initialized early during `mono_init_internal`.

* Revert "Make `image_added` and `image_removed` non-blocking."

This reverts commit a22a4440df5f0f13da29b1b90e80a3420223c2b9.

* Use mono_mutex_t instead of MonoCoopMutex

* Explicitly load symbols not used by `image_added` before `mono_w32process_get_modules` runs
2020-08-24 19:06:37 -04:00
monojenkinsandBrzVlad ced76ae314 [coop] Add configuration option to disable stack scan (#20264)
When this experiment is enabled, the GC doesn't scan stack or registers. This mode is meant to disable scanning of native frames. This implementation only makes sense in full interpreter mode, where the interp stack is scanned separately from the thread stack. Longer term we could use this mode to scan only the managed stack, also in jit mode.

The point of this mode is to be able to stress test the GC in a wasm like environment, where stack can't be scanned. We can more easily reproduce and investigate GC crashes in this configuration, that would also happen on wasm.

Co-authored-by: BrzVlad <[email protected]>
2020-08-24 23:03:37 +03:00
Zoltan Varga b854e882b4 [wasm] Bump emscripten to 2.0.1. (#20287) 2020-08-24 11:02:27 -04:00
monojenkinsandCoffeeFlux fbfc91536f [mono] Thread DllImportSearchPath flags down to LoadLibraryEx (#20292)
This mostly completes support for the attribute. Our algorithm differs a bit from CoreCLR right now, so we don't support the legacy behavior flag since it makes less since in the context of our algorithm, but this should be good enough for most cases.

Co-authored-by: CoffeeFlux <[email protected]>
2020-08-24 10:40:49 -04:00
monojenkinsandCoffeeFlux 44d5fa37ad [mono] Add more detailed logs for the PInvoke resolution process (#20291)
Similar logging was added to the managed loading algorithm when it proved extremely useful for debugging a Blazor crash, so the equivalent is probably useful for the unmanaged library algorithm as well

Co-authored-by: CoffeeFlux <[email protected]>
2020-08-24 00:24:56 -04:00
monojenkinsandCoffeeFlux eb2267f30b [mono] Don't leak coop handles, fix type in managed ALC struct (#20281)
The important change here is not leaking the coop handles, the other is because I'm too lazy to create two separate PRs for this.

Co-authored-by: CoffeeFlux <[email protected]>
2020-08-22 14:27:52 -04:00
monojenkinsandCoffeeFlux 6f0cc47bbf [mono] Disable XML file loading entirely on netcore (#20280)
Co-authored-by: CoffeeFlux <[email protected]>
2020-08-22 07:09:22 -04:00
monojenkinsandCoffeeFlux 3cb098653b [mono] Add g_ptr_array_find to eglib (#20279)
Co-authored-by: CoffeeFlux <[email protected]>
2020-08-22 07:09:02 -04:00
Zoltan Varga 8afa37c663 [runtime] Make the code which handles pinvoke lookup retries netcore only. (#20289) 2020-08-22 05:19:39 -04:00
monojenkinsandvargaz 5521167e5d [runtime] Ongoing work on mono cmake build (#20268)
Co-authored-by: vargaz <[email protected]>
2020-08-22 01:30:44 -04:00
monojenkinsandEgorBo 84d66c6b35 [mono][llvm] Revert noopt modifier (#20286)
For some reason it leads to a crash on Windows x64+FullAOT+LLVM config, investigating...

Co-authored-by: EgorBo <[email protected]>
2020-08-21 22:31:26 -04:00
monojenkinsandBrzVlad 39138f1ed5 [coop] Add handles for some SRE scenarios (#20259)
Co-authored-by: BrzVlad <[email protected]>
2020-08-22 01:38:59 +03:00
monojenkinsandfanyang-mono dc1bd5bde1 Add missing exception checkpoint (#20274)
Fixes dotnet/runtime#38826

Co-authored-by: fanyang-mono <[email protected]>
2020-08-21 19:35:46 +02:00
Alexander Köplinger e88d9ced3b Bump corefx to disable DateTime test
See https://github.com/mono/mono/issues/16623
2020-08-21 17:17:06 +02:00
monojenkinsandEgorBo f564c1d808 [mono] Add MethodImplOptions.NoOptimization support (#20265)
Mono currently just ignores `MethodImplOptions.NoOptimization` flag, this PR adds support for it.

```csharp
static int Add(int a, int b) => a + b;

[MethodImpl(MethodImplOptions.NoOptimization)]
static int Test(int a, int b) => Add(a, b) * Add(a, b); // NoOpt means - don't inline Add here, don't do opts

static void Main(string[] args)
{
    Test(1, 2);
}
```
Codegen for Test:
```asm
0000000000000000 <gram_Test__int_int_>:
<BB>:2
   0:   48 83 ec 18             sub    $0x18,%rsp
   4:   4c 89 34 24             mov    %r14,(%rsp)
   8:   4c 89 7c 24 08          mov    %r15,0x8(%rsp)
   d:   4c 8b f7                mov    %rdi,%r14
  10:   4c 8b fe                mov    %rsi,%r15
  13:   e8 29 00 00 00          callq  41 <gram_Test__int_int_+0x41>
  18:   48 89 44 24 10          mov    %rax,0x10(%rsp)
  1d:   49 8b fe                mov    %r14,%rdi
  20:   49 8b f7                mov    %r15,%rsi
  23:   e8 19 00 00 00          callq  41 <gram_Test__int_int_+0x41>
  28:   48 8b c8                mov    %rax,%rcx
  2b:   48 8b 44 24 10          mov    0x10(%rsp),%rax
  30:   0f af c1                imul   %ecx,%eax
<BB>:1
  33:   4c 8b 34 24             mov    (%rsp),%r14
  37:   4c 8b 7c 24 08          mov    0x8(%rsp),%r15
  3c:   48 83 c4 18             add    $0x18,%rsp
  40:   c3                      retq
```
with llvm backend (emits `noopt` attribute for llvm function):
```asm
0000000000000000 <gram_Test__int_int_>:
<BB>:1
   0:   55                      push   %rbp
   1:   41 57                   push   %r15
   3:   41 56                   push   %r14
   5:   53                      push   %rbx
   6:   50                      push   %rax
   7:   41 89 f6                mov    %esi,%r14d
   a:   89 fd                   mov    %edi,%ebp
   c:   eb 00                   jmp    e <gram_Test__int_int_+0xe>
   e:   eb 00                   jmp    10 <gram_Test__int_int_+0x10>
  10:   49 bf c0 b6 7c 53 37    movabs $0x5637537cb6c0,%r15
  17:   56 00 00
  1a:   49 8b 07                mov    (%r15),%rax
  1d:   89 ef                   mov    %ebp,%edi
  1f:   44 89 f6                mov    %r14d,%esi
  22:   ff d0                   callq  *%rax
  24:   89 c3                   mov    %eax,%ebx
  26:   49 8b 07                mov    (%r15),%rax
  29:   89 ef                   mov    %ebp,%edi
  2b:   44 89 f6                mov    %r14d,%esi
  2e:   ff d0                   callq  *%rax
  30:   0f af d8                imul   %eax,%ebx
  33:   89 d8                   mov    %ebx,%eax
  35:   48 83 c4 08             add    $0x8,%rsp
  39:   5b                      pop    %rbx
  3a:   41 5e                   pop    %r14
  3c:   41 5f                   pop    %r15
  3e:   5d                      pop    %rbp
  3f:   c3                      retq
```
If I replace `LLVM_ATTR_OPTIMIZE_NONE` with `LLVM_ATTR_OPTIMIZE_FOR_SIZE` it becomes https://www.diffchecker.com/S02HEp0w for llvm.

Co-authored-by: EgorBo <[email protected]>
2020-08-20 13:12:54 +02:00
monojenkinsandYoussef1313 ef1589a6cd Fix trailing whitespaces (#20254)
Related to dotnet/runtime#40887 and dotnet/runtime#40884

Co-authored-by: Youssef1313 <[email protected]>
2020-08-20 12:14:59 +02:00
Alexander Köplinger 07e2ed7708 Add --sdk_root to sdkmanager 2020-08-19 02:24:13 +02:00
Alexander Köplinger c73aa699d6 Support overriding SDK_DIR/NDK_DIR in sdks/android/Makefile
We need this for the new Jenkins Android emulator plugin since it uses a different adb version than what we have in $(ANDROID_TOOLCHAIN_DIR)/sdk.
2020-08-19 01:25:30 +02:00
Zoltan Varga 746ece2e0f [aot] Fix the lookup of jit info for WASM. On wasm, methods have no size, so (#20262)
only the method address can be looked up, jinfo->code_size is set to 1.

Fixes https://github.com/mono/mono/issues/20256.
2020-08-18 14:23:56 -04:00
monojenkinsandlateralusX 1d85cba972 Enable tests failing due to missing array ctor and lbound index checks. (#20100)
Fix https://github.com/mono/mono/pull/19494 adds missing array ctor needed by several tests currently failing as described by https://github.com/dotnet/runtime/issues/34068.

This PR fixes an additional problem hit by the IL array tests using an lbound != 0. Current Mono codegen for Set/Get/Address array methods didn't adjust index with regards to lbound causing failures in several of the array tests. NOTE, this scenario should only be hit when directly calling Set/Get/Address using IL on an array with an lbound != 0. It shouldn't affect regular szarray's at all since that code paths should never be used and the codegen currently looks up the lbounds unconditionally in the array, so if that code path ever gets hit by a szarray, it will imdediate crash, so shouldn't be causing any performance impact on szarrays. There is also an additional check on the array type as well as an additional precaution, so only arrays of type MONO_TYPE_ARRAY, hitting codegen for Set/Get/Address array method calls will adjust index based on lbound.

This PR fix the lbound index codegen for that specific code path and re-eanbles the tests currently listed in https://github.com/dotnet/runtime/issues/34068.

Co-authored-by: lateralusX <[email protected]>
2020-08-18 18:49:26 +02:00
monojenkinsandlateralusX 6d26f8ba24 Fix EventActivityIdControl test on MonoVM. (#20106)
Make EventSource call static version of EventActivityIdControl in EventPipeEventProvider instead of direct calling low level
EventPipeInternal (now only called from EventPipe* sources). Doing it that way will also keep EventPipeEventProvider.EventActivityIdControl in S.P.C meaning that tests like eventactivityidcontrol won't risk
of using methods that has been trimmed away by linker.

Added missing case into Mono's EventPipeInternal::EventActivityIdControl implementations.

Enabled eventactivityidcontrol test on Mono runtime. Adjusted test to use static EventPipeEventProvider.EventActivityIdControl version.

Co-authored-by: lateralusX <[email protected]>
2020-08-18 13:02:40 +02:00
monojenkinsandCoffeeFlux 669ed125e3 [mono] Loader improvements: bundle optimization and logging (#20246)
See individual commits and description.

Co-authored-by: CoffeeFlux <[email protected]>
2020-08-17 18:53:59 -04:00