mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
NULL names should pass validation.
llvm-svn: 32835
This commit is contained in:
parent
c0dfc41747
commit
4308b27af2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user