aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-25 18:11:58 +0000
committerChris Lattner <sabre@nondot.org>2009-07-25 18:11:58 +0000
commit4bf1d2735962ec4ab2a71cdc5ff836118f6a9639 (patch)
tree5cb6a6161ccf18a851802a8cdd6e2445d2587c25 /include
parent4b49e5d55a628c57112998fff56e4af1ea3e046a (diff)
downloadexternal_llvm-4bf1d2735962ec4ab2a71cdc5ff836118f6a9639.zip
external_llvm-4bf1d2735962ec4ab2a71cdc5ff836118f6a9639.tar.gz
external_llvm-4bf1d2735962ec4ab2a71cdc5ff836118f6a9639.tar.bz2
document some invariants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77084 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index fc044b8..24d54cc 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -592,9 +592,10 @@ namespace llvm {
return 0;
}
- /// SectionForGlobal - This hooks returns proper section name for given
- /// global with all necessary flags and marks.
- // FIXME: MOVE TO TARGETLOWERING.
+ /// SectionForGlobal - This method computes the appropriate section to emit
+ /// the specified global variable or function definition. This should not
+ /// be passed external (or available externally) globals.
+ // FIXME: MOVE TO ASMPRINTER.
const Section* SectionForGlobal(const GlobalValue *GV) const;
/// getSpecialCasedSectionGlobals - Allow the target to completely override