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:
1e3a577
)
NULL names should pass validation.
author
Jim Laskey
<jlaskey@mac.com>
Wed, 3 Jan 2007 13:46:20 +0000
(13:46 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Wed, 3 Jan 2007 13:46:20 +0000
(13:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32835
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineDebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineDebugInfo.cpp
b/lib/CodeGen/MachineDebugInfo.cpp
index 2708ceccfc066d4d6e0bcf459ee36f667f2952b9..041a88cdca5207067acdcfaa1de1324bdce89b8f 100644
(file)
--- a/
lib/CodeGen/MachineDebugInfo.cpp
+++ b/
lib/CodeGen/MachineDebugInfo.cpp
@@
-430,7
+430,8
@@
public:
}
virtual void Apply(std::string &Field) {
Constant *C = CI->getOperand(I++);
- IsValid = IsValid && (!C || isStringValue(C));
+ IsValid = IsValid &&
+ (!C || isStringValue(C) || C->isNullValue());
}
virtual void Apply(DebugInfoDesc *&Field) {
// FIXME - Prepare the correct descriptor.