aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCAsmInfoDarwin.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-05-20 00:49:07 +0000
committerEric Christopher <echristo@apple.com>2010-05-20 00:49:07 +0000
commitc1a887d76d95100e7e05aa76e077710bc4e0b1cf (patch)
tree16e95fc9ae7c59a7e3d084d60a1bd538eae6e783 /lib/MC/MCAsmInfoDarwin.cpp
parentff9244a1f15c500031207a8b725530536c60d831 (diff)
downloadexternal_llvm-c1a887d76d95100e7e05aa76e077710bc4e0b1cf.zip
external_llvm-c1a887d76d95100e7e05aa76e077710bc4e0b1cf.tar.gz
external_llvm-c1a887d76d95100e7e05aa76e077710bc4e0b1cf.tar.bz2
Partial code for emitting thread local bss data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp
index 3c31caa..0bd3b2d 100644
--- a/lib/MC/MCAsmInfoDarwin.cpp
+++ b/lib/MC/MCAsmInfoDarwin.cpp
@@ -35,6 +35,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
WeakRefDirective = "\t.weak_reference ";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
HasMachoZeroFillDirective = true; // Uses .zerofill
+ HasMachoTBSSDirective = true; // Uses .tbss
HasStaticCtorDtorReferenceInStaticMode = true;
HiddenVisibilityAttr = MCSA_PrivateExtern;