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 | 48d64ba9d846229339b2431b298620cb8a01ffc5 (patch) | |
tree | 604d4db965eed12c4ce27a78e96ac0d9b66c487c /include | |
parent | 71eae713153e564ec743c5c4162ff258c255de78 (diff) | |
download | external_llvm-48d64ba9d846229339b2431b298620cb8a01ffc5.zip external_llvm-48d64ba9d846229339b2431b298620cb8a01ffc5.tar.gz external_llvm-48d64ba9d846229339b2431b298620cb8a01ffc5.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 0f27940..7d9eb52 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/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. |