blob: 44d91a259bbf8308e54de16b41b7e568a4c2cf43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// REQUIRES: python27
// ppc64 was compiled from this source on a big-endian 64-bit PowerPC box
// with just "clang -nostdlib":
int foo() { return 0; }
int bar() { return foo(); }
int _start() { return bar(); }
RUN: %python -c "print('0x1000014c\n0x1000018c\n0x100001cc')" | llvm-symbolizer -obj=%p/Inputs/ppc64 | FileCheck %s
CHECK: foo
CHECK: bar
CHECK: _start
|