aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetLoweringObjectFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Target/TargetLoweringObjectFile.h')
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLoweringObjectFile.h b/include/llvm/Target/TargetLoweringObjectFile.h
index fec56fa442..b8da445ceb 100644
--- a/include/llvm/Target/TargetLoweringObjectFile.h
+++ b/include/llvm/Target/TargetLoweringObjectFile.h
@@ -315,8 +315,8 @@ public:
/// getDataCommonSection - Return the "__DATA,__common" section we put
/// zerofill (aka bss) data into.
- const MCSection *getDataCommonSection() const {
- return DataCommonSection;
+ bool isDataCommonSection(const MCSection *Section) const {
+ return Section == DataCommonSection;
}
/// getLazySymbolPointerSection - Return the section corresponding to