blob: 1b8da86f6d3cb7ac5fc0148d4803a7a1ef1be791 [file] [log] [blame]
David Blaikie683b0c52018-02-09 03:34:32 +00001RUN: rm -rf %t && mkdir -p %t
2RUN: cd %t
3RUN: cp %p/Inputs/split-dwarf-no-skel-address.dwo %t
4RUN: echo "%p/Inputs/split-dwarf-no-skel-address.o 0x4" > %t.input
5
6RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \
7RUN: --default-arch=i386 < %t.input | FileCheck %s
8
9Built from the following source:
10void f1();
11__attribute__((always_inline)) inline void f2() { f1(); }
12void f3() { f2(); }
13
14Compiled to assembly with clang, modified the skeleton CU to remove the
15high/low pc (& update the CU length field and abbrev to match) & then
16compile/objcopy to make the .o and .dwo.
17
David Blaikie1e919432018-12-21 22:25:01 +000018Ensure that the f2 inlined frame is not included - it's inefficient to have to
19go and load all the debug info and search for the address ranges, so assume
20that a lack of ranges on the CU means the CU covers no addresses.
21
22CHECK-NOT: _Z2f2v