[PATCH] D84044: [AArch64][SVE] Add missing unwind info for SVE registers.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 15:52:35 PDT 2020


efriedma added a comment.

> I asked @rsandifo-arm about this, who suggested that the unwinder restores the callee-saved registers in the base ABI only, i.e. normal returns preserve extra registers, but exceptional returns don't.

I don't think I've ever seen a target do that, but I guess there isn't any reason it can't work like this.  Does clang need additional changes to support this, though?

It's unfortunate for debuggers, though; they also use "unwind" data to print the values of variables in different stack frames, so I'm not sure how that's supposed to work.


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

https://reviews.llvm.org/D84044





More information about the llvm-commits mailing list