From 957d027c5ec58209cdb911849a7bb1df1e58f147 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Tue, 4 Nov 2014 01:12:39 +0000 Subject: [PATCH] Remove the static version of getScatteredRelocationType() now that r221211 added a public version MachOObjectFile::getScatteredRelocationType(). This should fix the build bot for the unused function error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221216 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Object/MachOObjectFile.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/Object/MachOObjectFile.cpp b/lib/Object/MachOObjectFile.cpp index 678728e1de7..b114e844794 100644 --- a/lib/Object/MachOObjectFile.cpp +++ b/lib/Object/MachOObjectFile.cpp @@ -219,11 +219,6 @@ static unsigned getPlainRelocationType(const MachOObjectFile *O, return RE.r_word1 & 0xf; } -static unsigned -getScatteredRelocationType(const MachO::any_relocation_info &RE) { - return (RE.r_word0 >> 24) & 0xf; -} - static uint32_t getSectionFlags(const MachOObjectFile *O, DataRefImpl Sec) { if (O->is64Bit()) {