aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r--include/llvm/Type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 1f271957df..b8f65582ba 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -26,6 +26,7 @@ class PointerType;
class IntegerType;
class TypeMapBase;
class raw_ostream;
+class Module;
/// This file contains the declaration of the Type class. For more "Type" type
/// stuff, look in DerivedTypes.h.
@@ -162,6 +163,10 @@ public:
/// @brief Debugging support: print to stderr
void dump() const;
+ /// @brief Debugging support: print to stderr (use type names from context
+ /// module).
+ void dump(const Module *Context) const;
+
//===--------------------------------------------------------------------===//
// Property accessors for dealing with types... Some of these virtual methods
// are defined in private classes defined in Type.cpp for primitive types.