OSDN Git Service

[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)
commite562960fe303c0ffab6f3458fcdb1544b56fd81e
treed1532b9dbe7fddd9c9727a8611c76fd280505860
parent62d12ed7519f35befc4fba49442046059695c8b3
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342179 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/go/llvm/dibuilder.go