llvm.org GIT mirror llvm / 98b5795
Accessor for the TargetELFWriterInfo class object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33572 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 13 years ago
1 changed file(s) with 7 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3333 class FunctionPassManager;
3434 class PassManager;
3535 class Pass;
36 struct TargetMachOWriterInfo;
36 class TargetMachOWriterInfo;
37 class TargetELFWriterInfo;
3738
3839 // Relocation model types.
3940 namespace Reloc {
148149 ///
149150 virtual const TargetMachOWriterInfo *getMachOWriterInfo() const { return 0; }
150151
152 /// getELFWriterInfo - If this target supports an ELF writer, return
153 /// information for it, otherwise return null.
154 ///
155 virtual const TargetELFWriterInfo *getELFWriterInfo() const { return 0; }
156
151157 /// getRelocationModel - Returns the code generation relocation model. The
152158 /// choices are static, PIC, and dynamic-no-pic, and target default.
153159 static Reloc::Model getRelocationModel();