diff options
Diffstat (limited to 'lld/MachO/Target.h')
| -rw-r--r-- | lld/MachO/Target.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lld/MachO/Target.h b/lld/MachO/Target.h index 09ff3c5639ea..597502275dee 100644 --- a/lld/MachO/Target.h +++ b/lld/MachO/Target.h @@ -79,6 +79,15 @@ public: bool usesThunks() const { return thunkSize > 0; } + // For now, handleDtraceReloc only implements -no_dtrace_dof, and ensures + // that the linking would not fail even when there are user-provided dtrace + // symbols. However, unlike ld64, lld currently does not emit __dof sections. + virtual void handleDtraceReloc(const Symbol *sym, const Reloc &r, + uint8_t *loc) const { + llvm_unreachable("Unsupported architecture for dtrace symbols"); + } + + virtual void applyOptimizationHints(uint8_t *buf, const ConcatInputSection *, llvm::ArrayRef<uint64_t>) const {}; |
