blob: 78de390a8b183712d087c43bd3dd0cc163f01db6 [file] [log] [blame]
Andrew Kayloree7c0d22013-01-25 22:50:58 +00001RUN: llvm-rtdyld -printline %p/Inputs/test-inline.o \
2RUN: | FileCheck %s -check-prefix TEST_INLINE
3
4; This test verifies that relocations are correctly applied to the
5; .debug_line section. If relocations are not applied the first two
6; functions will be reported as both starting at address zero in the
7; line number table.
8TEST_INLINE: Function: _Z15test_parametersPfPA2_dR11char_structPPitm, Size = 170
9TEST_INLINE-NEXT: Line info:test-inline.cpp, line:33
10TEST_INLINE-NEXT: Function: _Z3foov, Size = 3
11TEST_INLINE-NEXT: Line info:test-inline.cpp, line:28
12TEST_INLINE-NEXT: Function: main, Size = 146
13TEST_INLINE-NEXT: Line info:test-inline.cpp, line:39
14
15