<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55964>55964</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
ASan on Mac arm64 clang only showing stack trace from violating file
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
j-p-c
</td>
</tr>
</table>
<pre>
I [asked about this on Stack Overflow](https://stackoverflow.com/questions/72541020/why-does-addresssanitizer-on-mac-arm64-only-show-the-part-of-the-stack-trace-fro) thinking it was user error, but I'm thinking it might be a bug.
However, I also note that [this is not a supported platform](https://clang.llvm.org/docs/AddressSanitizer.html#supported-platforms), so I'm prepared for this being a wontfix.
The stack trace only shows those functions that are in the same source file as the function that violated ASan.
New M1 Mac, LLVM installed from Homebrew:
```
$ /opt/homebrew/opt/llvm/bin/clang --version
Homebrew clang version 13.0.1
Target: arm64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm/bin
```
Simplest repro I could come up with is in the Stack Overflow question above.
I'm happy to try to help debug this, but not currently familiar with the LLVM codebase.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNVMFunDAQ_Rr2MjJivcvucuCQNqoSKWkPqXofYFicGExtE5p-fcdmSbtSDpWQMZ4Zz5s3b6hM81beQ5J_QvdCDWBlJg--Uw7MAE8e6xf49kq21WZO8ttEnjrvR5fsbhL5hR8XPMzFIa1Nz2c_J3JemcHx_ijz_TaTGW_n7k00hpzAprHknMNBefWbrDCD6LEWaPvDnj_0m3CdmYXvSIxovTBt3MdcwlusSbTWJLIIQIcXNZxBeZjRweTIAllrbCI_Q8Wl3Cfy2F_59erceagIkB3OaZLdJtnNst6ZmbiWEHsPqJ2BwXjiaPSBokgLP3zIwW4aR2M9kzZq9K2x_UcE1RqHc6r1a58ae-aDxtSBmJuFhKeVhLTzvU7k7v1Wsd7K3kVAxGiWYkZLTAvnZevSqopCbQizGXyrfl3V9L0jiMxBZA4CvxD4dRxrHEE7DXVs11In3wxq4D2HYc-LmSyHtUozYy6erxFLwKsyjJTh3HAxV6m_0gyPW3jEOuB_ePjxyDczFq0DeGt6uDM9VZbmQNcSeMguz_Ip98BkmdHz2q3O60FglV-VGlaiQQjun2Nsa0OXEFisFxtsd2mWbi_8oD2TZwCw6A_HUZNo0M5qkNs0T7OVR0vYQG8a0sF7NE79Wkz3a1G3ygbTfyH-sNy4PqmeITgP3GfLTYfaTLrhlbsxjTAr3wUVXpp0PaOwDl-Y5Fe6aseino4LfANvWA7x1ZEeoSEehaildW6CxuvJWho866XFXmmFdkke0sZu1kxGhY7STVPummJX4MYrr6kMUgg_EG79QuulAe_iC3r9V5VRDYuSgimobTNZXV4P05mzT9XlN3PhMrwE8_RMdWBYOccM8CbPi8N-05X5qdgfq0bu6XQ6Ndu83e0OGWbHLGO88oQbjRVpV_J8J1IOrJV4Be95nDeqlJmU2SErtkV-knm6R_6bHYpDfThW9ZbaZJ9Rj0q_j_jGlhESE-rYqJXz7q8RnVPngSim4_tx4iG05bMYRb2JicsI_A9j79eA">