Andrew Kaylor | ee7c0d2 | 2013-01-25 22:50:58 +0000 | [diff] [blame] | 1 | RUN: llvm-rtdyld -printline %p/Inputs/test-inline.o \ |
| 2 | RUN: | 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. |
| 8 | TEST_INLINE: Function: _Z15test_parametersPfPA2_dR11char_structPPitm, Size = 170 |
| 9 | TEST_INLINE-NEXT: Line info:test-inline.cpp, line:33 |
| 10 | TEST_INLINE-NEXT: Function: _Z3foov, Size = 3 |
| 11 | TEST_INLINE-NEXT: Line info:test-inline.cpp, line:28 |
| 12 | TEST_INLINE-NEXT: Function: main, Size = 146 |
| 13 | TEST_INLINE-NEXT: Line info:test-inline.cpp, line:39 |
| 14 | |
| 15 | |