-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[CodeGen][NPM] Port MachineSanitizerBinaryMetadata to NPM #130069
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CodeGen][NPM] Port MachineSanitizerBinaryMetadata to NPM #130069
Conversation
e986593
to
f06e7f4
Compare
003ff87
to
5c5dde0
Compare
f06e7f4
to
ffd8728
Compare
5c5dde0
to
ca3edf5
Compare
ffd8728
to
49cfcf2
Compare
ca3edf5
to
2a60a24
Compare
MachineFunctionAnalysisManager &MFAM) { | ||
if (!MachineSanitizerBinaryMetadata().run(MF)) | ||
return PreservedAnalyses::all(); | ||
return getMachineFunctionPassPreservedAnalyses(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it should preserve nearly everything, particularly CFG
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pass also violates the assumption that machine passes never modify the underlying IR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed #130553
return PreservedAnalyses::all(); | ||
return getMachineFunctionPassPreservedAnalyses(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return PreservedAnalyses::all(); | |
return getMachineFunctionPassPreservedAnalyses(); | |
return PreservedAnalyses::all(); | |
return getMachineFunctionPassPreservedAnalyses(); |
49cfcf2
to
10b5b57
Compare
2a60a24
to
17c20b1
Compare
10b5b57
to
edd9320
Compare
17c20b1
to
0bc54f7
Compare
Didn't find a test for this (but there are tests for the `Function` version of this pass)
Didn't find a test for this (but there are tests for the
Function
version of this pass)