Refactor gold-plugin codegen to prepare for ThinLTO threads (NFC)
authorTeresa Johnson <tejohnson@google.com>
Fri, 4 Mar 2016 16:36:06 +0000 (16:36 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 4 Mar 2016 16:36:06 +0000 (16:36 +0000)
commita9f65554b05311f2b2f001500d48c8440cf4629a
treeb564e9196fb5f74973a0961e9f949fb803d1479d
parent1ea51d271887898ed104149b6450c070f25dfd85
Refactor gold-plugin codegen to prepare for ThinLTO threads (NFC)

This is the NFC part remaining from D15390, which refactors the
current codegen() into a CodeGen class with various modular methods and
other helper functions that will be used by the follow-on ThinLTO piece.

llvm-svn: 262721
llvm/tools/gold/gold-plugin.cpp