1 ; RUN: llc -mtriple powerpc-ibm-aix-xcoff < %s | FileCheck %s
2 ; RUN: llc -mtriple powerpc64-ibm-aix-xcoff < %s | FileCheck %s
4 @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @foo, i8* null }]
6 define internal void @foo() {
10 ; FIXME: Adjust the comment after we use source file full path to generate unique
12 ; Use the Pid and timestamp to generate a unique module id when strong external
13 ; symbols are not available in current module. The module id generated in this
14 ; way is not reproducible. A function name sample would be:
15 ; __sinit80000000_clangPidTime_119189_1597348415_0
17 ; CHECK: .lglobl foo[DS]
19 ; CHECK: .csect foo[DS]
20 ; CHECK-NEXT: __sinit80000000_clangPidTime_[[PID:[0-9]+]]_[[TIMESTAMP:[0-9]+]]_0:
22 ; CHECK-NEXT: .__sinit80000000_clangPidTime_[[PID]]_[[TIMESTAMP]]_0:
23 ; CHECK: .globl __sinit80000000_clangPidTime_[[PID]]_[[TIMESTAMP]]_0
24 ; CHECK: .globl .__sinit80000000_clangPidTime_[[PID]]_[[TIMESTAMP]]_0