xref: /llvm-project/llvm/test/DebugInfo/cross-cu-inlining.test (revision b10f112cf98e4836f3c6f32d84d83eb6b5de1c39)
1*b10f112cSJames HendersonRUN: llvm-symbolizer --obj=%p/Inputs/cross-cu-inlining.x86_64-macho.o 0x17 | FileCheck %s
2*b10f112cSJames Henderson
3*b10f112cSJames Henderson; func has been inlined into main by LTO. Check that the symbolizer is able
4*b10f112cSJames Henderson; to resolve the cross-cu reference and retrieve func's name
5*b10f112cSJames HendersonCHECK: func
6*b10f112cSJames HendersonCHECK-NEXT: /tmp{{[/\\]}}cross-cu-inlining.c:16:3
7*b10f112cSJames HendersonCHECK-NEXT: main
8*b10f112cSJames HendersonCHECK-NEXT: /tmp{{[/\\]}}cross-cu-inlining.c:11:0
9