-
Notifications
You must be signed in to change notification settings - Fork 14.9k
[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
237c02e
Changed icf option
d794fb0
addressed comments
6e853ca
Added four tests for pic/no-pic mode. Tests for global const function…
e36ec02
switched to enum version of icf compile option
b83c335
simplified debug print, removed shared func
39c7902
updated tests
39586b3
addressed comments
debeb6f
updated icf option descriptions
429075e
moved getRelocation* to Relocs.cpp
29cc466
moved code around
bf3bf2b
simplified assembly
e867900
changed comment
ab51077
consolidate main/helper assembly under main. Next step move to test t…
8fe4b3c
move assembly into test
dc41c58
removed some lines from assembly
6287a7f
removed comments, changed demangled names for key functions
c6a1965
removed .text and .file
d393b5e
Changed schedule strategy, cleaned up tests some more, and removed so…
4ace9bd
moved reloc checking code, and changed elf object from assert to retu…
09bc3fa
fixing formatting that was messed up due to VSC format on save gettin…
3912b85
some cleanup after code changes to address comments
769cf24
clang-format
d4f81c9
removed some redundant tests, re-added on more targetted one that jus…
ec54f24
removed one more test I missed
13bcc22
Changed so that general data sections are processed. Moved ICF option…
5110f74
Added vtable filtering, and check fo X86 architecture
d524ed5
moved check as first one
77ae0a2
fix formatter
d03ff1d
minor nits
38758ee
Removed skip and moved processInstructionForFuncReferences, nits
bfb1dc6
refactor bit vector
417196c
nit
bbf015f
changed to using BinarySections, cleaned up code that is no longer ne…
1ef1d27
clang-format
f1813b3
more cleanup
eb882e5
addressed comments
f6dcb90
added comment for static relocs
0070ceb
Added deprecation warning, switched to SparseBitVector
0f96524
changed comments
a9cd467
more cleanup
6a89d5c
addressed comments
645aac2
small change to comment
23ea76b
changed comments for HasAddressTaken
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.