projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove TargetAsmInfo::ExpandInlineAsm
[oota-llvm.git]
/
include
/
llvm
/
Target
/
ELFTargetAsmInfo.h
diff --git
a/include/llvm/Target/ELFTargetAsmInfo.h
b/include/llvm/Target/ELFTargetAsmInfo.h
index 7afadf0dd7c3900c3c697abcc485d1a46f968c7e..6181e59a0553dced43b27e47ea267492d6c68cea 100644
(file)
--- a/
include/llvm/Target/ELFTargetAsmInfo.h
+++ b/
include/llvm/Target/ELFTargetAsmInfo.h
@@
-16,21
+16,28
@@
#define LLVM_ELF_TARGET_ASM_INFO_H
#include "llvm/Target/TargetAsmInfo.h"
#define LLVM_ELF_TARGET_ASM_INFO_H
#include "llvm/Target/TargetAsmInfo.h"
-#include "llvm/Target/TargetMachine.h"
namespace llvm {
class GlobalValue;
class GlobalVariable;
namespace llvm {
class GlobalValue;
class GlobalVariable;
+ class Type;
-
class
ELFTargetAsmInfo: public TargetAsmInfo {
+
struct
ELFTargetAsmInfo: public TargetAsmInfo {
explicit ELFTargetAsmInfo(const TargetMachine &TM);
explicit ELFTargetAsmInfo(const TargetMachine &TM);
+ SectionKind::Kind SectionKindForGlobal(const GlobalValue *GV) const;
virtual const Section* SelectSectionForGlobal(const GlobalValue *GV) const;
virtual const Section* SelectSectionForGlobal(const GlobalValue *GV) const;
- virtual std::string
P
rintSectionFlags(unsigned flags) const;
+ virtual std::string
p
rintSectionFlags(unsigned flags) const;
const Section* MergeableConstSection(const GlobalVariable *GV) const;
const Section* MergeableConstSection(const GlobalVariable *GV) const;
+ inline const Section* MergeableConstSection(const Type *Ty) const;
const Section* MergeableStringSection(const GlobalVariable *GV) const;
const Section* MergeableStringSection(const GlobalVariable *GV) const;
- protected:
- const TargetMachine* ETM;
+ virtual const Section*
+ SelectSectionForMachineConst(const Type *Ty) const;
+
+ const Section* DataRelSection;
+ const Section* DataRelLocalSection;
+ const Section* DataRelROSection;
+ const Section* DataRelROLocalSection;
};
}
};
}