forked from OSchip/llvm-project
[PECOFF] Do not print error if length of .drectve is 0.
llvm-svn: 194539
This commit is contained in:
parent
74015a7084
commit
3314f56ca8
|
@ -666,6 +666,9 @@ private:
|
|||
array = array.slice(3);
|
||||
}
|
||||
|
||||
if (array.size() == 0)
|
||||
return "";
|
||||
|
||||
size_t len = 0;
|
||||
size_t e = array.size();
|
||||
while (len < e && array[len] != '\0')
|
||||
|
|
Loading…
Reference in New Issue