[llvm] r317151 - Remove some of the go specific C bindings for debug info now that they've been migrated into the main C API.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 1 18:47:54 PDT 2017


I've reverted this and the paired commit in r317154. I took a quick stab at
fixing it, but it was non-obvious. Now to download a go compiler :)

On Wed, Nov 1, 2017 at 6:24 PM Eric Christopher via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: echristo
> Date: Wed Nov  1 18:24:12 2017
> New Revision: 317151
>
> URL: http://llvm.org/viewvc/llvm-project?rev=317151&view=rev
> Log:
> Remove some of the go specific C bindings for debug info now that they've
> been migrated into the main C API.
>
> Fixes a go bindings breakage after r317135.
>
> Modified:
>     llvm/trunk/bindings/go/llvm/DIBuilderBindings.cpp
>
> Modified: llvm/trunk/bindings/go/llvm/DIBuilderBindings.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/bindings/go/llvm/DIBuilderBindings.cpp?rev=317151&r1=317150&r2=317151&view=diff
>
> ==============================================================================
> --- llvm/trunk/bindings/go/llvm/DIBuilderBindings.cpp (original)
> +++ llvm/trunk/bindings/go/llvm/DIBuilderBindings.cpp Wed Nov  1 18:24:12
> 2017
> @@ -29,25 +29,6 @@ void LLVMDIBuilderDestroy(LLVMDIBuilderR
>    delete d;
>  }
>
> -void LLVMDIBuilderFinalize(LLVMDIBuilderRef dref) {
> unwrap(dref)->finalize(); }
> -
> -LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(LLVMDIBuilderRef Dref,
> -                                               unsigned Lang, const char
> *File,
> -                                               const char *Dir,
> -                                               const char *Producer,
> -                                               int Optimized, const char
> *Flags,
> -                                               unsigned RuntimeVersion) {
> -  DIBuilder *D = unwrap(Dref);
> -  return wrap(D->createCompileUnit(Lang, D->createFile(File, Dir),
> Producer,
> -                                   Optimized, Flags, RuntimeVersion));
> -}
> -
> -LLVMMetadataRef LLVMDIBuilderCreateFile(LLVMDIBuilderRef Dref, const char
> *File,
> -                                        const char *Dir) {
> -  DIBuilder *D = unwrap(Dref);
> -  return wrap(D->createFile(File, Dir));
> -}
> -
>  LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock(LLVMDIBuilderRef Dref,
>                                                  LLVMMetadataRef Scope,
>                                                  LLVMMetadataRef File,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171102/bd1d65e7/attachment.html>


More information about the llvm-commits mailing list