[bindings/go] Add DebugLoc parameter to InsertXXXAtEnd()
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 13 Sep 2018 21:16:39 +0000 (21:16 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 13 Sep 2018 21:16:39 +0000 (21:16 +0000)
commit33d37b2e86702f403b8f22f7e9cc33efaa03625b
tree1448c36770761b4cae58bbccee86bb2ff2d2c21a
parent3e32c815e9c5155c51d002a49358c146ee5713e1
[bindings/go] Add DebugLoc parameter to InsertXXXAtEnd()

These functions previously passed nil for the location, which always resulted in a crash.

This is a signature breaking change, but I cannot see how they could have been used before.

Patch by Ben Clayton!

Differential Revision: https://reviews.llvm.org/D51970

llvm-svn: 342179
llvm/bindings/go/llvm/dibuilder.go