mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 07:05:03 +00:00
Make hooks virtual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53293 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c602469f4
commit
5555078960
@ -462,18 +462,19 @@ namespace llvm {
|
||||
|
||||
/// 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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user