DwarfCompileUnit: Add type safety to createGlobalVariableDIE
llvm-svn: 194979
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 884e51a..d782c88 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -310,7 +310,7 @@
DIE *getOrCreateContextDIE(DIScope Context);
/// createGlobalVariableDIE - create global variable DIE.
- void createGlobalVariableDIE(const MDNode *N);
+ void createGlobalVariableDIE(DIGlobalVariable GV);
/// constructContainingTypeDIEs - Construct DIEs for types that contain
/// vtables.