[PATCH] D69579: [libFuzzer] Fix unwinding for Fuchsia

Cameron Finucane via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 13:39:30 PST 2019


eep added a comment.

Just a small note on the writeup in the comments.



================
Comment at: compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp:81
+// CFAOffset is used to reference the stack pointer before entering the
+// trampoline (Stack Pointer - CFAOffset = prev Stack Pointer). Before jumping
+// to the trampoline we copy all the registers onto the stack. We need to make
----------------
Nit: sign error, SP + offset = SP_prev


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69579





More information about the llvm-commits mailing list