Changes in directory llvm/lib/CodeGen:
MachineDebugInfo.cpp updated: 1.35 -> 1.36 --- Log message: More bulletproofing of DebugInfoDesc verify. --- Diffs of the changes: (+1 -1) MachineDebugInfo.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/MachineDebugInfo.cpp diff -u llvm/lib/CodeGen/MachineDebugInfo.cpp:1.35 llvm/lib/CodeGen/MachineDebugInfo.cpp:1.36 --- llvm/lib/CodeGen/MachineDebugInfo.cpp:1.35 Sun Mar 26 19:51:47 2006 +++ llvm/lib/CodeGen/MachineDebugInfo.cpp Mon Mar 27 19:30:18 2006 @@ -1323,7 +1323,7 @@ /// Verify - Return true if the GlobalVariable appears to be a valid /// serialization of a DebugInfoDesc. bool DIVerifier::Verify(Value *V) { - return Verify(getGlobalVariable(V)); + return !V || Verify(getGlobalVariable(V)); } bool DIVerifier::Verify(GlobalVariable *GV) { // NULLs are valid. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits