diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-19 04:39:15 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-19 04:39:15 +0000 |
| commit | 6a160517a0690fc9ddda4511174e08d8d5557821 (patch) | |
| tree | 5dbfe144342fabfbf728b786dca8c4e881abed2c /llvm/include | |
| parent | e9d28b19cf3864c0e44e15036dc71e8e4eb31088 (diff) | |
| download | bcm5719-llvm-6a160517a0690fc9ddda4511174e08d8d5557821.tar.gz bcm5719-llvm-6a160517a0690fc9ddda4511174e08d8d5557821.zip | |
hoist handling of external globals and special globals up to common code.
This makes a similar code dead in all the other targets, I'll clean it up
in a bit.
This also moves handling of lcomm up before acquisition of a section,
since lcomm never needs a section.
llvm-svn: 93851
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index 0f279400969..7d9eb521a6b 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -240,6 +240,9 @@ namespace llvm { /// void EmitJumpTableInfo(MachineJumpTableInfo *MJTI, MachineFunction &MF); + /// EmitGlobalVariable - Emit the specified global variable to the .s file. + void EmitGlobalVariable(const GlobalVariable *GV); + /// EmitSpecialLLVMGlobal - Check to see if the specified global is a /// special global used by LLVM. If so, emit it and return true, otherwise /// do nothing and return false. |

