Fix pr24486.
[oota-llvm.git] / lib / Target / PowerPC / MCTargetDesc / PPCMCExpr.h
index a641780516b3f76e2548d0be8aa6f940cfffc789..d42a111cc43ede3156d27a8c1da23f254fe9620f 100644 (file)
@@ -82,8 +82,8 @@ public:
                                  const MCAsmLayout *Layout,
                                  const MCFixup *Fixup) const override;
   void visitUsedExpr(MCStreamer &Streamer) const override;
-  MCSection *findAssociatedSection() const override {
-    return getSubExpr()->findAssociatedSection();
+  MCFragment *findAssociatedFragment() const override {
+    return getSubExpr()->findAssociatedFragment();
   }
 
   // There are no TLS PPCMCExprs at the moment.