-
Notifications
You must be signed in to change notification settings - Fork 17k
[lld][AArch64][Build Attributes] Add support for converting AArch64 Build Attributes to GNU Properties #131990
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit
Hold shift + click to select a range
f98c952
[lld][AArch64][Build Attributes] Add support for converting AArch64 B…
sivan-shani d4299e9
fix formatting
sivan-shani 783dbf9
remove stand alone condition out of braces of prevoius condition
sivan-shani 5dfca32
formatting
sivan-shani 8b6377a
formatting
sivan-shani 9d81bc0
formatting
sivan-shani 9c8f950
format
sivan-shani 94bebe0
format
sivan-shani e73a6bd
fix: readig symbol table should be done once per file, not per symbol…
sivan-shani 60a5eea
remove memory header
sivan-shani 9052abf
undo unrealted formatting
sivan-shani 52869a1
remove unused variable
sivan-shani 534e55e
clarify what is being sanitized in comments
sivan-shani 02a1fa7
change SmallVector to SmallVectorImpl
sivan-shani ec89018
undo unrelated formatting
sivan-shani 7292c36
fix formating fail
sivan-shani d026726
use instead of asigning auto f =(*this)
sivan-shani 6709e9a
pass InputSection by reference
sivan-shani 04e2a16
remove unnecessery headers
sivan-shani eb2abbc
err on unknown tags for non-optional subsection
sivan-shani eb84c8c
use vector.empty() instead of 0 == vector.size()
sivan-shani be821a5
remove warnig on empty pauth subsection
sivan-shani f9a0fcb
enum instead of numbers
sivan-shani ab6dc73
simplify: use struct to hold attributes instead of needlesly over-com…
sivan-shani 8a21905
remove merging
sivan-shani fd365cb
check for gnu properties section in a separate loop before the main loop
sivan-shani 024847d
fix asignment to wrong values
sivan-shani f9d7aa8
scheme --> schema
sivan-shani 7903817
use value_or() for optionals
sivan-shani f225428
warn when both gnu properties and aarch64 build attributes exist
sivan-shani 0e643e5
add test files
sivan-shani f187b20
remove required from test files in AArch64 folder
sivan-shani 81a86d8
add test files for drop-in aarch64 BA replacement for gnu properties
sivan-shani 592100f
change test files names
sivan-shani fe23b71
remove now unused variables
sivan-shani dceec93
change varibles from std::optional to unsigned
sivan-shani de3e43e
remove unused bool
sivan-shani 72e725a
comments should have capital letters and full stops
sivan-shani 902f9ef
create InputSection once outside if/else
sivan-shani 2df0fcb
remove warning when both aarch64 BA and gno properties present + rela…
sivan-shani ecd2c51
remove part of tests which are irelevant for testing aarch64 ba
sivan-shani d439930
fix file name
sivan-shani 22c6478
remove unused func getBuildAttributesSection
sivan-shani 3321d46
remove test file for testing errs and warns
sivan-shani 17dbb95
fix endianess
sivan-shani ed7b5e6
format
sivan-shani f0eb74d
restore formatting
sivan-shani 6a541b8
remove unused function arguments
sivan-shani 4620091
add break to loop when section found
sivan-shani c8637a0
refactor by using lambda
sivan-shani 1470bdf
format
sivan-shani 98dc05f
remove unused include, s/dispatcher/loader/
sivan-shani 57d7ff9
do not wrtie pauth data when both values are 0
sivan-shani ddb1b3e
consolidate test files
sivan-shani debcd30
check gnu properties content
sivan-shani deaf7de
add test file when both GNU properties and BA present, but GP has no …
sivan-shani 88359f4
add test file for melformed object file
sivan-shani 64a45ed
change struct name
sivan-shani 8873a15
handle GNU properties and build attributes after loop
sivan-shani 9e70cbe
delete commented lines
sivan-shani bbb33fe
only serialize, reduce message size
sivan-shani 711ea6f
comments
sivan-shani b46b466
revert unintended change in comment
sivan-shani 24f4b80
format
sivan-shani 8e27785
unsigned -> uint64_t
sivan-shani da33de6
change to uint32_t andFeatures = 0;
sivan-shani 5cb1940
use lambda for getting attributes values
sivan-shani 572e5f4
move reading .note.gnu.property to the parse loop
sivan-shani 31214b8
use split-file for testing
sivan-shani 7d2d795
move AArch64 related code to AArch64.h
sivan-shani b2803a3
restore white space
sivan-shani cb49f85
remove {} and fix typo in comments
sivan-shani dd89ea1
format
sivan-shani 93f21f2
remove empty line
sivan-shani e40609a
revert std::string to StringRef, change already been merged
sivan-shani 3f5b14c
typo and format
sivan-shani 5013203
move AArch64 specific code to llvm/include/llvm/Support/AArch64Attrib…
sivan-shani 9738781
add check before executing handleAArch64BAAndGnuProperties
sivan-shani 45f7246
fix typo in file name
sivan-shani d802fcc
remove redundant tests, consolidate some tests files
sivan-shani ae1a032
move functions back to original location in file, add forward declara…
sivan-shani b5c882e
remove dead code
sivan-shani 54fe275
move code back to prev lcation
sivan-shani afca83d
remove unnecessery include
sivan-shani 20760a9
change test file from using yaml to using .section notations
sivan-shani 8b1e002
change ErrAlways to Err
sivan-shani 37a3aec
change test files comments to follow lld convention
sivan-shani da6ddb2
remove unneeded default ctor
sivan-shani b3e62ec
arrange forward declarations
sivan-shani 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
formatting
- Loading branch information
commit 5dfca32cc8dd8ce358323d813bb4e2fefdd6a38b
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
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.