brintos

brintos / llvm-project-archived public Read only

0
0
Text · 488 B · 04fa0f8 Raw
21 lines · plain
1# REQUIRES: x862## Test --emit-relocs handles .debug*3 4# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o5# RUN: ld.lld --emit-relocs %t.o -o %t6# RUN: llvm-readobj -r %t | FileCheck %s7# RUN: ld.lld --emit-relocs --strip-debug %t.o -o %t.no8# RUN: llvm-readobj -r %t.no | FileCheck --check-prefix=NO %s9 10# CHECK:      Section {{.*}} .rela.debug_info {11# CHECK-NEXT:   R_X86_64_64 .text 0x012# CHECK-NEXT: }13 14# NO:      Relocations [15# NO-NEXT: ]16 17foo:18 19.section .debug_info20.quad foo21