[PATCH] D119829: [Driver] Support Solaris/amd64 GetTls

Rainer Orth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 15 04:13:25 PST 2022


ro created this revision.
ro added a reviewer: MaskRay.
ro added a project: clang.
Herald added subscribers: fedor.sergeev, jyknight.
ro requested review of this revision.

This is the driver part of D91605 <https://reviews.llvm.org/D91605>, a workaround to allow direct calls to `__tls_get_addr` on Solaris/amd64.

Tested on `amd64-pc-solaris2.11` and `sparcv9-sun-solaris2.11`.

This adds a testcase to the original submission.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119829

Files:
  clang/lib/Driver/ToolChains/Solaris.cpp
  clang/test/Driver/solaris-ld-sanitizer.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119829.408812.patch
Type: text/x-patch
Size: 4447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220215/c4d942a0/attachment.bin>


More information about the cfe-commits mailing list