blob: e926634d52f6e363940ca1363f2e1db4418279e6 [file] [log] [blame]
Alexey Samsonovf64edf82013-02-08 14:34:33 +00001RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x710 \
Alexey Samsonov5eae90d2012-09-04 08:12:33 +00002RUN: --inlining --functions | FileCheck %s -check-prefix DEEP_STACK
Alexey Samsonovf64edf82013-02-08 14:34:33 +00003RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x7d1 \
Alexey Samsonov5eae90d2012-09-04 08:12:33 +00004RUN: --inlining | FileCheck %s -check-prefix SHORTER_STACK
Alexey Samsonovf64edf82013-02-08 14:34:33 +00005RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x785 \
Alexey Samsonov5eae90d2012-09-04 08:12:33 +00006RUN: --inlining | FileCheck %s -check-prefix SHORT_STACK
Alexey Samsonovf64edf82013-02-08 14:34:33 +00007RUN: llvm-dwarfdump %p/Inputs/dwarfdump-inl-test.elf-x86-64 --address=0x737 \
Alexey Samsonov5eae90d2012-09-04 08:12:33 +00008RUN: --functions | FileCheck %s -check-prefix INL_FUNC_NAME
9
10DEEP_STACK: inlined_h
Alexey Samsonovf64edf82013-02-08 14:34:33 +000011DEEP_STACK-NEXT: dwarfdump-inl-test.h:2
Alexey Samsonov5eae90d2012-09-04 08:12:33 +000012DEEP_STACK-NEXT: inlined_g
Alexey Samsonovf64edf82013-02-08 14:34:33 +000013DEEP_STACK-NEXT: dwarfdump-inl-test.h:7
Alexey Samsonov5eae90d2012-09-04 08:12:33 +000014DEEP_STACK-NEXT: inlined_f
Alexey Samsonovf64edf82013-02-08 14:34:33 +000015DEEP_STACK-NEXT: dwarfdump-inl-test.cc:3
Alexey Samsonov5eae90d2012-09-04 08:12:33 +000016DEEP_STACK-NEXT: main
Alexey Samsonovf64edf82013-02-08 14:34:33 +000017DEEP_STACK-NEXT: dwarfdump-inl-test.cc:8
Alexey Samsonov5eae90d2012-09-04 08:12:33 +000018
Alexey Samsonovf64edf82013-02-08 14:34:33 +000019SHORTER_STACK: dwarfdump-inl-test.h:7
20SHORTER_STACK-NEXT: dwarfdump-inl-test.cc:3
21SHORTER_STACK-NEXT: dwarfdump-inl-test.cc:8
Alexey Samsonov5eae90d2012-09-04 08:12:33 +000022
Alexey Samsonovf64edf82013-02-08 14:34:33 +000023SHORT_STACK: dwarfdump-inl-test.cc:3
24SHORT_STACK-NEXT: dwarfdump-inl-test.cc:8
Alexey Samsonov5eae90d2012-09-04 08:12:33 +000025
26INL_FUNC_NAME: inlined_g
Alexey Samsonovf64edf82013-02-08 14:34:33 +000027INL_FUNC_NAME-NEXT: dwarfdump-inl-test.h:7
Alexey Samsonov5eae90d2012-09-04 08:12:33 +000028