projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e56ab2
)
Validate debug info values only if DwarfDebug is initialized.
author
Devang Patel
<dpatel@apple.com>
Fri, 16 Jan 2009 02:15:14 +0000
(
02:15
+0000)
committer
Devang Patel
<dpatel@apple.com>
Fri, 16 Jan 2009 02:15:14 +0000
(
02:15
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62298
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index 5e98618b2438606b74ec793ac927d2cb34f7b7db..ab66887d625d7cf0273b39f2994d00c7c60e91eb 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@
-4272,7
+4272,7
@@
void DwarfWriter::EndFunction(MachineFunction *MF) {
/// ValidDebugInfo - Return true if V represents valid debug info value.
bool DwarfWriter::ValidDebugInfo(Value *V) {
- return DD->ValidDebugInfo(V);
+ return DD
&& DD
->ValidDebugInfo(V);
}
/// RecordSourceLine - Records location information and associates it with a