<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thank you for all your assistance with this Sven.</p>
    <p>One trick I have been doing is writing equivalent programs in
      C/C++ to see how Clang and MSVC convert them into equivalent
      assembly language.  It's providing some insights at least in
      regards to what works.  My first attempted fix (putting the jump
      table in the same section as the actual code) unfortunately didn't
      work, so it's something more subtle.<br>
    </p>
    <p>Kit<br>
    </p>
    <div class="moz-cite-prefix">On 26/05/2024 11:55, Sven Barth via
      fpc-devel wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFMUeB_ROZohYh0ynwXZYzjWQaTK7nue9oO-Xd3Ra5JnNmTMew@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">J. Gareth Moreton via
              fpc-devel <<a
                href="mailto:fpc-devel@lists.freepascal.org"
                moz-do-not-send="true" class="moz-txt-link-freetext">fpc-devel@lists.freepascal.org</a>>
              schrieb am Sa., 25. Mai 2024, 22:18:<br>
            </div>
            <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <p>Indeed - I'm not giving up!  I installed Clang via
                  LLVM.  Which of the EXE files is actually the
                  assembler?  It's not entirely clear (no "clang-as",
                  for example).  (Although I trust it works!)</p>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Simply check what FPC calls. ;) </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <p>I've got some ideas as to how to start debugging.  I
                  will solve this puzzle! </p>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto">There is a tool that converts DWARF to CodeView,
          you can use that to debug with WinDBG. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Regards, </div>
        <div dir="auto">Sven </div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
    </blockquote>
  </body>
</html>