mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
make AsmPrinter::doFinalization iterate over the global variables
and call PrintGlobalVariable, allowing elimination and simplification of various targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76604 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -211,6 +211,11 @@ namespace llvm {
|
||||
unsigned AsmVariant,
|
||||
const char *ExtraCode);
|
||||
|
||||
|
||||
/// PrintGlobalVariable - Emit the specified global variable and its
|
||||
/// initializer to the output stream.
|
||||
virtual void PrintGlobalVariable(const GlobalVariable *GV) = 0;
|
||||
|
||||
/// SetupMachineFunction - This should be called when a new MachineFunction
|
||||
/// is being processed from runOnMachineFunction.
|
||||
void SetupMachineFunction(MachineFunction &MF);
|
||||
|
Reference in New Issue
Block a user