projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1e1df8
)
Remove the static version of getScatteredRelocationType() now that r221211 added
author
Kevin Enderby
<enderby@apple.com>
Tue, 4 Nov 2014 01:12:39 +0000
(
01:12
+0000)
committer
Kevin Enderby
<enderby@apple.com>
Tue, 4 Nov 2014 01:12:39 +0000
(
01:12
+0000)
a public version MachOObjectFile::getScatteredRelocationType().
This should fix the build bot for the unused function error.
llvm-svn: 221216
llvm/lib/Object/MachOObjectFile.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Object/MachOObjectFile.cpp
b/llvm/lib/Object/MachOObjectFile.cpp
index
678728e
..
b114e84
100644
(file)
--- 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()) {