Remove DataLayout from TargetLoweringObjectFile, redirect to Module
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyTargetObjectFile.h
index ee78b945ada2c233b2e1c124cd95e10edeebbc4b..b5382340a6168c998104ceecea5a6f3946840039 100644 (file)
@@ -46,7 +46,7 @@ public:
     DwarfRangesSection = nullptr;
   }
 
-  MCSection *getSectionForConstant(SectionKind Kind,
+  MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind,
                                    const Constant *C) const override {
     return ReadOnlySection;
   }