<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/60506>60506</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            `unw_step` constantly returns `UNW_EBADREG` on macOS
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          CuriousGeorgiy
      </td>
    </tr>
</table>

<pre>
    Description: https://github.com/tarantool/tarantool/issues/7980#issuecomment-1330479294

Could you please comment on this?

> Even if _WIN64 is defined (why the hell should it be defined in a macos version if libunwind?), register 16 (UNW_X86_64_RIP = 16) is not considered valid. Because it falls in neither category. And because UNW_REG_IP == -1 is the accepted representation of the IP register.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8Ur1u4zwQfBqqWdigSFk_hQontoM0-YJ8OOQ6gyJXEg80KfDHht_-QCXIBVdcI5HY4czuzogQ9GQRe7J7ILtDIVKcne8fk9cuhSd0ftL3YnDq3h8wSK-XqJ0lfA9zjEsgfE_YibDTpOOchq10F8JOUXhho3Pmr7MOIWEg7NR0LSWMr3fpLhe0cVNyTqumY11F6IHQ_cf30SWj4O4SLAZFQPiEg7MQZx0IP32HE36E4xUt6BHO788vdQU6gMJRW1RAWHub7xBnhBmNgTCv7DrCgF8gbUHARUgX4Io-aLeSGT0ke9NWZUHWEfYIHicdInoo68z84-X9_LOtz3V1fnt-BcIPUNaEdbkB6yJIZ4NW6FHBVRittvCAUqSAWX8UxoQsbVHHGT1IEXFy_r6FvVUwfCKzxtvx6fzBnyU2ZebPEwkpcYmowOPiMaCNIlsFblzLz69fDW8L1XPV8U4U2Jd1s6vKrmVNMfdjI3dqKGuqxhZH3GHZsYF1zdBUJa-ZKHTPKOOUUV5SxqtmqzrRNqphkreVzN5VFC9Cm60x18vW-alYTe5ruqN1YcSAJqxZY8ziDdYiYSxHz_f5zWZIUyAVNTrE8Icl6miwJzVN9nYOERdS03WlUdho7uAxJm8DkJrmJR0f9oe341MGOZvd_O__InnT_yO0Werzt1m8-4Uyfo_sOsDvAAAA__8HOgao">