diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-23 06:53:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-23 06:53:23 +0000 |
commit | 0bfd279b37c9039fb093f871f8831e85bd46649d (patch) | |
tree | 310cc81be4c6461af224d49f1d25a6bb21f45e5e /llvm/lib/MC/MCAsmInfoDarwin.cpp | |
parent | 685508cf494ee73690f77fc929382f53b157c1ca (diff) | |
download | bcm5719-llvm-0bfd279b37c9039fb093f871f8831e85bd46649d.tar.gz bcm5719-llvm-0bfd279b37c9039fb093f871f8831e85bd46649d.zip |
mcize visibility directives.
llvm-svn: 94295
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r-- | llvm/lib/MC/MCAsmInfoDarwin.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp index a66a83d0144..8495aa44eca 100644 --- a/llvm/lib/MC/MCAsmInfoDarwin.cpp +++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp @@ -32,12 +32,16 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() { // Directives: WeakDefDirective = "\t.weak_definition "; WeakRefDirective = "\t.weak_reference "; - HiddenDirective = "\t.private_extern "; ZeroDirective = "\t.space\t"; // ".space N" emits N zeros. HasMachoZeroFillDirective = true; // Uses .zerofill HasStaticCtorDtorReferenceInStaticMode = true; SetDirective = "\t.set"; - ProtectedDirective = "\t.globl\t"; + + HiddenVisibilityAttr = MCSA_PrivateExtern; + // Doesn't support protected visibility. + ProtectedVisibilityAttr = MCSA_Global; + + HasDotTypeDotSizeDirective = false; HasNoDeadStrip = true; // Note: Even though darwin has the .lcomm directive, it is just a synonym for |