-
Notifications
You must be signed in to change notification settings - Fork 790
Fix offload extract #10257
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
Fix offload extract #10257
Conversation
dseynhae
commented
Jul 6, 2023
- More comments for maintainability.
- Extract relevant sections up front to speed up the embedded binary search.
- Provide better diagnostics (especially providing info on the result files).
- Fix code to work on Windows (COFF files).
Looks like there is an issue with the Windows variant of the LIT test. |
// metadata on the embedded binaries) | ||
unsigned FileNum = 0; | ||
|
||
// * Create an array all the sections that have |
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.
// * Create an array all the sections that have | |
// * Create an array of all the sections that have |
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.
LGTM. Thanks. Please address windows failure.
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.
OK for driver
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.
LGTM. Thanks
Hi @againull This change seems good to go. Can you please take a look at this and merge if everything looks ok? The test failure is something we are not able to figure why it's happening. But, it does not seem to be caused by this PR. Thanks |
- More comments for maintainability. - Extract relevant sections up front to speed up the embedded binary search. - Provide better diagnostics (especially providing info on the result files). - Fix code to work on Windows (COFF files). --------- Co-authored-by: Ejjeh <[email protected]>