<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hi Joerg,</div><div class="gmail_quote"><br></div><div class="gmail_quote">You are right, there are three separate issues here: unwinding, debug info and exception handling.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Debug and EH require unwinding, but one doesn't require the other and unwinding is not exclusive to either.</div><div class="gmail_quote"><br></div><div class="gmail_quote">
<br></div><div class="gmail_quote">On 6 February 2014 14:51, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><span style="color:rgb(34,34,34)">(1) Should enough unwind data be provided for a basic, read-only stack</span><br></div></div>
walk?<br></blockquote><div><br></div><div>As you said, platforms and systems should define their own defaults, and that's mainly driven by the front-end via flags and triples.</div><div><br></div><div>The behaviour of flags should be precise, and different flags should be on/off by default depending on the triple, so build systems can enforce flags if they need to make sure the behaviour will be the same across different platforms.</div>
<div><br></div><div>I can't decide that, but those decisions should stay in the front-end. To the back-end, function attributes should be able to control table emission (or maybe we need flags, I don't know).</div>
<div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That said, the option already exists for changing the default:<br>
-funwind-tables. There shouldn't be another ARM specific flag.<br></blockquote><div><br></div><div>So, can I assume that -f{no-}unwind-tables's syntax is to completely enable/disable the unwind tables and add/remove the ELF sections from the objects? If that's so, I can easily remove -arm-disable-ehabi and check on that flag.</div>
<div><br></div><div>thanks,</div><div>--renato</div><div></div></div><br></div><div class="gmail_extra"><br></div></div>