search for: text_vle

Displaying 1 result from an estimated 1 matches for "text_vle".

Did you mean: text_file
2020 Nov 10
1
Fwd: Select output section for a function based on a subtarget feature
...ve a section header flag set (SHF_PPC_VLE = 0x10000000). I have added a subtarget feature "vle", similar to Altivec, SPE, VSX etc and I'm enabling this feature for appropriate CPUs. Now, functions that are compiled with "vle" feature should go into a different text section (text_vle). I can see that TargetMachine has a method getSubtargetImpl which can be overridden for the implementation and it can return different subtargets for different function attributes. What I'm struggling with is connecting it to section selection; in MCObjectFileInfo::initELFMCObjectFileInfo a de...