CodeGen: centralise label construction for method lists
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 24 Oct 2016 20:47:58 +0000 (20:47 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 24 Oct 2016 20:47:58 +0000 (20:47 +0000)
commitd48b0a33463487ab1fbec68f849e7adddda348af
tree9f1e4d65c8d91f89a0d93329ecdeac94b0a11438
parentafecd837466d7581d4595aba03911ed5c8ac1bcc
CodeGen: centralise label construction for method lists

Move all the label construction for the various method list emission into
EmitMethodList.  Rather than have all the names be constructed in pieces in all
of the callers of EmitMethodList, have this occur in one site.  This also makes
the calls much easier to understand as we simplify identify the type of the
method list being emitted and the interface name for which it is being emitted.
NFC.

llvm-svn: 285023
clang/lib/CodeGen/CGObjCMac.cpp