aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-07 17:12:53 +0000
committerOwen Anderson <resistor@mac.com>2009-07-07 17:12:53 +0000
commit9903527c142a37a25ea3b2212cb04a182331fbfa (patch)
tree84e6b655130dc823b6a3e46d3bf9b2496bb2140b /include
parent0bba49cebc50c7bd4662a4807bcb3ee7f42cb470 (diff)
downloadexternal_llvm-9903527c142a37a25ea3b2212cb04a182331fbfa.tar.gz
external_llvm-9903527c142a37a25ea3b2212cb04a182331fbfa.tar.bz2
external_llvm-9903527c142a37a25ea3b2212cb04a182331fbfa.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DebugInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 06110d040d..6e32581245 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -39,6 +39,7 @@ namespace llvm {
class DebugLoc;
class DebugLocTracker;
class Instruction;
+ class LLVMContext;
class DIDescriptor {
protected:
@@ -407,6 +408,8 @@ namespace llvm {
/// descriptors.
class DIFactory {
Module &M;
+ LLVMContext& VMContext;
+
// Cached values for uniquing and faster lookups.
const Type *EmptyStructPtr; // "{}*".
Function *StopPointFn; // llvm.dbg.stoppoint