mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
A virtual method to return the TargetMachOWriterInfo object. This returns
a real value in derived classes, of course. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
40fab4088e
commit
8f5159e6b2
@ -34,6 +34,7 @@ class Module;
|
||||
class FunctionPassManager;
|
||||
class PassManager;
|
||||
class Pass;
|
||||
struct TargetMachOWriterInfo;
|
||||
|
||||
// Relocation model types.
|
||||
namespace Reloc {
|
||||
@ -143,6 +144,11 @@ public:
|
||||
return InstrItineraryData();
|
||||
}
|
||||
|
||||
/// getMachOWriterInfo - If this target supports a Mach-O writer, return
|
||||
/// information for it, otherwise return null.
|
||||
///
|
||||
virtual const TargetMachOWriterInfo *getMachOWriterInfo() const { return 0; }
|
||||
|
||||
/// getRelocationModel - Returns the code generation relocation model. The
|
||||
/// choices are static, PIC, and dynamic-no-pic, and target default.
|
||||
static Reloc::Model getRelocationModel();
|
||||
|
Loading…
Reference in New Issue
Block a user