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

    <tr>
        <th>Summary</th>
        <td>
            llvm/SupportTests failed to build with LLVM_ENABLE_MODULES
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:modules,
            platform:macos
      </td>
    </tr>

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

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

<pre>
    llvm SupportTests failed to build with modules with bootstrapped clang in Darwin CI: https://green.lab.llvm.org/green/job/clang-stage2-Rthinlto/6496/

```
Undefined symbols for architecture x86_64:
 "std::__1::enable_if<std::is_signed<long long>::value, Univariate3D>::type llvm::operator-<long long>(Univariate3D const&)", referenced from:
 UnivariateLinearPolyBase_Univariate3D_Invert_Test::TestBody() in lto.o
ld: symbol(s) not found for architecture x86_64
```

There is also a warning related:
```
In module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Support/LinearPolyBaseTest.cpp:9:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/TypeSize.h:215:3: warning: inline function 'llvm::operator-<long long>' is not defined [-Wundefined-inline]
  operator-(const LeafTy &LHS) {
 ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Support/LinearPolyBaseTest.cpp:173:13: note: used here
  EXPECT_EQ(-Univariate3D(4, 0), Univariate3D(-4, 0));
 ^
1 warning generated.
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0VU1v4zYQ_TXjC2FDHlpfBx_s2EYDeNttk7S9CZQ4srlLkwJJJXV_fUFZiRO3XbSHBQKGwzFHnDfvzQjv1cEQLSFdQ7qZiD4crVs2ojnSiVR7tn0jzKS28rzU-vnEHvqusy48kg-etUJpkixYVv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