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

    <tr>
        <th>Summary</th>
        <td>
            Building CTTestTidyModule is failed: unresolved symbol "translationUnitDecl"
        </td>
    </tr>

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

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

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

<pre>
    I built LLVM with this option:
cmake -G 'Visual Studio 17 2022' -DLLVM_ENABLE_PROJECTS='clang;lld;clang-tools-extra' -DLLVM_ENABLE_ASSERTIONS=On -DLLVM_EXPORT_SYMBOLS_FOR_PLUGINS=On -DLLVM_ENABLE_PLUGINS=On -DLLVM_TARGETS_TO_BUILD=X86 ../llvm
Everything is ok but the project CTTestTidyModule failed. I find the reason, the global variable "translationUnitDecl" is not exported in clang-tidy.lib. "translationUnitDecl" in exported in clangASTMatchers.lib, clang-tidy.lib is made by clangASTMatchers.lib, but "translationUnitDecl" symbol is disappeared in clang-tidy.lib. I need a help :((
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8U09v4j4Q_TTOZUTkOAmQQw78rfgJSkXSqr8TsuOBeGtiFDu0fPuVU7qr3bZ7iqyZ9-bNyxturTo2iDlJpySdB7xztWnze2PEjDtGKQ2Ekdd8BaJT2sF6_bSBV-VqcLWyYM5OmYbEE0LnhE6qE39BGNwBYaMnZTuuoXCdVAaiETDKGGEjGMw9yX5xP5muF_uH3fa_xawsSDwnbFRp3hxJPNVaknjavwbOGG0H-OZa_hk-KYrFrlxt7z3BtvlVfX7Y7sp98f9mul0X--V2t39YP96t_m67afiiVE52d4uy2Jfb_fRxtZ6TeP48HkIYErbU-nJ6X3hxwfbqatUcwbvxAqJz4GqEc2t-YOVgVpZoXankdWNkpxEOXGmUIazgoBrZ97bIrWkIm_WvozaCa7jwVnGhEQhjruWN1dxb_dgoN8dKE8b8xMY4wLezaR1KUA3cHFPyGmolwn-Bm8_ASVFuuKtqbK2He0V_EvqRJy4RxPVbhHfg-7H2ehJGex6pLD-fkbdfK19BgyiBQ436DD5hbEzYOJB5LLM44wHm0SiiWcpYkgZ1PoyrqkojVvFEVJTjiFIpIxwnLM7kMBsHKmeUJTRmNBrGNElDkfAsiypxkNFQ8AMlCcUTVzr0vzc07TFQ1naYj9MszQLNBWrbnwljDb5CXySM-atpc48ZiO5oSUK1ss7-ZnHKacynndLS5-RTIpS9hYLEE-iaFq3RF5QfVn3rZdC1Oq-dO9venSVhy6NydSfCypw-Uvr-GdziSNiyl20JW_Zr_QwAAP__hxxNsw">