Skip to content

Delete JIT disasm output in test wrappers before running FileCheck - #81538

Merged
jakobbotsch merged 1 commit into
dotnet:mainfrom
jakobbotsch:filecheck-delete-jitdisasm
Feb 2, 2023
Merged

jakobbotsch merged 1 commit into
dotnet:mainfrom
jakobbotsch:filecheck-delete-jitdisasm

Conversation

@jakobbotsch

@jakobbotsch jakobbotsch commented Feb 2, 2023 •

Copy link
Copy Markdown
Member

JitStdOutFile has append behavior, so if you rerun the scripts you would get multiple repeated sets of jitdisasm. This would give FileCheck a range of disassembly to match that was much wider than expected.

JitStdOutFile has append behavior, so if you rerun the scripts you would
get multiple repeated sets of jitdisasm. This would give FileCheck a
much range of disassembly to match that was much wider than expected.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 2, 2023
@ghost ghost assigned jakobbotsch Feb 2, 2023
@ghost

ghost commented Feb 2, 2023

Copy link
Copy Markdown

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak
See info in area-owners.md if you want to be subscribed.

Issue Details

JitStdOutFile has append behavior, so if you rerun the scripts you would get multiple repeated sets of jitdisasm. This would give FileCheck a much range of disassembly to match that was much wider than expected.

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@a74nh

a74nh commented Feb 2, 2023

Copy link
Copy Markdown
Contributor

This has been bothering me for a while! Glad to see a fix. Was going to do myself but hadn't tracked down where to do the delete.
Changes look good to me, but I'm not familiar with that file.

@jakobbotsch

Copy link
Copy Markdown
Member Author

Failures are known according to build analysis

@jakobbotsch
jakobbotsch merged commit 2411d09 into dotnet:main Feb 2, 2023
@jakobbotsch
jakobbotsch deleted the filecheck-delete-jitdisasm branch February 2, 2023 18:31
@ghost ghost locked as resolved and limited conversation to collaborators Mar 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants