[PATCH] D21743: Convenience function for MCStreamer to get named sections when lowering.
Dean Michael Berris via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 21:44:48 PDT 2016
dberris added a comment.
I spent some time trying to find existing cases where this might be helpful, but I've yet to find suitable ones. Granted I've only looked at lib/Target/X86/*.
Most of the cases where this comes up are pretty straight-forward, using functions from TargetLoweringObjectFile to get the section for globals, etc. -- special section creation isn't very well supported through that interface either.
Extracting the flags might be doable but bringing ELF'isms out when lowering might be a little much.
Any suggestions on where else to look for cases where this interface (or an evolution of it) might be useful?
http://reviews.llvm.org/D21743
More information about the llvm-commits
mailing list