https://github.com/JDevlieghere approved this pull request. > On PPC64, SIGTRAP is delivered before the triggering instruction completes. LGTM assuming this is the case, which a quick Google search seems to confirm. https://github.com/llvm/llvm-project/pull/185192