<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLVMConstantAggregateZero is missing from C API and Go Bindings"
href="https://llvm.org/bugs/show_bug.cgi?id=27511">27511</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVMConstantAggregateZero is missing from C API and Go Bindings
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>alain.kuchta+llvm@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=16266" name="attach_16266" title="Patch file to add ConstantAggregateZero to the C-API and Go Bindings">attachment 16266</a> <a href="attachment.cgi?id=16266&action=edit" title="Patch file to add ConstantAggregateZero to the C-API and Go Bindings">[details]</a></span>
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'</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>