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

    <tr>
        <th>Summary</th>
        <td>
            Question about how to attach the thread of the process that JIT compile LLVM IR when debug?
        </td>
    </tr>

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

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

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

<pre>
    When we debug the JIT program, the JIT should create a new thread specifically for compilation operations when compiling LLVM IR. But my current sample compilation speed is very fast, and I cannot find the thread information in time. Is there any way to discover threads or set breakpoints to debug?
JIT process happens between these two lines of code.

![image](https://github.com/llvm/llvm-project/assets/72311224/e54dd39c-dc7a-4d80-86e7-b1415f341882)

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkkuPozgQxz-NuZQSYUMIHDh0bytSVr2HXbV2zsYuwDPGRq6iUb79CJLM4zgXHnY9_lX_nyZyQ0BsxelVnN4yvfAYU_sxppQQEbMu2lv7ZcQAK4LFbhmAR4S_rx8wpzgkPQn1148jGuPiLZiEmhE0BFyBx4TaAs1oXO-M9v4GfUxg4jQ7r9nFAHHGtH8RrFuv-50LA7y___8PXP87wuvCMN3ALClhYCA9zR5_K0IzogVH8InpBr0m3qTpYOEKRocQGXoX7C72IcqFPqbpnu4CsJvwCFfaQhKCDjdY9Q04gnVk4iemRyJBTEDI0CXU3-boAtMeti1IFBeRv4n85bEkg0Qw6nnGQNAhr4hh60AIvEbwLiBB7MFEi8d75uOppDi9ukkPKE5vQtUj80yieBHqItRlcDwu3dHESaiL95_P12FO8SsaFuqiiZBJqMtZFVIqVQp1wVNpbdGYgzVnfShtnR_qCs-HTpby1BelrGslVHOXkNm2sE3R6AxbWTXNSTV5XWVjW9tSdWh705iqQ1mppjK91LLvO2VUpTLXqnxrmjdSqrKsjniuVFPUdV6U8pyXRpQ5Ttr546b5GNOQOaIF27M8N1XmdYeediyV2jDaL4VSG6Wp3efsloFEmXtHTD-rsGOP7b8L0m6r7uLCMMZ180czazP-SkDs97-nTTxq3km-g4VP_u5YPu3NluTbPzZjn2A3Y5vwewAAAP__zj4mvw">