Closed vadimcn closed 2 years ago
@llvm/issue-subscribers-backend-aarch64
@llvm/issue-subscribers-backend-arm
I will try to reproduce this today and find out where it started.
This was fixed by https://reviews.llvm.org/D107476. Which was cherry picked to the 13 branch as https://github.com/llvm/llvm-project/commit/b3dcd156472fbea65dd002cd670c5ae96de0d438. So you can expect this to be fixed in 13.0.1. (or you can try 13.0.1-rc3 from git if you don't want to wait)
I think a comment from @vadimcn came in on email but didn't make it here for whatever reason.
This was fixed by https://reviews.llvm.org/D107476.
Not sure about that: I'm seeing the same segfault with a freshly compiled clangd from release/13.x branch
Do you have a new reproducer for that and/or the steps you used to do the overall build?
For the record I found that with 13.0.1-rc3 the original reproducer was fixed on an Arm and AArch64 machine. (and confirmed that it did fail prior to the referenced cherry-pick also)
I also tried using 13.0.1 to build itself, with flags to roughly match the reproducer -DCMAKE_C_FLAGS="-target armv6kz-unknown-linux-gnueabihf" -DCMAKE_CXX_FLAGS="-target armv6kz-unknown-linux-gnueabihf"
and didn't have any issues.
Which doesn't mean it's not still an issue, so tell me what I'm missing out.
@DavidSpickett: That comment was meant for a different bug, so I deleted it when I noticed my mistake. Sorry for the hassle.
Doesn't happen with optimizations off.
Reproducer attached