[PATCH] D23933: [XRay] ARM 32-bit no-Thumb support in compiler-rt

Serge Rogatch via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 15:31:02 PDT 2016


rSerge updated this revision to Diff 69440.
rSerge added a comment.

Rebased after https://reviews.llvm.org/D21982 and ported logging to ARM: replaced RDTSC instruction with clock_gettime().
Fixed a bug where the length of x86_64 sled (11-12 bytes) was passed to mprotect() on ARM, while the sled size on ARM is 28 bytes. This was sometimes causing segmentation fault when patching at runtime.


https://reviews.llvm.org/D23933

Files:
  cmake/config-ix.cmake
  lib/sanitizer_common/scripts/gen_dynamic_list.py
  lib/xray/CMakeLists.txt
  lib/xray/xray_arm.cc
  lib/xray/xray_inmemory_log.cc
  lib/xray/xray_interface.cc
  lib/xray/xray_interface_internal.h
  lib/xray/xray_trampoline_arm.S
  lib/xray/xray_x86_64.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23933.69440.patch
Type: text/x-patch
Size: 24553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160826/3b2dcbd6/attachment.bin>


More information about the llvm-commits mailing list