<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/89700>89700</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm-split replaces symbolic links with the referenced file.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ian-collins-ctct
</td>
</tr>
</table>
<pre>
We had `ls -l ../built/third_party_libs/libfastrtps.so*
lrwxrwxrwx 1 ian sudo 18 Mar 1 21:12 ../built/third_party_libs/r2/libfastrtps.so -> libfastrtps.so.2.6
lrwxrwxrwx 1 ian sudo 20 Mar 1 21:12 ../built/third_party_libs/r2/libfastrtps.so.2.6 -> libfastrtps.so.2.6.6
-rw-r--r-- 1 ian sudo 5926028 Apr 23 14:00 ../built/third_party_libs/r2/libfastrtps.so.2.6.6`
After running llvm-strip-16 on "*.so" this changed to `-rw-r--r-- 1 ian sudo 5926028 Apr 23 13:58 ../built/third_party_libs/r2/libfastrtps.so
lrwxrwxrwx 1 ian sudo 20 Mar 1 21:12 ../built/third_party_libs/r2/libfastrtps.so.2.6 -> libfastrtps.so.2.6.6
-rw-r--r-- 1 ian sudo 5926028 Apr 23 13:58 ../built/third_party_libs/r2/libfastrtps.so.2.6.6`
The build previously use gnu spit which did not mess with the symlinks.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMlE-PmzAQxT-NuYxA_gOEHDhQbXPrrVKPK2NPwK1jI4_ZNN--gmi1rfpnq1UPRSOQsDXvPf9G1kRuCog9a96x5qHQa55j6p0OpYneu0ClySYXY7S3_hPCrC2wlnuC0kNVMXkaV-czk6c8u2QfF53y7dG7kZg8eTeeNeWUF6ooMjkw_sD44NP1671AgNMBaLUR9kd08EEnAAFSMDUI-apGkj8JQcnUe_jxXyWr9lV1yf-B-qb0OwfPHsp0LVO51fcemqNsuexgWBJIBaJmauD8rR6qlrX8Lnd_D-eMCdIaggsTeP90KSknt5SihRiAScnksHOSkGdHYGYdJrSQ44b87zwrpoame4vnP9H5z8C8PeQvwXycEbY2FpaETy6u5G-wEsIUVqDFZbjOzsxgnYUQM1yQCK4uz5BnBLpdvAtfqCpsr-xRHXWBvTgI1anuyFUx94fRtnbsDsYgNqprsUPRntWRC9HUR6UK10sua15LxaUUtaoOxghtVWdrU2Njz6zmeNHOV9vUVDFNhSNase-OB84Lr0f0tN8gUga8wr64zVPzUKR-n7RxnYjV3DvK9NIlu-zxvoEW7zIkXLw2SFuqMXpnYM_2kjbhGRMGgxbOzmNVrMn3c84LMTUweWLyNLk8r2Nl4mU7fv_0_CmXFD-j2WDtBjdEe4BvAQAA___dMpZc">