1 ## Check that objdump doesn't print relocations in non-relocatable object files.
3 # RUN: yaml2obj --docnum=1 %s -o %t1
4 # RUN: llvm-objdump -r %t1 | FileCheck %s -DFILE=%t1 --check-prefix=FMT --implicit-check-not={{.}}
5 # RUN: yaml2obj --docnum=2 %s -o %t2
6 # RUN: llvm-objdump -r %t2 | FileCheck %s -DFILE=%t2 --check-prefix=FMT --implicit-check-not={{.}}
7 # RUN: yaml2obj --docnum=3 %s -o %t3
8 # RUN: llvm-objdump -r %t3 | FileCheck %s -DFILE=%t3 --check-prefixes=FMT,REL --implicit-check-not={{.}}
10 # FMT: [[FILE]]: file format ELF64-x86-64
12 # REL: RELOCATION RECORDS FOR []:
13 # REL-NEXT: 0000000000000123 R_X86_64_NONE *ABS*+321