aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/DwarfWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/DwarfWriter.h')
-rw-r--r--include/llvm/CodeGen/DwarfWriter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h
index 7c9ada8305..1616dfa4e9 100644
--- a/include/llvm/CodeGen/DwarfWriter.h
+++ b/include/llvm/CodeGen/DwarfWriter.h
@@ -29,6 +29,7 @@ class DwarfDebug;
class DwarfException;
class MachineModuleInfo;
class MachineFunction;
+class Value;
class Module;
class GlobalVariable;
class TargetAsmInfo;
@@ -75,6 +76,8 @@ public:
///
void EndFunction(MachineFunction *MF);
+ /// ValidDebugInfo - Return true if V represents valid debug info value.
+ bool ValidDebugInfo(Value *V);
/// label. Returns a unique label ID used to generate a label and provide
/// correspondence to the source line list.