diff options
author | Eric Christopher <echristo@apple.com> | 2010-05-17 21:02:07 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-05-17 21:02:07 +0000 |
commit | 423c9e3e589a79be757842d421600590c68d5b43 (patch) | |
tree | 6304bcbf4e1fe201f9c4977abe389a9d3953f583 /lib/Target/X86/X86AsmBackend.cpp | |
parent | 53c779bb3a5712b67cf6bae785cb83a90841d17e (diff) | |
download | external_llvm-423c9e3e589a79be757842d421600590c68d5b43.zip external_llvm-423c9e3e589a79be757842d421600590c68d5b43.tar.gz external_llvm-423c9e3e589a79be757842d421600590c68d5b43.tar.bz2 |
Add some section and constant support for darwin TLS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86AsmBackend.cpp')
-rw-r--r-- | lib/Target/X86/X86AsmBackend.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86AsmBackend.cpp b/lib/Target/X86/X86AsmBackend.cpp index 8ee836e..6abba5a 100644 --- a/lib/Target/X86/X86AsmBackend.cpp +++ b/lib/Target/X86/X86AsmBackend.cpp @@ -222,7 +222,8 @@ public: bool isVirtualSection(const MCSection &Section) const { const MCSectionMachO &SMO = static_cast<const MCSectionMachO&>(Section); return (SMO.getType() == MCSectionMachO::S_ZEROFILL || - SMO.getType() == MCSectionMachO::S_GB_ZEROFILL); + SMO.getType() == MCSectionMachO::S_GB_ZEROFILL || + SMO.getType() == MCSectionMachO::S_THREAD_LOCAL_ZEROFILL); } }; |