Hyungjoon Koo via llvm-dev
2016-Dec-13 15:32 UTC
[llvm-dev] [Repost] Obtaining the actual size of BBs in bytes and the number of fixups per each BB
Hello, I want to obtain the following information at each object file during compilation, and store them into the new section that I define. Currently the target architecture is x86_64 with ELF format. *a) actual size of basic blocks in bytes to be emitted * *b) number of fixups that belong to each basic block* By the time of emitting the actual bytes, I could only see the unit of the fragment without the boundary of functions and basic blocks. In general, what is the best strategy to get the info from frontend at backend if necessary? Thanks a lot for your help in advance! Kevin Koo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161213/f3223f5e/attachment.html>
Possibly Parallel Threads
- Obtaining the actual size of basic blocks (BBs) in bytes and the number of fixups of each BB
- [LLVMdev] Is it safe to insert instructions in batches into BBs?
- asterisk based bbs
- [LLVMdev] Preserving BBs of bitcode to target binary
- [LLVMdev] Is it safe to insert instructions in batches into BBs?