File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -912,7 +912,7 @@ LLVM_ABI bool isIdentifiedFunctionLocal(const Value *V);
912912LLVM_ABI bool isBaseOfObject (const Value *V);
913913
914914// / Returns true if the pointer is one which would have been considered an
915- // / escape by isNonEscapingLocalObject .
915+ // / escape by isNotCapturedBefore .
916916LLVM_ABI bool isEscapeSource (const Value *V);
917917
918918// / Return true if Object memory is not visible after an unwind, in the sense
Original file line number Diff line number Diff line change @@ -857,13 +857,13 @@ bool llvm::isEscapeSource(const Value *V) {
857857 return !CB->hasArgumentWithAdditionalReturnCaptureComponents ();
858858 }
859859
860- // The load case works because isNonEscapingLocalObject considers all
860+ // The load case works because isNotCapturedBefore considers all
861861 // stores to be escapes (it passes true for the StoreCaptures argument
862862 // to PointerMayBeCaptured).
863863 if (isa<LoadInst>(V))
864864 return true ;
865865
866- // The inttoptr case works because isNonEscapingLocalObject considers all
866+ // The inttoptr case works because isNotCapturedBefore considers all
867867 // means of converting or equating a pointer to an int (ptrtoint, ptr store
868868 // which could be followed by an integer load, ptr<->int compare) as
869869 // escaping, and objects located at well-known addresses via platform-specific
You can’t perform that action at this time.
0 commit comments