Author: Peter Collingbourne Date: 2021-01-05T19:51:47-08:00 New Revision: 6dc3c117a30744f3fcff5297ef702c1773d9328e
URL: https://github.com/llvm/llvm-project/commit/6dc3c117a30744f3fcff5297ef702c1773d9328e DIFF: https://github.com/llvm/llvm-project/commit/6dc3c117a30744f3fcff5297ef702c1773d9328e.diff LOG: scudo: Update a comment to match the Linux kernel behavior. NFCI. Added: Modified: compiler-rt/lib/scudo/standalone/include/scudo/interface.h Removed: ################################################################################ diff --git a/compiler-rt/lib/scudo/standalone/include/scudo/interface.h b/compiler-rt/lib/scudo/standalone/include/scudo/interface.h index 0736af1f2dc2..68029e4857a3 100644 --- a/compiler-rt/lib/scudo/standalone/include/scudo/interface.h +++ b/compiler-rt/lib/scudo/standalone/include/scudo/interface.h @@ -40,10 +40,11 @@ typedef void (*iterate_callback)(uintptr_t base, size_t size, void *arg); // the version in the process that analyzes the crash. // // fault_addr is the fault address. On aarch64 this is available in the system -// register FAR_ELx, or far_context.far in an upcoming release of the Linux -// kernel. This address must include the pointer tag; note that the kernel -// strips the tag from the fields siginfo.si_addr and sigcontext.fault_address, -// so these addresses are not suitable to be passed as fault_addr. +// register FAR_ELx, or siginfo.si_addr in Linux 5.11 or above. This address +// must include the pointer tag; this is available if SA_EXPOSE_TAGBITS was set +// in sigaction.sa_flags when the signal handler was registered. Note that the +// kernel strips the tag from the field sigcontext.fault_address, so this +// address is not suitable to be passed as fault_addr. // // stack_depot is a pointer to the stack depot data structure, which may be // obtained by calling the function __scudo_get_stack_depot_addr() in the _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits