<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 5, 2013 at 11:51 AM, Richard <span dir="ltr"><<a href="mailto:legalize@xmission.com" target="_blank">legalize@xmission.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
In article <<a href="mailto:BB5668CC-919A-406F-8531-E9B21E16E7C2@apple.com">BB5668CC-919A-406F-8531-E9B21E16E7C2@apple.com</a>>,<br>
<div class="im">    Nick Kledzik <<a href="mailto:kledzik@apple.com">kledzik@apple.com</a>> writes:<br>
<br>
> I have similar issues with the darwin linker.  In lots of places I have<br>
> asserts which are really checking object file content issues.  Users of the<br>
> linker freak out when a malformed object file causes the linker to<br>
> crash/assert.  It would be much better if the parsing code returned an<br>
> error up the call chain so that the driver could  print out the path to the<br>
> malformed object file.<br>
<br>
</div>Is there any reason we aren't using exceptions instead of error codes<br>
here?<br></blockquote><div><br></div><div><<a href="http://llvm.org/docs/CodingStandards.html#do-not-use-rtti-or-exceptions">http://llvm.org/docs/CodingStandards.html#do-not-use-rtti-or-exceptions</a>></div><div><br>
</div><div>-- Sean Silva </div></div></div></div>