From fbc9a2e33b787b63c40f33d9a89480e45d1b5022 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Mon, 24 Aug 2009 17:51:19 +0000 Subject: [PATCH] Split test into 3. llvm-svn: 79926 --- llvm/test/CodeGen/ARM/2009-08-23-linkerprivate.ll | 8 ++++++++ .../{Generic => PowerPC}/2009-08-23-linkerprivate.ll | 2 -- llvm/test/CodeGen/X86/2009-08-23-linkerprivate.ll | 8 ++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 llvm/test/CodeGen/ARM/2009-08-23-linkerprivate.ll rename llvm/test/CodeGen/{Generic => PowerPC}/2009-08-23-linkerprivate.ll (72%) create mode 100644 llvm/test/CodeGen/X86/2009-08-23-linkerprivate.ll diff --git a/llvm/test/CodeGen/ARM/2009-08-23-linkerprivate.ll b/llvm/test/CodeGen/ARM/2009-08-23-linkerprivate.ll new file mode 100644 index 000000000000..93fb151ca259 --- /dev/null +++ b/llvm/test/CodeGen/ARM/2009-08-23-linkerprivate.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-apple-darwin | FileCheck %s + +; ModuleID = '/Volumes/MacOS9/tests/WebKit/JavaScriptCore/profiler/ProfilerServer.mm' + +@"\01l_objc_msgSend_fixup_alloc" = linker_private hidden global i32 0, section "__DATA, __objc_msgrefs, coalesced", align 16 ; [#uses=0] + +; CHECK: .globl l_objc_msgSend_fixup_alloc +; CHECK: .weak_definition l_objc_msgSend_fixup_alloc diff --git a/llvm/test/CodeGen/Generic/2009-08-23-linkerprivate.ll b/llvm/test/CodeGen/PowerPC/2009-08-23-linkerprivate.ll similarity index 72% rename from llvm/test/CodeGen/Generic/2009-08-23-linkerprivate.ll rename to llvm/test/CodeGen/PowerPC/2009-08-23-linkerprivate.ll index b4150de7d1f1..6fe33e89ce2f 100644 --- a/llvm/test/CodeGen/Generic/2009-08-23-linkerprivate.ll +++ b/llvm/test/CodeGen/PowerPC/2009-08-23-linkerprivate.ll @@ -1,6 +1,4 @@ -; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-apple-darwin | FileCheck %s ; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=ppc-apple-darwin | FileCheck %s -; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-apple-darwin | FileCheck %s ; ModuleID = '/Volumes/MacOS9/tests/WebKit/JavaScriptCore/profiler/ProfilerServer.mm' diff --git a/llvm/test/CodeGen/X86/2009-08-23-linkerprivate.ll b/llvm/test/CodeGen/X86/2009-08-23-linkerprivate.ll new file mode 100644 index 000000000000..615c9633d898 --- /dev/null +++ b/llvm/test/CodeGen/X86/2009-08-23-linkerprivate.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86 -mtriple=i686-apple-darwin | FileCheck %s + +; ModuleID = '/Volumes/MacOS9/tests/WebKit/JavaScriptCore/profiler/ProfilerServer.mm' + +@"\01l_objc_msgSend_fixup_alloc" = linker_private hidden global i32 0, section "__DATA, __objc_msgrefs, coalesced", align 16 ; [#uses=0] + +; CHECK: .globl l_objc_msgSend_fixup_alloc +; CHECK: .weak_definition l_objc_msgSend_fixup_alloc