mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-27 15:22:29 +00:00
fix PR3785, a valgrind error on test/CodeGen/ARM/pr3502.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66660 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e8bd0b362
commit
eda2ec35a1
@ -185,8 +185,12 @@ unsigned ARMTargetAsmInfo<BaseTAI>::getInlineAsmLength(const char *s) const {
|
||||
Str++;
|
||||
break;
|
||||
}
|
||||
|
||||
if (*Str == 0) break;
|
||||
|
||||
// Ignore everything from comment char(s) to EOL
|
||||
if (strncmp(Str, BaseTAI::CommentString, strlen(BaseTAI::CommentString))==-0)
|
||||
if (strncmp(Str, BaseTAI::CommentString,
|
||||
strlen(BaseTAI::CommentString)) == 0)
|
||||
atInsnStart = false;
|
||||
// FIXME do something like the following for non-Darwin
|
||||
else if (*Str == '.' && Subtarget->isTargetDarwin()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user