diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-05-05 06:49:15 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-05-05 06:49:15 +0000 |
commit | 087aad44cb37b361e8ed84f197138b366c764f9a (patch) | |
tree | 49eaa33acce1d2ec7231015e03b37456ab6ecb9a /lib/CodeGen/AsmPrinter/DwarfTableException.cpp | |
parent | 81937619b5da7271bdc90d47a11a6b463cbe54f0 (diff) |
Remove a flag that would set the ".eh" symbol as .globl. MachO was the only one
who used this flag, and it now emits CFI and doesn't emit this anymore. All
other targets left this flag "false".
<rdar://problem/8486371>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfTableException.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfTableException.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfTableException.cpp b/lib/CodeGen/AsmPrinter/DwarfTableException.cpp index b50d8bd3ce..8f5ab3abf7 100644 --- a/lib/CodeGen/AsmPrinter/DwarfTableException.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfTableException.cpp @@ -172,11 +172,6 @@ void DwarfTableException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) { Asm->OutStreamer.SwitchSection(TLOF.getEHFrameSection()); - // Externally visible entry into the functions eh frame info. If the - // corresponding function is static, this should not be externally visible. - if (!TheFunc->hasLocalLinkage() && TLOF.isFunctionEHSymbolGlobal()) - Asm->OutStreamer.EmitSymbolAttribute(EHFrameInfo.FunctionEHSym,MCSA_Global); - // If corresponding function is weak definition, this should be too. if (TheFunc->isWeakForLinker() && Asm->MAI->getWeakDefDirective()) Asm->OutStreamer.EmitSymbolAttribute(EHFrameInfo.FunctionEHSym, |