[all-commits] [llvm/llvm-project] 73840f: thread_local support for AIX
jamieschmeiser via All-commits
all-commits at lists.llvm.org
Mon Jul 19 07:04:06 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 73840f9f81413f21d3c8fab0ed85917aca2b5d34
https://github.com/llvm/llvm-project/commit/73840f9f81413f21d3c8fab0ed85917aca2b5d34
Author: Jamie Schmeiser <schmeise at ca.ibm.com>
Date: 2021-07-19 (Mon, 19 Jul 2021)
Changed paths:
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
M clang/test/CodeGenCXX/cxx11-thread-local-visibility.cpp
M clang/test/CodeGenCXX/cxx11-thread-local.cpp
Log Message:
-----------
thread_local support for AIX
Summary:
The AIX linker will produce errors on unresolved weak symbols. Change the
generated code to not check for the initialization function but just call
it and ensure that it always exists. Also, the AIX atexit routine has a
different name (and signature) so call it correctly. Update the lit tests
to test on AIX appropriately.
Author: Jamie Schmeiser <schmeise at ca.ibm.com>
Reviewed By: hubert.reinterpretcast (Hubert Tong)
Differential Revision: https://reviews.llvm.org/D104420
More information about the All-commits
mailing list