2013-01-26 06:50:58 +08:00
|
|
|
RUN: llvm-rtdyld -printline %p/Inputs/test-inline.o \
|
2018-12-22 06:25:01 +08:00
|
|
|
RUN: | FileCheck %s
|
2015-05-22 05:24:32 +08:00
|
|
|
RUN: llvm-rtdyld -printdebugline %p/Inputs/test-inline.o \
|
2018-12-22 06:25:01 +08:00
|
|
|
RUN: | FileCheck %s
|
2013-01-26 08:28:05 +08:00
|
|
|
RUN: llvm-rtdyld -printline %p/Inputs/test-parameters.o \
|
2018-12-22 06:25:01 +08:00
|
|
|
RUN: | FileCheck %s
|
2015-05-22 05:24:32 +08:00
|
|
|
RUN: llvm-rtdyld -printdebugline %p/Inputs/test-parameters.o \
|
2018-12-22 06:25:01 +08:00
|
|
|
RUN: | FileCheck %s
|
2013-01-26 06:50:58 +08:00
|
|
|
|
|
|
|
; This test verifies that relocations are correctly applied to the
|
2013-01-26 08:28:05 +08:00
|
|
|
; .debug_line section and exercises DIContext::getLineInfoForAddressRange().
|
2013-01-26 06:50:58 +08:00
|
|
|
|
2018-12-22 06:25:01 +08:00
|
|
|
CHECK: Function: _Z2f1v, Size = 6
|
|
|
|
CHECK-NEXT: Line info @ 0: test-inline.cpp, line:1
|
|
|
|
CHECK-NEXT: Line info @ 4: test-inline.cpp, line:1
|
|
|
|
CHECK-NEXT: Function: _Z2f2v, Size = 11
|
|
|
|
CHECK-NEXT: Line info @ 0: test-inline.cpp, line:2
|
|
|
|
CHECK-NEXT: Line info @ 4: test-inline.cpp, line:2
|
|
|
|
CHECK-NEXT: Line info @ 9: test-inline.cpp, line:2
|