OSDN Git Service

Go bindings: use MDNode::replaceAllUsesWith instead of MDTuple::replaceAllUsesWith.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 5 Mar 2015 22:55:38 +0000 (22:55 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 5 Mar 2015 22:55:38 +0000 (22:55 +0000)
commitbdfd937473302fa26615adc1a1d2c591077867a1
tree652d2399199ba504a07e6bbdfc15f3b829ca1d92
parent292f5ef237bb463ebee837d4122d4e93b1e3f794
Go bindings: use MDNode::replaceAllUsesWith instead of MDTuple::replaceAllUsesWith.

Fixes llgo following Duncan's changes to debug info in r231082. llgo needs
to replace composite types, which are no longer represented using MDTuple.

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