-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[feature][riscv] handle target address calculation in llvm-objdump disassembly for riscv #109914
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 10 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
a46dd92
added evaluateInstruction method. needs tests
arjunUpatel 30dd584
dealing with git
arjunUpatel fce36f1
sign extend relevant immediates
arjunUpatel 4c8d769
fix indentation
arjunUpatel 81e6acd
fix ADDI + sign extention bugs
arjunUpatel c31baef
prevent symbol reoslution in empty sections
arjunUpatel de457f9
added support for compressed instructions
arjunUpatel d19be54
Merge branch 'llvm:main' into main
arjunUpatel ecfcf56
call evaluateInstruction only when target=RISCV
arjunUpatel 33e100e
fix bug cause test failures with build
arjunUpatel 3fc4e31
Instr eval based on reg width and attempt to pass tests
arjunUpatel e425a7c
address comments, merge instruction evaluation and pass register widt…
arjunUpatel 571f056
remove debugging code
arjunUpatel c36f94e
silly me forgot to save changes
arjunUpatel c461809
run clang format
arjunUpatel 96dd3c3
fix code suggestion
arjunUpatel 846d055
remove absolute first
arjunUpatel b781312
objdump prioritize actual symbols over dummy symbols during resolution
arjunUpatel 146043d
remove unist.h from includes
arjunUpatel e8ea3bb
Revert "objdump prioritize actual symbols over dummy symbols during r…
arjunUpatel 1a23c2c
modify test to effectively test new functionailty
arjunUpatel 707a1ed
Update .gitignore
arjunUpatel e94080f
Update tests to match new functionality
arjunUpatel 4eb81b8
Add tests of scenarios provided in issue description (see issue relat…
arjunUpatel 4169bd4
Update tests to accurately match new symbol resolution search pattern
arjunUpatel e52cbb9
Added tests to increase code coverage of new functionality
arjunUpatel fe84244
Help llvm-lit find new tests
arjunUpatel f2b402b
FIx zero register bug. Previously address resolution would be trigger…
arjunUpatel 5f801eb
Remove ignore of local folder as per comments
arjunUpatel 7d66e20
Remove extraneous header as per comments
arjunUpatel b42cdbb
Use unsigned instead of signed int for values that are always positiv…
arjunUpatel 9476135
Add support for Zcb extensions + corresponding tests
arjunUpatel e3e96c5
Added support for stack pointer based load and stores
arjunUpatel e2888d7
Merge branch 'main' into main
arjunUpatel d1be8f7
Use unsigned int for ArchRegWidth
arjunUpatel 9699b57
Update tests to match new functionality
arjunUpatel e86e92e
One more try at passing tests
arjunUpatel a284a64
Non-exact offset match for failing test
arjunUpatel 8696193
Improve documentation for evaluateInstruction
arjunUpatel 77e8c52
Merge branch 'main' into main
arjunUpatel 090c062
Fix typo in llvm/test/tools/llvm-objdump/RISCV/riscv-ar-coverage.s do…
arjunUpatel 0366e87
Avoid else case as per comments
arjunUpatel a01fa24
Likely did a bad merge in the past. Updating to reflect correct code …
arjunUpatel afd4861
Merge branch 'main' into main
arjunUpatel 3e57664
Merge branch 'main' of github.com:arjunUpatel/llvm-project
arjunUpatel 47d964e
Reduce map lookup of section symbols
arjunUpatel 52ebb65
Remove changes affecting non-RISCV targets
arjunUpatel 1737696
Merge branch 'main' of github.com:arjunUpatel/llvm-project
arjunUpatel 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
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.