[Layering] Move DebugInfo.h into the IR library where its implementation
[oota-llvm.git] / lib / Object / IRObjectFile.cpp
index b3a5668fc20d13e3ec554152fed1cdda85e99fd0..e8d51ecbf67b227539c949162bbf5e6f782093c6 100644 (file)
@@ -148,5 +148,5 @@ ErrorOr<SymbolicFile *> llvm::object::SymbolicFile::createIRObjectFile(
       new IRObjectFile(Object, EC, Context, BufferOwned));
   if (EC)
     return EC;
-  return Ret.take();
+  return Ret.release();
 }