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/MCAsmInfo.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/MCAsmInfo.cpp')
| -rw-r--r-- | llvm/lib/MC/MCAsmInfo.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp index ef6dd071e03..debccaf4b16 100644 --- a/llvm/lib/MC/MCAsmInfo.cpp +++ b/llvm/lib/MC/MCAsmInfo.cpp @@ -61,9 +61,8 @@ MCAsmInfo::MCAsmInfo() { WeakRefDirective = 0; WeakDefDirective = 0; LinkOnceDirective = 0; - // FIXME: These are ELFish - move to ELFMAI. - HiddenDirective = "\t.hidden\t"; - ProtectedDirective = "\t.protected\t"; + HiddenVisibilityAttr = MCSA_Hidden; + ProtectedVisibilityAttr = MCSA_Protected; AbsoluteDebugSectionOffsets = false; AbsoluteEHSectionOffsets = false; HasLEB128 = false; |

