1 RUN: llvm-rtdyld -printline %p/Inputs/test-inline.o \
3 RUN: llvm-rtdyld -printdebugline %p/Inputs/test-inline.o \
5 RUN: llvm-rtdyld -printline %p/Inputs/test-parameters.o \
7 RUN: llvm-rtdyld -printdebugline %p/Inputs/test-parameters.o \
10 ; This test verifies that relocations are correctly applied to the
11 ; .debug_line section and exercises DIContext::getLineInfoForAddressRange().
13 CHECK: Function: _Z2f1v, Size = 6
14 CHECK-NEXT: Line info @ 0: test-inline.cpp, line:1
15 CHECK-NEXT: Line info @ 4: test-inline.cpp, line:1
16 CHECK-NEXT: Function: _Z2f2v, Size = 11
17 CHECK-NEXT: Line info @ 0: test-inline.cpp, line:2
18 CHECK-NEXT: Line info @ 4: test-inline.cpp, line:2
19 CHECK-NEXT: Line info @ 9: test-inline.cpp, line:2