Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Update tests to match analyzer behavior around intrinsics - #2627

Merged
vitek-karas merged 2 commits into
dotnet:feature/damAnalyzerfrom
vitek-karas:UpdateTestForIntrinsics
Feb 17, 2022
Merged

vitek-karas merged 2 commits into
dotnet:feature/damAnalyzerfrom
vitek-karas:UpdateTestForIntrinsics

Conversation

@vitek-karas

Copy link
Copy Markdown
Member

Analyzer intentionally "ignores" intrinsics which linker recognizes, but analyzer doesn't yet. Meaning it will not produce any warnings due to them.

Some tests didn't reflect this change correctly.

Analyzer intentionally "ignores" intrinsics which linker recognizes, but analyzer doesn't yet. Meaning it will not produce any warnings due to them.

Some tests didn't reflect this change correctly.

@tlakollo tlakollo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I didn't realize these warnings were not even produced anymore. Definitely, allowMissingWarnings has some caveats.

@vitek-karas
vitek-karas merged commit d87097f into dotnet:feature/damAnalyzer Feb 17, 2022
@vitek-karas
vitek-karas deleted the UpdateTestForIntrinsics branch February 17, 2022 20:45
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
…ker#2627)

Analyzer intentionally "ignores" intrinsics which linker recognizes, but analyzer doesn't yet. Meaning it will not produce any warnings due to them.

Some tests didn't reflect this change correctly.


Commit migrated from dotnet/linker@d87097f
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants