xref: /aosp_15_r20/external/llvm/test/tools/llvm-symbolizer/ppc64.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// ppc64 was compiled from this source on a big-endian 64-bit PowerPC box
2*9880d681SAndroid Build Coastguard Worker// with just "clang -nostdlib":
3*9880d681SAndroid Build Coastguard Workerint foo() { return 0; }
4*9880d681SAndroid Build Coastguard Workerint bar() { return foo(); }
5*9880d681SAndroid Build Coastguard Workerint _start() { return bar(); }
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard WorkerRUN: %python -c "print('0x1000014c\n0x1000018c\n0x100001cc')" | llvm-symbolizer -obj=%p/Inputs/ppc64 | FileCheck %s
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard WorkerCHECK: foo
10*9880d681SAndroid Build Coastguard WorkerCHECK: bar
11*9880d681SAndroid Build Coastguard WorkerCHECK: _start
12