-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[clang] Introduce CallGraphSection codegen option #117037
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 107 commits into
main
from
users/Prabhuk/sprclangcallgraphsection-add-call-graph-section-option-and-docs
Oct 11, 2025
+23
−0
Merged
Changes from all commits
Commits
Show all changes
107 commits
Select commit
Hold shift + click to select a range
29d4db2
[𝘀𝗽𝗿] changes to main this commit is based on
Prabhuk 8f53618
[𝘀𝗽𝗿] initial version
Prabhuk a794047
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil abfcb9c
Reorder commits.
Prabhuk de23806
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 05307cf
Update LTO compilation CodeGen flag for call-graph-section.
Prabhuk 6a12be2
Fix EOF newlines.
Prabhuk a068971
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 54a3db2
Add requested tests part 1.
Prabhuk 74044aa
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 77672ec
Update comments in tests.
Prabhuk 1826b03
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil a8e2bd8
Updated the test as reviewers suggested.
Prabhuk 2f7dbf2
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 3b605a6
Scoped enum. Simplify test.
Prabhuk 7014fef
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil db11fc7
Remove unnecessary cast.
Prabhuk eb582bd
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 673481e
Remove unnecessary asserts. Remove autos for better readability.
Prabhuk 6388364
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 694cfd0
Reorder IR metadata and rename temporary var names in test.
Prabhuk f90b397
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 270074f
Add RISC-V support. Clean up test files.
Prabhuk da8ae04
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 6045320
Clean up test files.
Prabhuk 573eebe
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil a175709
Address review comments.
Prabhuk 823a513
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil b5b2b10
Use callee_type metadata instead of OB.
Prabhuk 2cac836
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 5ede050
Address review comments.
Prabhuk 0c78d0a
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil d0a96ac
Rebase on top of llvm stack.
Prabhuk 7a1c8fb
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 89c896b
Rebase on parent llvm change.
Prabhuk a56ccb8
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil c53d51d
Address review comments.
Prabhuk ab46191
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 839da25
Address review comments.
Prabhuk 5b36796
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 43d6eed
Rebase on parent.
Prabhuk 05057b8
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 5188f32
Rebase on parent.
Prabhuk 2131b83
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil c5a12e9
Rebase on parent.
Prabhuk 759a709
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 5cdb84e
Rebase on llvm changes.
Prabhuk 32c7adb
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 75dec8e
Rebase on parent.
Prabhuk 8a289b1
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil e0020f5
Rebase on parent.
Prabhuk 9c21da8
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil f165443
Rebase on parent change.
Prabhuk f83a155
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 2745a8a
Rebase on parent llvm changes.
Prabhuk 03ad07f
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 12df871
Rebase on parent.
Prabhuk edf799d
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 2a3c23d
Rebase on parent
Prabhuk d04642b
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil d4d4533
Rebase on main.
Prabhuk 8bbbe12
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 37d3ef9
Rebase on parent.
Prabhuk ca6d2cc
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil c02cbb9
Rebase change.
Prabhuk 8f07a4c
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil b16770b
Rebase.
Prabhuk 0e29abc
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 1e773e1
Rebase on parent
Prabhuk 38fc4f5
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 7b9cbb3
Rebase on top of main.
Prabhuk b7d5e7f
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 9591c3a
Rebase on parent.
Prabhuk c262b69
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 07f7768
Rebase on parent
Prabhuk 125ddcd
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 15a1b29
Rebase on top of parent change.
Prabhuk 9eff07d
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 1c0f1ab
Rebase on parent.
Prabhuk 1ba8c04
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 0c1ec48
Rebase on parent.
Prabhuk c9f6c5c
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 9592631
Address review comments.
Prabhuk c09082e
[𝘀𝗽𝗿] changes introduced through rebase
necipfazil 80c3580
Rebase on parent.
Prabhuk c67f714
Fix review comment on test file.
Prabhuk 7f95a40
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 410bb0d
Rebase.
Prabhuk 7321a3e
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 66c858e
Rebase on parent llvm change.
Prabhuk 2d81ecc
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk c2294fa
Rebase on main.
Prabhuk 571a431
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 6884d2a
Rebase.
Prabhuk 036be4e
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 1fb27f8
Rebase on parent.
Prabhuk 4ec81ea
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 9d29e55
Rebase on llvm changes.
Prabhuk 23c8579
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 00f7d91
Rebase on main.
Prabhuk 2924f11
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk 0aa3d97
Rebase on main.
Prabhuk 50a5786
[𝘀𝗽𝗿] changes introduced through rebase
Prabhuk a6b4a13
Rebase on parent.
Prabhuk f4d6c96
Rebase on main.
Prabhuk d349feb
Make Driver flag experimental.
Prabhuk d50a454
Merge branch 'main' into users/Prabhuk/sprclangcallgraphsection-add-c…
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// RUN: %clang -### -fexperimental-call-graph-section %s 2>&1 | FileCheck --check-prefix=CALL-GRAPH-SECTION %s | ||
// RUN: %clang -### -fexperimental-call-graph-section -fno-experimental-call-graph-section %s 2>&1 | FileCheck --check-prefix=NO-CALL-GRAPH-SECTION %s | ||
|
||
// CALL-GRAPH-SECTION: "-fexperimental-call-graph-section" | ||
// NO-CALL-GRAPH-SECTION-NOT: "-fexperimental-call-graph-section" |
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.
TargetOptions :(