[PATCH] D40159: Make TLS/NetBSD handling more generic

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 18 23:43:48 PST 2017


krytarowski added a comment.

It looks like the proper TLS vector should be in a form of `std::vector<std::pair<uptr,uptr>>`, as there might be multiple regions mapped (true for DSO).

The problem is that there is no public interface to retrieve this and with introspecting exported symbols in /usr/libexec/ld.elf_so this is untrivial.

If there are more users of this use-case (beyond sanitizers) it's a legitimate reason to develop a dedicated API.


Repository:
  rL LLVM

https://reviews.llvm.org/D40159





More information about the llvm-commits mailing list