diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-23 15:13:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-23 15:13:23 +0000 |
commit | a1180834422617404474c8c67d3565fa1994f64c (patch) | |
tree | 5457504b62f8719c76181ae429dc9290b9020b32 /test/MC | |
parent | 0de4a6b17d9e71d35f32927f029ed2e2d75b8738 (diff) | |
download | llvm-a1180834422617404474c8c67d3565fa1994f64c.tar.gz llvm-a1180834422617404474c8c67d3565fa1994f64c.tar.bz2 llvm-a1180834422617404474c8c67d3565fa1994f64c.tar.xz |
Stop producing func.eh symbols on Darwin.
According Nick Kledzik (http://llvm.org/bugs/show_bug.cgi?id=19430#c2):
"... mach-o no longer needs names in the __eh_frame section (and has not for
years)."
Iain Sandoe confirms it is also unnecessary for their old darwin support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/MachO/eh-frame-reloc.s | 2 | ||||
-rw-r--r-- | test/MC/MachO/eh-symbols.s | 25 |
2 files changed, 1 insertions, 26 deletions
diff --git a/test/MC/MachO/eh-frame-reloc.s b/test/MC/MachO/eh-frame-reloc.s index 66ff571eac..4b2822404d 100644 --- a/test/MC/MachO/eh-frame-reloc.s +++ b/test/MC/MachO/eh-frame-reloc.s @@ -24,7 +24,7 @@ _bar: // OLD64: Relocations [ // OLD64-NEXT: Section __eh_frame { -// OLD64-NEXT: 0x20 0 3 1 X86_64_RELOC_SUBTRACTOR 0 _bar.eh +// OLD64-NEXT: 0x20 0 3 0 X86_64_RELOC_SUBTRACTOR 0 // OLD64-NEXT: 0x20 0 3 1 X86_64_RELOC_UNSIGNED 0 _bar // OLD64-NEXT: } // OLD64-NEXT: ] diff --git a/test/MC/MachO/eh-symbols.s b/test/MC/MachO/eh-symbols.s deleted file mode 100644 index 6adca56cdb..0000000000 --- a/test/MC/MachO/eh-symbols.s +++ /dev/null @@ -1,25 +0,0 @@ -// RUN: llvm-mc -filetype=obj -triple i686-apple-darwin %s -o - | llvm-readobj -t | FileCheck %s - -// Make sure that the exception handling data has the same visibility as the -// function it's generated for. - - .private_extern _main - .globl _main -_main: - .cfi_startproc - retl - .cfi_endproc - -"_-[NSString(local) isNullOrNil]": - .cfi_startproc - retl - .cfi_endproc - -// CHECK: Name: _-[NSString(local) isNullOrNil].eh - -// CHECK: Name: _main -// CHECK-NEXT: PrivateExtern - -// CHECK: Name: _main.eh -// CHECK-NEXT: PrivateExtern - |