<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/107122>107122</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Assignment Tracking] Migrate from Clang feature to default LLVM pipeline
</td>
</tr>
<tr>
<th>Labels</th>
<td>
debuginfo
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jryans
</td>
</tr>
</table>
<pre>
The [assignment tracking debug info feature](https://llvm.org/docs/AssignmentTracking.html) is currently enabled by default in Clang, but it is not yet part of the default LLVM pipeline. This means downstream users of other non-Clang toolchains do not benefit from this feature (unless they manually add the pass as well).
Since there is not anything C-specific to the assignment tracking feature, it would be good to migrate this from a Clang feature over to the default LLVM pipeline so it's easier for everyone to benefit from this work.
During development of assignment tracking, some LTO performance regressions cropped up, so that may need to be investigated again as part of this effort. (See also [this comment](https://github.com/llvm/llvm-project/issues/105881#issuecomment-2326066329) from @jmorse.)
CC @OCHyams @jmorse
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVD2Po0gQ_TVNUhqEG2NMQLBry7pgVhvs6PIGCujZpgt1FR7x70-N7ZlbnbNLbMvUx3uvHs8w28Ej1qr4ropzYhYZKdTvYTWek4a6tX4bEVTx_VY5oReQYNrf1g_QYbMMYH1P0KORJaAqzkofR5GZVf5N6YvSF-euU0phUPrSUctKX759znq7j0pHmZzSFViGdgkBvbgV0JvGYQfNCh32ZnEC1sPJGT8ofYJmEbASWzwJrCgwmyBAPciInx2vr3__gNnO6KzHFN5GyzCh8QwdfXiWgGaChTFw7CQZMYAn_7KtASFy7WjsVr7tadBjbwX6QBNInHbnDkofF--QOe5fYTJ-Mc6tYLpuQzQbZjAMH-gi11RlZ5V9u33-sr7FWBXwQcj4VcYo8-mFZ2xtb1sQ2iY9O8bjAvoURfmgxXXQIAxEXWyb7BCM4B1xxG5uSn7CpyuGx4Kn4gETWFG6ZEDDFgP0FACvGFbyGFv_q80Hhd9_ED0v4WadKzqaNwrUPyMUiTBNCK9vP2HG0FOYTBQp4BCQ2ZJnaAPNM3awzLdykNEITGYFj9jdIIH1V2SxgxHswAzG-niFL69YBux7CpLGE_5CBOOYoum3Zy1NEdgzaw9WxqVJW5ruPr9_vcyB3rEVpS-WecFo-l1WHI87pfPtn_vQF53rQ3Y45LqK7t90U_vsfaLAmCpd_Vu60yk--3n6azUTf5VB0tV5V-WVSbDelbrIy3J_PCRjbfKs3Osmr7Km01m_M3FZ_NEURXk8VImtdab3WZXluyLf6UNalUXVl33R74_HA-Je7TOcjHXp4yVONvT1Lit3WifONOh4Cw-ttzSIYaC0jlkS6k2KZhlY7TNnWfhrjFhxW-p8ZQE8wkAVZ_hxt-umyJ8-FXpuz2QJrv4_99koXWv9TwAAAP__vBa4TA">