summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2014-11-04 01:12:39 +0000
committerKevin Enderby <enderby@apple.com>2014-11-04 01:12:39 +0000
commit72cdbf47a9da44a46536bec335c86b960724bdae (patch)
tree187e5797d93d75cce0112b2896fc11084dacee89
parente1e1df83f937e1169831137362e63572a7fcc612 (diff)
downloadbcm5719-llvm-72cdbf47a9da44a46536bec335c86b960724bdae.tar.gz
bcm5719-llvm-72cdbf47a9da44a46536bec335c86b960724bdae.zip
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. llvm-svn: 221216
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index 678728e1de7..b114e844794 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/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()) {
OpenPOWER on IntegriCloud