<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 - Improve error message for invalid --dump-section syntax"
href="https://bugs.llvm.org/show_bug.cgi?id=39152">39152</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Improve error message for invalid --dump-section syntax
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>llvm-objcopy
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jh7370.2008@my.bristol.ac.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Currently, if you forget to provide llvm-objcopy with an output file for
--dump-section, you get a rather confusing output message, at least on Windows:
C:\Work\TempWork> C:\llvm\build\Debug\bin\llvm-objcopy --dump-section=.text
bar.o bar2.o
C:\llvm\build\Debug\bin\llvm-objcopy.exe: error: 'bar.o': The program issued a
command but the command length is incorrect
It would be better if we detected the missing filename earlier (i.e. when we
split the option on '='), and emitted a more coherent error message, indicating
what was wrong.</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>