mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-16 07:38:43 +00:00
Fix annotation of unlink. Should fix builder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fa4133b1d1
commit
60ceb6ec15
@ -1343,7 +1343,7 @@ bool FunctionAttrs::inferPrototypeAttributes(Function &F) {
|
|||||||
return false;
|
return false;
|
||||||
setDoesNotThrow(F);
|
setDoesNotThrow(F);
|
||||||
setDoesNotCapture(F, 1);
|
setDoesNotCapture(F, 1);
|
||||||
setOnlyReadsMemory(F, 2);
|
setOnlyReadsMemory(F, 1);
|
||||||
break;
|
break;
|
||||||
case LibFunc::unsetenv:
|
case LibFunc::unsetenv:
|
||||||
if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy())
|
if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user