[llvm-bugs] [Bug 27511] New: LLVMConstantAggregateZero is missing from C API and Go Bindings

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 25 07:55:36 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27511

            Bug ID: 27511
           Summary: LLVMConstantAggregateZero is missing from C API and Go
                    Bindings
           Product: new-bugs
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: alain.kuchta+llvm at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16266
  --> https://llvm.org/bugs/attachment.cgi?id=16266&action=edit
Patch file to add ConstantAggregateZero to the C-API and Go Bindings

LLVMConstantAggregateZero is missing from `include/llvm-c/Core.h`
LLVMConstantAggregateZero is missing from `bindings/go/ir.org`

This prevents C and Go API users from correctly initializing global array
variables.

Attached is a patch to fix this issue.

Summary of Changes
------------------
- Add declaration of LLVMConstantAggregateZero in `include/llvm-c/Core.h`
- Add definition of LLVMConstantAggregateZero in `lib/IR/Core.cpp`
- Add definition of ConstantAggregateZero in `bindings/go/llvm/ir.go'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160425/440c7884/attachment.html>


More information about the llvm-bugs mailing list