forked from OSchip/llvm-project
20 lines
812 B
Plaintext
20 lines
812 B
Plaintext
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
|