<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/135401>135401</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Interpreter/inline-virtual.cpp is very flaky with ASan
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
thurstond
</td>
</tr>
</table>
<pre>
It fails on stage2/asan_ubsan check with:
```
+ cat /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/test/Interpreter/inline-virtual.cpp
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/clang-repl -Xcc -fno-rtti -Xcc -fno-sized-deallocation
JIT session error: In graph incr_module_23-jitted-objectbuffer, section .text.startup: relocation target "_ZN1AD2Ev" at address 0x79618c48d040 is out of range of Delta32 fixup at 0x75618b40d02d (<anonymous block> @ 0x75618b40d010 + 0x1d)
error: Failed to materialize symbols: { (main, { $.incr_module_23.__inits.0, __orc_init_func.incr_module_23, a2 }) }
error: Failed to materialize symbols: { (main, { __orc_init_func.incr_module_23 }) }
```
The error message ("out of range of Delta32") appears similar to https://github.com/llvm/llvm-project/issues/102858, another Interpreter test that is flaky with ASan.
Recent test history on the [x86_64-linux-fast](http://lab.llvm.org/buildbot/#/builders/169) bot:
- https://lab.llvm.org/buildbot/#/builders/169/builds/10339: fail
- 10340: buildbot logistical problem
- https://lab.llvm.org/buildbot/#/builders/169/builds/10341: fail
- https://lab.llvm.org/buildbot/#/builders/169/builds/10342: fail
- 10343: pass
- 10344: pass
- https://lab.llvm.org/buildbot/#/builders/169/builds/10345: fail
- 10346: pass
- https://lab.llvm.org/buildbot/#/builders/169/builds/10347: fail
- https://lab.llvm.org/buildbot/#/builders/169/builds/10348: fail
- 10349: pass
- https://lab.llvm.org/buildbot/#/builders/169/builds/10350: fail
- 10351: buildbot logistical problem
- 10352: buildbot logistical problem
- 10353: pass
- https://lab.llvm.org/buildbot/#/builders/169/builds/10354: fail
- 10355: pass
- https://lab.llvm.org/buildbot/#/builders/169/builds/10356: fail
- https://lab.llvm.org/buildbot/#/builders/169/builds/10357: fail
- https://lab.llvm.org/buildbot/#/builders/169/builds/10358: fail
- https://lab.llvm.org/buildbot/#/builders/169/builds/10359: fail
- https://lab.llvm.org/buildbot/#/builders/169/builds/10360: fail
- 10361: pass
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy0Vk1v4zYQ_TX0hZBBUd8HHbTxCkgPPbR7KHoRKGkkcUORAjnK2vn1BeUkG8dou-3GgAFbw_F7b744Es7JUQOUJPlEksNOrDgZW-K0WodG97vW9KfyHukgpHLUaOpQjMAJr4UTullbJzTtJuge6DeJE4kqwiqSsucPqwj_RDuBlPB6MjMQXreE105oifIJbHDM0yaNAyX1egwG4dB7rFL1hNdKPc7BYs1X6Ly5U0KPhNcIm9e9RrCLBQRLeC21khqCR2lxFWrfLcsz-f8lbraH5nuY_lzqFx2BhUXR4I-uo8GgTWAR5ZtHJ5-gD3oQSplOoDSasOqX-y_UgXPSaArWGkuiit5rOlqxTFTqzjaz6VcFDY-CrxIR-sC0Pvp2HQYf5h110Hk0ukc44t6hsLguHsfCCxNFYUfwKefNn7-G1YF_fiScU4FU9L0F5yg7ZkUa5l2c9yxmVDpqVqRmoFboEfyPAygUEaeDPK6L_ys7Zkka5m3MesZ7SnhOojuhjT7NZnW0VaZ7INFnSmJ24Rsy6svAjmFPeEFY9Rp5LaSCnqKhs0CwUij5BNSd5tYo5x1I5suXz8Kn_e75Md5fJmrfNFJLdHvmfZrG2G4zNMOqu3e-3kNwSrID4cX29ZNy_pnukuhiKlj1ZYJzE9AZnBMjbCnl_G8KQTj3UGJZQFhHnZylEtarnRAXr4_wmvB6lDit7b4z83MfX8-RdG4FR3gdMp4n-ZYUbXACS9_MFPVjRnES6NtjUOLhtI04rX4Xen-O4TfoQOPZc5IOjT35OwInoCT5dD1hyYHw3Ot9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