OSDN Git Service

bindings/go: reinstate TargetMachine.TargetData
authorAndrew Wilkins <axwalk@gmail.com>
Tue, 15 Mar 2016 05:04:06 +0000 (05:04 +0000)
committerAndrew Wilkins <axwalk@gmail.com>
Tue, 15 Mar 2016 05:04:06 +0000 (05:04 +0000)
commit255ca4be009a448cc5d510e657d6e814dbbd4d50
tree89fd530037955f7dbb152b9db84e44410b848134
parent767c5c3079cec05ec1ba00ceaf36c93595b2f5c2
bindings/go: reinstate TargetMachine.TargetData

Summary:
LLVMGetTargetDataLayout was removed from the C API,
and then TargetMachine.TargetData was removed. Later,
LLVMCreateTargetMachineData was added to the C API,
and we now expose this via the Go API.

Reviewers: deadalnix, pcc

Subscribers: cierniak, llvm-commits, axw

Differential Revision: http://reviews.llvm.org/D18173

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