[PATCH] D19778: [sanitizers] [SystemZ] Add __tls_get_offset interceptor.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Mon May 2 13:45:31 PDT 2016


eugenis added a comment.

All these macro definitions and conditionals make __tls_get_addr interceptor confusing.
Maybe just copy the whole thing, then you'll end up with a few duplicated lines of code, but each version would be a lot simpler.

Is it possible to avoid this module-level asm by implementing an honest interceptor for __tls_get_offset, and a tiny chunk of asm that simply returns %r12, or finds the address of GOT some other way (aren't there linker symbols for the start of each section?) ?


Repository:
  rL LLVM

http://reviews.llvm.org/D19778





More information about the llvm-commits mailing list