mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
db152a3d56
This change migrates most llvm-symbolizer tests away from reading input via stdin and instead using --obj + positional arguments for the file and addresses respectively, which makes the tests easier to read. One exception is the test test/tools/llvm-symbolizer/pdb/pdb.test, which was doing some manipulation on the input addresses. This patch simplifies this somewhat, but it still reads from stdin. More changes to follow to simplify/break-up other tests. Reviewed by: dblaikie Differential Revision: https://reviews.llvm.org/D57441 llvm-svn: 352752
12 lines
317 B
Plaintext
12 lines
317 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: llvm-symbolizer 0x1000014c 0x1000018c 0x100001cc -obj=%p/Inputs/ppc64 | FileCheck %s
|
|
|
|
CHECK: foo
|
|
CHECK: bar
|
|
CHECK: _start
|