llvm-6502/test/tools/llvm-symbolizer/ppc64.test

12 lines
343 B
Plaintext

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