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