<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/69016>69016</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
pathological build time with KASAN and inline functions
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
kees
</td>
</tr>
</table>
<pre>
The combination of KASAN with many inline function calls appears to trigger a large increase in build times. Specifically, builds of the Linux kernel have noticed some extremely long build times for certain files/options up near a hundred of seconds. (Building the same file/options with GCC takes only a few seconds.)
This is detailed more completely here:
https://github.com/ClangBuiltLinux/linux/issues/1314
A reproducer can be seen in godbolt (the clang build times out):
https://godbolt.org/z/9PGKo8
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8U81unDAQfhpzGWUFZtnFBw6bjcghVVUpeQFjBpjG2MhjkmyfvjIbtdtK7QVjefz9zVgz0-gQG1Hdi-oh02ucfGheETnrfH9pXiYE4-eOnI7kHfgBnk7Pp6_wTnGCWbsLkLPkEIbVma3EaGsZ9LKgDgzRQww0jhhAg9VhRCBnAmpOP9CtZHuINCPv4HlBQwMlgIuQ5-shJ844IXwht37AKwaHFib9huB8JIM9sJ8R8CMGnNFewHo33gLD4AMYDFGTg4EsspCtX5JYhnUBhzqJm1bXB-wTHaPxrucdCFnfJyBy46aB9YwbxA3ClsTj-QxRvyKDd_YCGgZ8_wUjpBL5g8hP1-_LRAzE0GPUZLGH2Yct5cViTAYmDCjKz-opxoXTTrZCtiPFae12xs9Ctmer3Zj0xS0bIVv7uRLzutksymJ_y32CgEvw_WowgNEOOgRGdKkXo-87b2MynbyahP5Hjn6Nyco_lF1v73wYhWx_CNmqb49Pvr7WZn1T9qpUOsOmOKijLNShqLKpwVLnhTSqrrXZD51RshgO3b6qqsGoWtYZNTKXZZEXZXGsyrLalaZWe2WO6nhEdTS12Oc4a7I7a9_mRJ9t7puDyotDZnWHlrf5ltLhO2yHQso07qFJd-66dWSxzy1x5N8okaLFZtFx8taPaSpvwrh2_foUtOv_fgScrcE2_2ldYvlc7pbgv6OJt23btP8MAAD___DyNOo">