-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[BOLT] Add support for safe-icf #116275
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
Merged
Merged
[BOLT] Add support for safe-icf #116275
Changes from 6 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
03ca42c
safe-icf
ayermolo 237c02e
Changed icf option
ayermolo d794fb0
addressed comments
ayermolo 6e853ca
Added four tests for pic/no-pic mode. Tests for global const function…
ayermolo e36ec02
switched to enum version of icf compile option
ayermolo b83c335
simplified debug print, removed shared func
ayermolo 39c7902
updated tests
ayermolo 39586b3
addressed comments
ayermolo debeb6f
updated icf option descriptions
ayermolo 429075e
moved getRelocation* to Relocs.cpp
ayermolo 29cc466
moved code around
ayermolo bf3bf2b
simplified assembly
ayermolo e867900
changed comment
ayermolo ab51077
consolidate main/helper assembly under main. Next step move to test t…
ayermolo 8fe4b3c
move assembly into test
ayermolo dc41c58
removed some lines from assembly
ayermolo 6287a7f
removed comments, changed demangled names for key functions
ayermolo c6a1965
removed .text and .file
ayermolo d393b5e
Changed schedule strategy, cleaned up tests some more, and removed so…
ayermolo 4ace9bd
moved reloc checking code, and changed elf object from assert to retu…
ayermolo 09bc3fa
fixing formatting that was messed up due to VSC format on save gettin…
ayermolo 3912b85
some cleanup after code changes to address comments
ayermolo 769cf24
clang-format
ayermolo d4f81c9
removed some redundant tests, re-added on more targetted one that jus…
ayermolo ec54f24
removed one more test I missed
ayermolo 13bcc22
Changed so that general data sections are processed. Moved ICF option…
ayermolo 5110f74
Added vtable filtering, and check fo X86 architecture
ayermolo d524ed5
moved check as first one
ayermolo 77ae0a2
fix formatter
ayermolo d03ff1d
minor nits
ayermolo 38758ee
Removed skip and moved processInstructionForFuncReferences, nits
ayermolo bfb1dc6
refactor bit vector
ayermolo 417196c
nit
ayermolo bbf015f
changed to using BinarySections, cleaned up code that is no longer ne…
ayermolo 1ef1d27
clang-format
ayermolo f1813b3
more cleanup
ayermolo eb882e5
addressed comments
ayermolo f6dcb90
added comment for static relocs
ayermolo 0070ceb
Added deprecation warning, switched to SparseBitVector
ayermolo 0f96524
changed comments
ayermolo a9cd467
more cleanup
ayermolo 6a89d5c
addressed comments
ayermolo 645aac2
small change to comment
ayermolo 23ea76b
changed comments for HasAddressTaken
ayermolo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.