forked from OSchip/llvm-project
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
This commit is contained in:
parent
e1e1df83f9
commit
72cdbf47a9
|
@ -219,11 +219,6 @@ static unsigned getPlainRelocationType(const MachOObjectFile *O,
|
||||||
return RE.r_word1 & 0xf;
|
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,
|
static uint32_t getSectionFlags(const MachOObjectFile *O,
|
||||||
DataRefImpl Sec) {
|
DataRefImpl Sec) {
|
||||||
if (O->is64Bit()) {
|
if (O->is64Bit()) {
|
||||||
|
|
Loading…
Reference in New Issue