[PATCH] D96164: [lld-macho] add code signature for native arm64 macOS

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 14 14:29:32 PST 2021


gkm added a comment.

In D96164#2562426 <https://reviews.llvm.org/D96164#2562426>, @cynecx wrote:

> Hmm, this is indeed very weird. I have seen "similar" behavior with codesign. codesign can actually fail. The only way to "get it working" again is to copy the file and codesign the copy, then replacing the original file (a different inode fixes codesigning).
>
> Does the segfault happen with each linking step?

Not a segfault. `SIGKILL`, presumably dyld doing `kill(0, SIGKILL)` though I haven't yet run it under lldb to confirm.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96164/new/

https://reviews.llvm.org/D96164



More information about the llvm-commits mailing list