When emitting a label for a PostCall safe point, the machine
authorNicolas Geoffray <nicolas.geoffray@lip6.fr>
Tue, 8 Sep 2009 07:39:27 +0000 (07:39 +0000)
committerNicolas Geoffray <nicolas.geoffray@lip6.fr>
Tue, 8 Sep 2009 07:39:27 +0000 (07:39 +0000)
commit22f35ace4599f28f50159cf0e19436e755669340
tree166690dedfdb85b8961c652035f13ac1e67b3ebe
parentde782a232160a9535bf79f4e06bd96125092982f
When emitting a label for a PostCall safe point, the machine
instruction to insert before can be end(). getDebugLoc on
end() returns an invalid value, therefore use the debug
loc of the call instruction, and give it to InsertLabel.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81207 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GCStrategy.cpp