Simplify selectELFSectionForGlobal by pulling out the entry size
authorEric Christopher <echristo@gmail.com>
Wed, 1 Aug 2018 01:29:30 +0000 (01:29 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 1 Aug 2018 01:29:30 +0000 (01:29 +0000)
commit7a70be68650a114119f4eb8995e320520d32b6e3
treefc205d6e2974678dad6124bc67ed4743a4f33cad
parentad36c7456266dfbcec991506a324fff7f0e703c3
Simplify selectELFSectionForGlobal by pulling out the entry size
determination for mergeable sections into a small static function.

llvm-svn: 338469
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp