diff --git a/llvm/include/llvm/Target/TargetAsmInfo.h b/llvm/include/llvm/Target/TargetAsmInfo.h index 96d3fb6da5ae..478c453add12 100644 --- a/llvm/include/llvm/Target/TargetAsmInfo.h +++ b/llvm/include/llvm/Target/TargetAsmInfo.h @@ -58,7 +58,7 @@ public: return TLOF->getEHFrameSection(); } - const unsigned getFDEEncoding() const { + unsigned getFDEEncoding() const { return TLOF->getFDEEncoding(); }