You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
812 B
20 lines
812 B
4 months ago
|
RUN: llvm-rtdyld -printline %p/Inputs/test-inline.o \
|
||
|
RUN: | FileCheck %s
|
||
|
RUN: llvm-rtdyld -printdebugline %p/Inputs/test-inline.o \
|
||
|
RUN: | FileCheck %s
|
||
|
RUN: llvm-rtdyld -printline %p/Inputs/test-parameters.o \
|
||
|
RUN: | FileCheck %s
|
||
|
RUN: llvm-rtdyld -printdebugline %p/Inputs/test-parameters.o \
|
||
|
RUN: | FileCheck %s
|
||
|
|
||
|
; This test verifies that relocations are correctly applied to the
|
||
|
; .debug_line section and exercises DIContext::getLineInfoForAddressRange().
|
||
|
|
||
|
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
|