aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ObjCopy/MachO/MachOObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/ObjCopy/MachO/MachOObject.h')
-rw-r--r--llvm/lib/ObjCopy/MachO/MachOObject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ObjCopy/MachO/MachOObject.h b/llvm/lib/ObjCopy/MachO/MachOObject.h
index 8f9444f..86c6b12 100644
--- a/llvm/lib/ObjCopy/MachO/MachOObject.h
+++ b/llvm/lib/ObjCopy/MachO/MachOObject.h
@@ -64,14 +64,14 @@ struct Section {
return static_cast<MachO::SectionType>(Flags & MachO::SECTION_TYPE);
}
- bool isVirtualSection() const {
+ bool isBssSection() const {
return (getType() == MachO::S_ZEROFILL ||
getType() == MachO::S_GB_ZEROFILL ||
getType() == MachO::S_THREAD_LOCAL_ZEROFILL);
}
bool hasValidOffset() const {
- return !(isVirtualSection() || OriginalOffset == 0);
+ return !(isBssSection() || OriginalOffset == 0);
}
};