Currently, llvm_bb_addr_map sections are generated per section names because we use
the LinkedToSymbol argument of getELFSection. This will cause the address map tables of functions
grouped into the same section when -function-sections=true -unique-section-names=false which is not
the intended behaviour. This patch lets the unique id of every .text section propagate to the associated
.llvm_bb_addr_map section.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thank you for the comments @MaskRay . Are there any style guidelines for the test files? I wasn't able to find anything online.
Comment Actions
Thanks for the update. There is no official style guideline. I just improved my way adding tests by learning from others who are nitpicking (commendatory term here!) on tests.
I requested {{$}} because the section directive may have ,unique,N suffixes and without {{$}} you could not check that no ,unique,N occurred.
For FileCheck options, -- is more common.