<div dir="ltr"><font face="monospace">On Wed, 24 Nov 2021 at 18:18, Eric Christopher <<a href="mailto:echristo@gmail.com">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>