<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - ARM's clear_cache should not call abort"
href="https://bugs.llvm.org/show_bug.cgi?id=34588">34588</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ARM's clear_cache should not call abort
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>manojgupta@google.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>manojgupta@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>compnerd@compnerd.org, llozano@chromium.org, llvm-bugs@lists.llvm.org, llvm-bugzilla@jfbastien.com, renato.golin@linaro.org, srhines@google.com
</td>
</tr></table>
<p>
<div>
<pre>clear_cache for ARM is calling abort() when start address is not a NULL
pointer. clear_cache documentation in libgcc does not specify any aborting
behavior. Libgcc implementation does not do abort either.
Calling abort for a non-null start address does not make any sense either and
libgcc docs do not say that the start argument has to be NULL.
This issue was discovered when compiler-rt was enabled for ChromeOS and NaCl
failed since it was making calls to __builtin___clear_cache()
(<a href="https://bugs.chromium.org/p/chromium/issues/detail?id=761103">https://bugs.chromium.org/p/chromium/issues/detail?id=761103</a>).</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>