Re-LLVMContext-ize DebugInfo, now with less breakage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74920 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 06110d0..6e32581 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -39,6 +39,7 @@
class DebugLoc;
class DebugLocTracker;
class Instruction;
+ class LLVMContext;
class DIDescriptor {
protected:
@@ -407,6 +408,8 @@
/// descriptors.
class DIFactory {
Module &M;
+ LLVMContext& VMContext;
+
// Cached values for uniquing and faster lookups.
const Type *EmptyStructPtr; // "{}*".
Function *StopPointFn; // llvm.dbg.stoppoint