diff options
Diffstat (limited to 'include/llvm/Target/TargetAsmInfo.h')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 42545c6..8b26790 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -586,7 +586,13 @@ namespace llvm { virtual const char * getSectionPrefixForUniqueGlobal(SectionKind::Kind Kind) const; - + /// getFlagsForNamedSection - If this target wants to be able to infer + /// section flags based on the name of the section specified for a global + /// variable, it can implement this. This is used on ELF systems so that + /// ".tbss" gets the TLS bit set etc. + virtual unsigned getFlagsForNamedSection(const char *Section) const { + return 0; + } /// SectionKindForGlobal - This hook allows the target to select proper |