[PATCH] D32440: [scudo] Move thread local variables into their own files

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 09:55:06 PDT 2017


cryptoad updated this revision to Diff 96933.
cryptoad added a comment.

Addressing Dmitry's comments.

Introduce a scudo_tls_linux.h file, included within scudo_tls.h with fastpath
functions definition (`initThreadMaybe` & `getThreadContext`).

An additionaly change is aligning ScudoThreadContext on 64-bytes.


https://reviews.llvm.org/D32440

Files:
  lib/scudo/CMakeLists.txt
  lib/scudo/scudo_allocator.cpp
  lib/scudo/scudo_allocator.h
  lib/scudo/scudo_tls.h
  lib/scudo/scudo_tls_linux.cpp
  lib/scudo/scudo_tls_linux.h
  lib/scudo/scudo_utils.cpp
  lib/scudo/scudo_utils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32440.96933.patch
Type: text/x-patch
Size: 24190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170427/b0a2432d/attachment.bin>


More information about the llvm-commits mailing list