MachineModuleInfo: Move AddrLabelSymbols to AsmPrinter
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 17 Apr 2022 21:11:48 +0000 (17:11 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 20 Apr 2022 15:21:40 +0000 (11:21 -0400)
commit9209a519180b478f7a77d7c4781ea857536d77ed
treeb8f90213bcc4442ef3703a450e5d4d36bf031aa5
parentcce79514ff405d93ab7aab79974e6f80ced85980
MachineModuleInfo: Move AddrLabelSymbols to AsmPrinter

This was tracking global state only used by the AsmPrinter, which can
store its own module global state.
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/CodeGen/MachineModuleInfo.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/MachineModuleInfo.cpp