commit | 62077af40e4122f20b47ef3e892d91bfbce4dc95 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri May 07 21:42:24 2010 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri May 07 21:42:24 2010 +0000 |
tree | 994ce9c5db948a3008ed3322786e2d5c8def440c | |
parent | 0a406ae0d940d92c51ee145b48ff7a483a366849 [diff] [blame] |
Verify compile unit also. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103300 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 7b4935c..56bf580 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp
@@ -368,6 +368,9 @@ if (!getContext().Verify()) return false; + if (!getCompileUnit().Verify()) + return false; + DIType Ty = getType(); if (!Ty.Verify()) return false;