You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to export basic block symbols in LLVM 14 and later versions? Is there a feature like -gsplit-dwarf for this?
Issue Content:
Hello LLVM Team,
I am an undergraduate student and now working on a project that requires exporting basic block symbol information from the program for later perf use. In earlier versions of LLVM, I saw solutions like customing patches to achieve this. With the introduction of the -gsplit-dwarf option in LLVM 14, I would like to know if there is now a built-in way to export basic block symbols.
I have the following questions and would greatly appreciate any guidance:
Does LLVM 14 or later support exporting basic block symbols through command-line options?
In earlier versions, I had to modify the source code to insert these symbols. Is there now a standard option (such as -gsplit-dwarf) to directly generate basic block symbols?
If such a feature is not directly supported, is there an alternative method to export basic block symbols without modifying the source code?
Are there any detailed documentation or example codes?
Thank you for your assistance, and I look forward to your response!
The text was updated successfully, but these errors were encountered:
Issue Title:
How to export basic block symbols in LLVM 14 and later versions? Is there a feature like
-gsplit-dwarf
for this?Issue Content:
Hello LLVM Team,
I am an undergraduate student and now working on a project that requires exporting basic block symbol information from the program for later perf use. In earlier versions of LLVM, I saw solutions like customing patches to achieve this. With the introduction of the
-gsplit-dwarf
option in LLVM 14, I would like to know if there is now a built-in way to export basic block symbols.I have the following questions and would greatly appreciate any guidance:
Does LLVM 14 or later support exporting basic block symbols through command-line options?
-gsplit-dwarf
) to directly generate basic block symbols?If such a feature is not directly supported, is there an alternative method to export basic block symbols without modifying the source code?
Are there any detailed documentation or example codes?
Thank you for your assistance, and I look forward to your response!
The text was updated successfully, but these errors were encountered: