[llvm-commits] [llvm] r53293 - /llvm/trunk/include/llvm/Target/TargetAsmInfo.h
Anton Korobeynikov
asl at math.spbu.ru
Wed Jul 9 06:18:21 PDT 2008
Author: asl
Date: Wed Jul 9 08:18:21 2008
New Revision: 53293
URL: http://llvm.org/viewvc/llvm-project?rev=53293&view=rev
Log:
Make hooks virtual
Modified:
llvm/trunk/include/llvm/Target/TargetAsmInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetAsmInfo.h?rev=53293&r1=53292&r2=53293&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetAsmInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetAsmInfo.h Wed Jul 9 08:18:21 2008
@@ -462,18 +462,19 @@
/// SectionKindForGlobal - This hook allows the target to select proper
/// section kind used for global emission.
- SectionKind::Kind SectionKindForGlobal(const GlobalValue *GV) const;
+ virtual SectionKind::Kind
+ SectionKindForGlobal(const GlobalValue *GV) const;
/// SectionFlagsForGlobal - This hook allows the target to select proper
/// section flags either for given global or for section.
- unsigned
+ virtual unsigned
SectionFlagsForGlobal(const GlobalValue *GV = NULL,
const char* name = NULL) const;
/// SectionForGlobal - This hooks returns proper section name for given
/// global with all necessary flags and marks.
- const char* SectionForGlobal(const GlobalValue *GV) const;
+ virtual const char* SectionForGlobal(const GlobalValue *GV) const;
// Accessors.
//
More information about the llvm-commits
mailing list