summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfoDarwin.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2010-07-08 17:22:42 +0000
committerKevin Enderby <enderby@apple.com>2010-07-08 17:22:42 +0000
commit082d0fd7ad4f75542a2330764b035ce805d38166 (patch)
treed2e4c27f34ce3d0f1e8070d6d02b97e1f46bbcc6 /llvm/lib/MC/MCAsmInfoDarwin.cpp
parent7e8996c7e6728e1b95662dc550e1adf658c1f42d (diff)
downloadbcm5719-llvm-082d0fd7ad4f75542a2330764b035ce805d38166.tar.gz
bcm5719-llvm-082d0fd7ad4f75542a2330764b035ce805d38166.zip
Added the darwin .weak_def_can_be_hidden directive.
llvm-svn: 107886
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfoDarwin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp
index 0bd3b2d001e..4f5075f50ef 100644
--- a/llvm/lib/MC/MCAsmInfoDarwin.cpp
+++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp
@@ -33,6 +33,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
// Directives:
WeakDefDirective = "\t.weak_definition ";
WeakRefDirective = "\t.weak_reference ";
+ WeakDefAutoPrivateDirective = "\t.weak_def_can_be_hidden ";
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
HasMachoZeroFillDirective = true; // Uses .zerofill
HasMachoTBSSDirective = true; // Uses .tbss
OpenPOWER on IntegriCloud