[PATCH] Move DIContext.h to a common level

Alexey Samsonov vonosmas at gmail.com
Wed Apr 22 13:29:21 PDT 2015


LGTM


================
Comment at: lib/DebugInfo/DWARF/DWARFUnit.cpp:259
@@ -258,3 +258,3 @@
   DWOContext.reset(
-      cast<DWARFContext>(DIContext::getDWARFContext(*DWOFile.getBinary())));
+      cast<DWARFContext>(new DWARFContextInMemory(*DWOFile.getBinary())));
   if (DWOContext->getNumDWOCompileUnits() > 0)
----------------
I don't think this cast is now necessary.

http://reviews.llvm.org/D9205

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list