- 23 3月, 2022 18 次提交
-
-
由 Viktor Hofer 提交于
* Delete System.Runtime.Experimental leftovers e34e8dd8 merged the API surface of System.Runtime.Experimental inbox and deleted the project and the package. Hence we should delete leftovers that reference it. * Update System.Runtime.csproj
-
由 Stephen Toub 提交于
-
由 Vlad Brezae 提交于
* [mono][interp] Enable all IL_Conformance tests * [mono][interp] Enable tests * [mono][interp] Enable test * [tests] Fix ckfinite test According to spec, ckfinite can throw ArithmeticException. CoreCLR throws OverflowException while mono throws ArithmeticException. Change test to catch all ArithmeticExceptions.
-
由 Michal Strehovský 提交于
`UnmanagedPdbSymbolReader` will already perform a GUID check that rejects mismatched symbol files. Do the same for the portable symbol reader.
-
由 Egor Bogatov 提交于
-
由 Mikel Blanchard 提交于
-
由 Omair Majid 提交于
This is mainly motivated by the March 2022 release of .NET 5. .NET 5 was found to be vulnerable to CVE-2020-8927, which was caused by the older version of brotli built into .NET. .NET was vulernable even in environments where a system-wide version of brotli was present and had already received fixes for this CVE. We could have avoided a Remote Code Execution vulnerability in such environments by using the system's version of brotli. This is similar to the existing support for disabling distro-agnostic OpenSSL (except no OpenSSL is embedded) and using the system libunwind (a copy of libunwind is embedded this repo). One small twist is the presence of entrypoint verification. In a system-brotli build, the verification fails, because the built library, libSystem.IO.Compression.Native.so, doesn't include the symbols for Brotli. Those symbols are instead used from the system brotli libraries.
-
由 Andy Gocke 提交于
* Delete create-codespaces-prebuild.yml * Remove reference to the prebuild action and link to the codespaces doc instead. Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com>
-
由 Carlos Sanchez 提交于
Co-authored-by: Ncarlossanlop <carlossanlop@users.noreply.github.com>
-
由 Jeremy Barton 提交于
When adding tracing to the Linux X509Chain build, the "when do we process revocation" check got cleaned up to avoid doing wasteful work. But it got cleaned a bit too aggressively. With this change, fully-valid and valid-except-for-validity chains will both move into active revocation checks.
-
由 Zoltan Varga 提交于
-
由 Eirik Tsarpalis 提交于
* Consolidate sync/async JsonSerializer test abstractions * Rename wrapper properties
-
由 Stephen Toub 提交于
-
由 Aaron Robinson 提交于
* Release CordbUnmanagedThread from CordbProcess member The m_lastDispatchedIBEvent was not being cleared during shutdown, which was causing a memory leak assert to fire. Co-authored-by: NAdeel Mujahid <3840695+am11@users.noreply.github.com>
-
由 Aaron Robinson 提交于
* Release CordbUnmanagedThread from CordbProcess member The m_lastDispatchedIBEvent was not being cleared during shutdown, which was causing a memory leak assert to fire. Co-authored-by: NAdeel Mujahid <3840695+am11@users.noreply.github.com>
-
由 Radek Doulik 提交于
* Initial changes for emscripten 2.0.34 * Use emcc-link.rsp in build targets * Use updated docker images * Fix compiler warnings Co-authored-by: NZoltan Varga <vargaz@gmail.com> * Put `--profiling-funcs` to `_EmccLinkFlags` * Fix build src/mono/mono/mini/mini-runtime.c:3407:25: error: ‘invoke’ undeclared (first use in this function); did you mean ‘revoke’? 3407 | invoke = mono_marshal_get_runtime_invoke_dynamic (); * Add shell to the environment Environment setting https://github.com/emscripten-core/emscripten/blob/2.0.34/src/settings.js#L616-L641 From emscripten 2.0.25 release notes - Support for the 'shell' environment is now disabled by default. Running under `d8`, `js`, or `jsc` is not something that most emscripten users ever want to do, so including the support code is, more often than not, unnecessary. Users who want shell support can enable it by including 'shell' in `-s ENVIRONMENT` (#14535). Example of the the size increase for bench sample: -a--- 12/10/2021 3:35 PM 382113 dotnet.js -a--- 12/13/2021 10:37 AM 383589 dotnet.js * Add emcc-link.rsp to PlatformManifestFileEntry * Feedback https://github.com/emscripten-core/emscripten/blob/2fda25eea756c78c8cb024aa5b6c2b188bf7990f/src/settings.js#L1173-L1176 -s EXPORT_ES6 is link option * Bump emscripten version * Bump llvm package version and use its libclang * Use newer docker images with emscripten 3.1.1 * Remove unused variable * Add note about icu repo * Add comment to improve code readability * Bump the ICU and emsdk versions * disable non-wasm builds * disable wasm jobs in runtime, and runtime-staging, as we'll be running runtime-wasm manually * [wasm] Re-enable tests that were disabled due to the earlier emsdk bump System.Linq.Tests.csproj: https://github.com/dotnet/runtime/issues/64774 System.Text.Json.Tests.csproj: https://github.com/dotnet/runtime/issues/64775 System.Text.RegularExpressions.Tests.csproj: https://github.com/dotnet/runtime/issues/64769 System.Threading.Channels.Tests.csproj: https://github.com/dotnet/runtime/issues/65012 System.Collections.Immutable.Tests.csproj: https://github.com/dotnet/runtime/issues/65335 * [wasm] Disable nodejs tests They are still unstable, and fail with: ``` [01:27:29] fail: /datadisks/disk1/work/A3DA08F7/w/B1B30976/e/test-main.js:97 [01:27:29] fail: if (typeof globalThis.crypto === 'undefined') { [01:27:29] fail: ^ [01:27:29] fail: [01:27:29] fail: ReferenceError: globalThis is not defined [01:27:29] fail: at Object.<anonymous> (/datadisks/disk1/work/A3DA08F7/w/B1B30976/e/test-main.js:97:1) [01:27:29] fail: at Module._compile (internal/modules/cjs/loader.js:778:30) [01:27:29] fail: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) [01:27:29] fail: at Module.load (internal/modules/cjs/loader.js:653:32) [01:27:29] fail: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) [01:27:29] fail: at Function.Module._load (internal/modules/cjs/loader.js:585:3) [01:27:29] fail: at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) [01:27:29] fail: at startup (internal/bootstrap/node.js:283:19) [01:27:29] fail: at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) ``` Issue: https://github.com/dotnet/runtime/issues/65485 * fix wbt build * Update path to node in helix commands. * disable non-wasm builds * [wasm] Make emscripten version mismatch an error on CI * Bump emscripten packages used to preview3, which has emsdk 3.1.1 * Update emscripten package version in Versions.props tooo * Re-enable wasm jobs * enable non-wasm jobs * Add more missing exports * __dl_seterr shouldn't be needed * Fix MicrosoftNETCoreRuntimeICUTransportVersion * Put back the 3.1.1 docker images after merge * Revert "fix wbt build" This reverts commit f7c77d995e36130118dd9d98c2c66809aaf42fe2. * Revert "[wasm] Disable nodejs tests" This reverts commit 7b90965638b7e90bf4d35c69696f2f361a04ef20. * Use newer ICU package, last that still had 3.1.1 * Try different helix queue parameter * Revert "Try different helix queue parameter" This reverts commit a34230f7fe04760df30c5e63e14826575f1a7545. * Fix helix queue with docker tag * Try to set PYTHONPATH for emscripten * [wasm] Do not set _WasmDevel=true for blazor projects * Increase timeout The AOT tests are canceled after timeout * Fix WBT tests Co-authored-by: NAnkit Jain <radical@gmail.com> * [wasm] Export more functions `htons,ntohs,_get_daylight,_get_timezone,_get_tzname` .. to fix: ``` EXEC : warning : undefined symbol: htons (referenced by $inetPton6__deps: ['htons','$jstoi_q'], referenced by $writeSockaddr__deps: ['$Sockets','$inetPton4','$inetPton6','$zeroMemory'], referenced by __syscall_accept4__deps: ['$getSocketFromFD','$writeSockaddr','$DNS','$SYSCALLS'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] EXEC : warning : undefined symbol: ntohs (referenced by $inetNtop6__deps: ['$inetNtop4','ntohs'], referenced by $readSockaddr__deps: ['$Sockets','$inetNtop4','$inetNtop6','ntohs'], referenced by $getSocketAddress__deps: ['$readSockaddr','$FS','$DNS'], referenced by __syscall_bind__deps: ['$getSocketFromFD','$getSocketAddress','$SYSCALLS'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] EXEC : warning : undefined symbol: _get_daylight (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] EXEC : warning : undefined symbol: _get_timezone (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] EXEC : warning : undefined symbol: _get_tzname (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] ``` ``` Starting: Microsoft.Extensions.Logging.Tests.dll Message1 : testKey3:testValue, testKey2:, testKey1: missing function: ntohs Error at Object.onAbort (test-main.js:176:60) at abort (./dotnet.js:1316:24) at _ntohs (./dotnet.js:4990:35) at readSockaddr (./dotnet.js:5091:18) ... ``` * fix exported function names Co-authored-by: NRadek Doulik <radekdoulik@google.com> Co-authored-by: NZoltan Varga <vargaz@gmail.com> Co-authored-by: NLarry Ewing <lewing@microsoft.com> Co-authored-by: NAnkit Jain <radical@gmail.com> Co-authored-by: NMarek Fišera <mara@neptuo.com>
-
由 Andrew Au 提交于
-
由 Luca Leonardo Scorcia 提交于
-
- 22 3月, 2022 22 次提交
-
-
由 Michal Strehovský 提交于
* Include method instantiation MethodTables in compilation We'll need to load the `MethodTable` so that we can search for it in GVM tables. * Regression test
-
由 Adam Sitnik 提交于
-
由 Stijn Herreman 提交于
-
由 Jan Vorlicek 提交于
* Cleanup obsolete 32 bit related macOS code * Cleanup obsolete mac OS 32 bit stuff I've noticed that we had some stuff in our PAL that was there from the era of the 32 bit mac OS, so I have removed it.
-
由 stefan-sf-ibm 提交于
-
由 Adeel Mujahid 提交于
Also upstreamed a fix for libunwind https://github.com/libunwind/libunwind/pull/342 (but we are not using ptrace so it can wait until the next libunwind update).
-
由 Ankit Jain 提交于
* [wasm] Do not set _WasmDevel=true for blazor projects to workaround wasm-ld getting oomkilled. Fixes https://github.com/dotnet/runtime/issues/66725, and https://github.com/dotnet/runtime/issues/66591 * Fix test
-
由 Michal Strehovský 提交于
LLVM already assumes the `char*` it receives is UTF-8. Fixes #66913.
-
由 Michal Strehovský 提交于
The trimming settings for .NET 5 are not compatible and lead to rooting everything. Who knows what else is not compatible. We don't test this.
-
由 Jeremy Koritzinsky 提交于
* Fix some alloc-dealloc mismatches found by ASAN * Define new static
-
由 Tomas Weinfurt 提交于
* remove unused code * fix osx build * android
-
由 Badre BSAILA 提交于
-
由 Jeremy Koritzinsky 提交于
Co-authored-by: NBruce Forstall <brucefo@microsoft.com>
-
由 Jan Kotas 提交于
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/linker build 20220311.3 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22160.1 -> To Version 7.0.100-1.22161.3 * Update dependencies from https://github.com/dotnet/linker build 20220314.1 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22160.1 -> To Version 7.0.100-1.22164.1 * Fix warnings introduced by new version of trim analyzer In the case of Type.Helpers.cs better data flow analysis in the analyzer uncovers a warning. The method is used to implement reflection functionality and the warnings are not a problem and should be suppressed. In the case of the System.Private.Xml Types.cs, the analyzer shows a real issue where the annotation is not enough for what the method does. This changed the annotation to All - which is already in place in all the callers anyway. * Update dependencies from https://github.com/dotnet/linker build 20220318.5 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22160.1 -> To Version 7.0.100-1.22168.5 * Update dependencies from https://github.com/dotnet/linker build 20220318.6 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22160.1 -> To Version 7.0.100-1.22168.6 * Fix suppression for MakeGenericType of Nullable Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Nvitek-karas <10670590+vitek-karas@users.noreply.github.com> Co-authored-by: NSven Boemer <sbomer@gmail.com>
-
由 Carlos Sanchez 提交于
-
由 Jeremy Koritzinsky 提交于
Co-authored-by: NAaron Robinson <arobins@microsoft.com>
-
由 Alexander Köplinger 提交于
The remaining usages can be removed.
-
由 dotnet bot 提交于
-
由 Sychev Vadim 提交于
* Add optimization "X & 1 == 1" to "X & 1" (#61412) * Moved the optimization to the morph phase (#61412) * Done in post-order (#61412) * Moved the optimization into fgOptimizeEqualityComparisonWithConst (#61412) * Some corrections due the comments (#61412) * Fix of the picture (#61412) * Add optNarrowTree use (#61412) * Change narrowing to the type check (#61412) * Fix regressions (#61412) * Moved the optimization to the lowering phase (#61412) * Reverted Morph changes (#61412) * Moved the optimization into OptimizeConstCompare method (#61412) * Add GT_EQ check(#61412)
-
由 Adeel Mujahid 提交于
-
由 Anton Firszov 提交于
Avoid taking a lock, and address the use-after-free race condition by guarding GetAddrInfoExContext with a SafeHandle.
-