mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
fd2279a200
This is the second of a series of patches simplifying llvm-symbolizer tests. See r352752 for the first. This one splits out 5 distinct test cases from llvm-symbolizer.test into separate tests, and simplifies them slightly by using --obj/positional arguments for the input file and addresses instead of stdin. See https://bugs.llvm.org/show_bug.cgi?id=40070#c1 for the motivation. Reviewed by: dblaikie Differential Revision: https://reviews.llvm.org/D57443 llvm-svn: 352753
9 lines
357 B
Plaintext
9 lines
357 B
Plaintext
RUN: llvm-symbolizer --obj=%p/Inputs/cross-cu-inlining.x86_64-macho.o 0x17 | FileCheck %s
|
|
|
|
; func has been inlined into main by LTO. Check that the symbolizer is able
|
|
; to resolve the cross-cu reference and retrieve func's name
|
|
CHECK: func
|
|
CHECK-NEXT: /tmp{{[/\\]}}cross-cu-inlining.c:16:3
|
|
CHECK-NEXT: main
|
|
CHECK-NEXT: /tmp{{[/\\]}}cross-cu-inlining.c:11:0
|