llvm.org GIT mirror llvm / c0f00a9 test / tools / llvm-symbolizer / ppc64.test
c0f00a9

Tree @c0f00a9 (Download .tar.gz)

ppc64.test @c0f00a9raw · history · blame

// 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