diff options
author | Dale Johannesen <dalej@apple.com> | 2007-11-20 23:24:42 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-11-20 23:24:42 +0000 |
commit | fb3ac73f59c764be9020fbed2e179785a5902b53 (patch) | |
tree | 3b4219df7dc1a3f5ad1a224236a22e8e73431b62 /lib/Target/X86/X86TargetAsmInfo.cpp | |
parent | f7a6aff1d45f5e25fac5e3319f8728ad8e5b1032 (diff) | |
download | external_llvm-fb3ac73f59c764be9020fbed2e179785a5902b53.zip external_llvm-fb3ac73f59c764be9020fbed2e179785a5902b53.tar.gz external_llvm-fb3ac73f59c764be9020fbed2e179785a5902b53.tar.bz2 |
Fix .eh table linkage issues on Darwin. Some EH support
for Darwin PPC, but it's not fully working yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetAsmInfo.cpp')
-rw-r--r-- | lib/Target/X86/X86TargetAsmInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index 05cf2bf..44c1432 100644 --- a/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/lib/Target/X86/X86TargetAsmInfo.cpp @@ -76,6 +76,7 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) { SetDirective = "\t.set"; PCSymbol = "."; UsedDirective = "\t.no_dead_strip\t"; + WeakDefDirective = "\t.weak_definition\t"; WeakRefDirective = "\t.weak_reference\t"; HiddenDirective = "\t.private_extern\t"; @@ -92,6 +93,7 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) { DwarfInfoSection = ".section __DWARF,__debug_info,regular,debug"; DwarfLineSection = ".section __DWARF,__debug_line,regular,debug"; DwarfFrameSection = ".section __DWARF,__debug_frame,regular,debug"; + GlobalEHDirective = "\t.globl\t"; DwarfPubNamesSection = ".section __DWARF,__debug_pubnames,regular,debug"; DwarfPubTypesSection = ".section __DWARF,__debug_pubtypes,regular,debug"; DwarfStrSection = ".section __DWARF,__debug_str,regular,debug"; |