Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitek Karas <10670590+vitek-karas@users.noreply.github.com>2022-07-19 11:19:48 +0300
committerGitHub <noreply@github.com>2022-07-19 11:19:48 +0300
commit56b22b593c719ccb0729467c6d19a09369837951 (patch)
treefbcc5c69cb512b6eb4b10491b02cf061829b0bfd /eng/testing
parentc0ddf0f0a2437262ed9837cd70497c39671c74f6 (diff)
Linker to NativeAOT sync (#71485)
This brings changes from the linker repo to ilc roughly as of a week ago. This required some non-trivial changes to the code either already in ilc or the one coming from linker: * Port of CompilerGeneratedState * Modify it to use lock free hashtable (since it's a global cache and thus needs to be thread safe) * In ILC it requires to operate on generic definitions of everything - so add asserts and code to guarantee this * It's not a static class anymore, so pass the instance around as necessary * Requires IL access, so needs ILProvider on input * Cyclic dependency between Logger and CompilerGeneratedState, one needs the instance of the other to work. For now solved by setting it through a property on CompilerGeneratedState * Split of ReflectionMethodBodyScanner into AttributeDataFlow and GenericParameterDataFlow - mostly direct port from linker * The AttributeDataFlow works slightly differently in ilc so adopted the code there * Changes to DiagnosticContext * Can selectively disable Trim, AOT, Single-File diagnostics - used to correctly apply RUC, RDC and RAF suppressions * Improve handling of RUC and similar warnings in ReflectionMarker * Added ILOffset to MessageOrigin * Even though we already store file/column, the ILOffset is necessary since we use the MessageOrigin as a key in dictionary for recorded patterns and thus we need a way to make the origin unique for each callsite (and file/line/column might not be unique or if there's no PDB those will be null anyway). * Enable Equality/HashCode implementation on MessageOrigin, still no CompareTo since we don't need it for anything right now.
Diffstat (limited to 'eng/testing')
-rw-r--r--eng/testing/tests.singlefile.targets2
1 files changed, 1 insertions, 1 deletions
diff --git a/eng/testing/tests.singlefile.targets b/eng/testing/tests.singlefile.targets
index f95e1957de0..18b342db71a 100644
--- a/eng/testing/tests.singlefile.targets
+++ b/eng/testing/tests.singlefile.targets
@@ -26,7 +26,7 @@
<IlcBuildTasksPath>$(CoreCLRILCompilerDir)netstandard/ILCompiler.Build.Tasks.dll</IlcBuildTasksPath>
<IlcSdkPath>$(CoreCLRAotSdkDir)</IlcSdkPath>
<IlcFrameworkPath>$(NetCoreAppCurrentTestHostSharedFrameworkPath)</IlcFrameworkPath>
- <NoWarn>$(NoWarn);IL3050;IL3051;IL3052;IL3055;IL1005</NoWarn>
+ <NoWarn>$(NoWarn);IL3050;IL3051;IL3052;IL3055;IL1005;IL3002</NoWarn>
<TrimmerSingleWarn>false</TrimmerSingleWarn>
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>