[PATCH] D15728: [cfi] Support for dlopen and dlclose

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 11:44:13 PST 2016


eugenis updated this revision to Diff 45288.
eugenis added a comment.

The previous approach contained a data race on the shadow pointer, which can not be updated without a lock in __cfi_slowpath. That would not be acceptable performance-wise. Probably.

This new version is linux-only as it requires mremap().


Repository:
  rL LLVM

http://reviews.llvm.org/D15728

Files:
  lib/cfi/cfi.cc
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_posix.cc
  test/cfi/cross-dso/dlopen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15728.45288.patch
Type: text/x-patch
Size: 14638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160119/c0d8f999/attachment.bin>


More information about the llvm-commits mailing list