From 0685e94895f26f96aa1032696e3150dd00aad1f3 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Tue, 25 Oct 2011 20:35:53 +0000 Subject: Add support for the notion of "hidden" relocations. On MachO, these are relocation entries that are used as additional information for other, real relocations, rather than being relocations themselves. I'm not familiar enough with ELF or COFF to know if they should have any relocations marked hidden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142961 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/MachO.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/llvm/Object/MachO.h') diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 1ae9372bbd..dcf116e6c2 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -88,6 +88,7 @@ protected: int64_t &Res) const; virtual error_code getRelocationValueString(DataRefImpl Rel, SmallVectorImpl &Result) const; + virtual error_code getRelocationHidden(DataRefImpl Rel, bool &Result) const; private: MachOObject *MachOObj; -- cgit v1.2.3