-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[llvm][AsmPrinter] Emit call graph section #87576
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
Prabhuk
merged 118 commits into
main
from
users/Prabhuk/sprasmprintercallgraphsection-emit-call-graph-section-4
Jul 31, 2025
Merged
Changes from 107 commits
Commits
Show all changes
118 commits
Select commit
Hold shift + click to select a range
fbe540b
[𝘀𝗽𝗿] changes to main this commit is based on
necipfazil d163d80
[𝘀𝗽𝗿] initial version
necipfazil 4c15a50
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil dd26405
Updated fixme on PR 87570
necipfazil e7111f0
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil b5b03fd
Rebased on top of main
necipfazil 2b3551e
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil b90a4d5
dyn_cast to isa
necipfazil a692109
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 332f2aa
Rebased on upstream main.
necipfazil 826c83e
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 1209081
Rebase patchset
necipfazil 60f93a8
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 1981340
Update inline comment as suggested.
necipfazil a2daca9
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 423d5f2
Addressed review comments.
necipfazil 17ee91d
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil e51ce07
Rebase on top of upstream main.
necipfazil 21ec0f7
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil e4684b8
Break clang and llvm parts into separate commits.
necipfazil 5caf81d
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 7f15e6b
Reorder commits.
necipfazil 2d88d20
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 3fad066
Rebase on top of main.
necipfazil 1f6e111
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 1fd9775
Rename OB_type to OB_callee_type.
necipfazil 4615cce
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 2f763c0
Rebase on top of main
necipfazil 5857d51
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 5e6675b
Update IR verifier.
necipfazil d9322de
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 39e5b93
Add requested tests part 1.
necipfazil 6df6234
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil f18f492
Update comments in tests.
necipfazil 6b67376
Updated the test as reviewers suggested.
necipfazil d2bb381
Scoped enum. Simplify test.
necipfazil e3c95b5
Remove unnecessary cast.
necipfazil 607b992
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 835c2e2
Remove unnecessary asserts. Remove autos for better readability.
necipfazil 678008e
Reorder IR metadata and rename temporary var names in test.
necipfazil 23f00d0
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 5831ed4
Add RISC-V support. Clean up test files.
necipfazil a0eb067
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 77ce9ab
Clean up test files.
necipfazil a4a1171
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 7d8418c
Address code refactoring comments.
necipfazil 42c830f
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 19043db
Use CalleeTypeIds list to emit callgraph section.
necipfazil 4789571
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 0754d49
Address review comments.
necipfazil 86e5b9a
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk cf2e510
Extract callsite label emission as a private method.
necipfazil 4b04333
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 80df0c0
Address review comments.
necipfazil caf45da
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 20679e7
Address review comments.
necipfazil 63e56f2
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 48e878c
Address review comments.
necipfazil d072c83
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk aeaa155
Separate the assembly test for callgraph section and related labels i…
necipfazil a1834c9
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk f248de4
Rebase on parent.
necipfazil 02d721d
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 516dee0
Add llvm-mc test. Address comments.
necipfazil b45026e
Update test inline comments.
necipfazil 370d4f0
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 106364f
Rebase on parent.
necipfazil f1051d5
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 9a561db
Rebase on parent.
necipfazil 4462f6b
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 5778238
Rebase on parent change.
necipfazil 5626438
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk caae8ac
Remove dso_local and noundef from tests.
necipfazil 850fe68
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk dcf4495
Rebase on parent.
necipfazil d651899
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 9d25b19
Rebase on parent
necipfazil 6a0f9b5
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 837e254
Rebase on main.
necipfazil f8f741c
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 65a4435
Drop local_unnamed_addr.
necipfazil 58417bc
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk e1e3fd1
Rebase change.
necipfazil dc9cca4
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 7102170
Rebase.
necipfazil dd8808b
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk aeac1c3
Rebase on parent
necipfazil d332966
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk b95355d
Rebase on top of main.
necipfazil 1975538
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 2397f11
Update hasGeneralizedMDstring API call.
necipfazil 5723d40
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk ceef7e4
Rebase on parent
necipfazil f07f515
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 4422763
Rebase on top of parent change.
necipfazil 52a4b6c
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 317bf8e
Rebase on parent.
necipfazil 73508dd
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 0096eaf
Rebase on parent.
necipfazil f1a4e6c
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk df57b4f
Address review comments.
necipfazil f81b59e
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk d0abedc
Use llvm-reduce to simplify codegen test.
necipfazil 1bd19e6
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 388b958
Rebase.
Prabhuk b94b3e0
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 13efd72
Reduce tests. Update comments in tests.
Prabhuk 2c63a33
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk b327bab
Rebase on main.
Prabhuk 9e6843a
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk f4c8b22
Rebase.
Prabhuk b498381
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk c6cac61
Rebase on parent.
Prabhuk 28bcfbe
Check for .L.* instead of .Ltmp[0-9]+ in test.
Prabhuk a9401f0
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk d0590e9
Rebase on main.
Prabhuk 7a2f29a
Fix inline comments.
Prabhuk 608ba94
Fix alignment in test file.
Prabhuk 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
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.
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.
I'm also not 100% sure what you mean by
inclusive of al indirect calls of the function. Can you clarify?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.
Reworded the inline comments. PTAL.