<div dir="ltr">Ultimately I think I'd like to know why you think you should do this, hence the request for use cases :)<div><br></div><div>Thanks!</div><div><br></div><div>-eric</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 9, 2021 at 6:57 AM Momchil Velikov <<a href="mailto:momchil.velikov@gmail.com">momchil.velikov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><font face="monospace">On Wed, 24 Nov 2021 at 18:18, Eric Christopher <<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>> wrote:<br>><br>> Hi Momchil,<br>><br>> So, I think to elaborate from the thread you're looking at separating out:<br>><br>> no tables,<br>> exception handling,<br>> instruction level unwind accuracy<br>><br>> for unwind tables? Some examples of cases you expect to work and explicitly not work in each of these would be fairly motivating. Going down the use cases for each.<br><br>Not really. What I'm looking for is to convey the value of the CodeGen option `UnwindTables` from clang to LLVM.<br><br> <span class="gmail_default" style="font-family:monospace,monospace;font-size:small"> </span> Â  Â  Â  Â | nounwind 0 Â | Â nounwind 1<br>----------+-------------+--------------<br>uwtable 0 | <full,no> Â  | Â <no,no><br>----------+-------------+--------------<br>uwtable 1 | <full,no> Â  | Â <full,no><br>----------+-------------+--------------<br>uwtable <span class="gmail_default" style="font-family:monospace,monospace;font-size:small">2</span> | <full,full> | Â <full,full></font><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace"><span class="gmail_default" style="font-family:monospace,monospace;font-size:small">Lacking that, a backend can choose to generate unwind tables </span></span><span style="font-family:monospace,monospace">either</span><span style="font-family:monospace,monospace"> <span class="gmail_default" style="font-family:monospace,monospace;font-size:small"> </span></span><span style="font-family:monospace,monospace">according to the</span></div><div><span style="font-family:monospace,monospace">second or the third rows, but a user has no control of it. As different kinds of unwind</span></div><div><span style="font-family:monospace,monospace">tables have different functionality and trade-offs, that should be something</span><span style="font-family:monospace,monospace"> under user control.</span></div><div><span style="font-family:monospace,monospace"><span class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></span></span></div><div><span style="font-family:monospace,monospace"><span class="gmail_default" style="font-family:monospace,monospace;font-size:small"></span><span class="gmail_default" style="font-family:monospace,monospace;font-size:small">~chill</span></span></div><div><span style="font-family:monospace,monospace"><span class="gmail_default" style="font-family:monospace,monospace;font-size:small"><br></span></span></div></div>
</blockquote></div>