[all-commits] [llvm/llvm-project] cfa4d1: [compiler-rt] change write order of frexpl & frexp...
Emily Shi via All-commits
all-commits at lists.llvm.org
Fri Jul 16 10:58:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cfa4d112da8da97480c3018c68389aa06cb3efb8
https://github.com/llvm/llvm-project/commit/cfa4d112da8da97480c3018c68389aa06cb3efb8
Author: Emily Shi <code at emi.sh>
Date: 2021-07-16 (Fri, 16 Jul 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
A compiler-rt/test/asan/TestCases/frexpf_interceptor.cpp
A compiler-rt/test/asan/TestCases/frexpl_interceptor.cpp
Log Message:
-----------
[compiler-rt] change write order of frexpl & frexpf so it doesn't corrupt stack ids
This was fixed in the past for `frexp`, but was not made for `frexpl` & `frexpf` https://github.com/google/sanitizers/issues/321
This patch copies the fix over to `frexpl` because it caused `frexp_interceptor.cpp` test to fail on iPhone and `frexpf` for consistency.
rdar://79652161
Reviewed By: delcypher, vitalybuka
Differential Revision: https://reviews.llvm.org/D104948
More information about the All-commits
mailing list