diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-04-29 22:25:40 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-04-29 22:25:40 +0000 |
commit | fa2eac54e690928592a2bd6c1f8ee0f9b1923d5e (patch) | |
tree | eacd277dab66dffc790872b261e751447502a89c /include/llvm/CodeGen/AsmPrinter.h | |
parent | 59a0e79631ed851d98cf9c2ba6fa5f9aafdfdc93 (diff) | |
download | external_llvm-fa2eac54e690928592a2bd6c1f8ee0f9b1923d5e.zip external_llvm-fa2eac54e690928592a2bd6c1f8ee0f9b1923d5e.tar.gz external_llvm-fa2eac54e690928592a2bd6c1f8ee0f9b1923d5e.tar.bz2 |
Emit the TLS initialization function pointers into the correct section.
The `llvm.tls_init_funcs' (created by the front-end) holds pointers to the TLS
initialization functions. These need to be placed into the correct section so
that they are run before `main()'.
<rdar://problem/13733006>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index c2fd6ce..4ecc7ad 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -486,6 +486,7 @@ namespace llvm { unsigned uid) const; void EmitLLVMUsedList(const ConstantArray *InitList); void EmitXXStructorList(const Constant *List, bool isCtor); + void EmitTLSInitFuncs(const ConstantArray *InitList); GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy *C); }; } |