HomePhabricator

Add support for allowing us to create uniquely identified "COMDAT" or "ELF…

Authored by echristo on Jun 30 2016, 11:07 PM.

Description

Add support for allowing us to create uniquely identified "COMDAT" or "ELF Group" sections while lowering. In particular, for ELF sections this is useful for creating function-specific groups that get merged into the same named section.

Also use const Twine& instead of StringRef for the getELF functions
while we're here.

Differential Revision: http://reviews.llvm.org/D21743

llvm-svn: 274336

Details

Committed
echristoJun 30 2016, 11:07 PM
Differential Revision
D21743: Convenience function for MCContext to get named sections when lowering.
Parents
rG0b6537e6e55b: 80-column and comment fixups.
Branches
Unknown
Tags
Unknown