2013-02-08 15:34:33 +01:00
|
|
|
RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x710 \
|
2012-09-04 10:12:33 +02:00
|
|
|
RUN: --inlining --functions | FileCheck %s -check-prefix DEEP_STACK
|
2013-02-08 15:34:33 +01:00
|
|
|
RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x7d1 \
|
2012-09-04 10:12:33 +02:00
|
|
|
RUN: --inlining | FileCheck %s -check-prefix SHORTER_STACK
|
2013-02-08 15:34:33 +01:00
|
|
|
RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x785 \
|
2012-09-04 10:12:33 +02:00
|
|
|
RUN: --inlining | FileCheck %s -check-prefix SHORT_STACK
|
2013-02-08 15:34:33 +01:00
|
|
|
RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x737 \
|
2012-09-04 10:12:33 +02:00
|
|
|
RUN: --functions | FileCheck %s -check-prefix INL_FUNC_NAME
|
|
|
|
|
|
|
|
DEEP_STACK: inlined_h
|
2013-02-08 15:34:33 +01:00
|
|
|
DEEP_STACK-NEXT: dwarfdump-inl-test.h:2
|
2012-09-04 10:12:33 +02:00
|
|
|
DEEP_STACK-NEXT: inlined_g
|
2013-02-08 15:34:33 +01:00
|
|
|
DEEP_STACK-NEXT: dwarfdump-inl-test.h:7
|
2012-09-04 10:12:33 +02:00
|
|
|
DEEP_STACK-NEXT: inlined_f
|
2013-02-08 15:34:33 +01:00
|
|
|
DEEP_STACK-NEXT: dwarfdump-inl-test.cc:3
|
2012-09-04 10:12:33 +02:00
|
|
|
DEEP_STACK-NEXT: main
|
2013-02-08 15:34:33 +01:00
|
|
|
DEEP_STACK-NEXT: dwarfdump-inl-test.cc:8
|
2012-09-04 10:12:33 +02:00
|
|
|
|
2013-02-08 15:34:33 +01:00
|
|
|
SHORTER_STACK: dwarfdump-inl-test.h:7
|
|
|
|
SHORTER_STACK-NEXT: dwarfdump-inl-test.cc:3
|
|
|
|
SHORTER_STACK-NEXT: dwarfdump-inl-test.cc:8
|
2012-09-04 10:12:33 +02:00
|
|
|
|
2013-02-08 15:34:33 +01:00
|
|
|
SHORT_STACK: dwarfdump-inl-test.cc:3
|
|
|
|
SHORT_STACK-NEXT: dwarfdump-inl-test.cc:8
|
2012-09-04 10:12:33 +02:00
|
|
|
|
|
|
|
INL_FUNC_NAME: inlined_g
|
2013-02-08 15:34:33 +01:00
|
|
|
INL_FUNC_NAME-NEXT: dwarfdump-inl-test.h:7
|
2012-09-04 10:12:33 +02:00
|
|
|
|