brintos

brintos / llvm-project-archived public Read only

0
0
Text · 920 B · 2559d99 Raw
32 lines · plain
1## Test dumping dynamic symbols reports a warning if the operation is unsupported for the file format.2# RUN: yaml2obj %s --docnum=1 -o %t.macho.o3# RUN: llvm-objdump --dynamic-syms %t.macho.o 2>&1 | \4# RUN:   FileCheck %s5# RUN: yaml2obj %s --docnum=2 -o %t.coff.o6# RUN: llvm-objdump --dynamic-syms %t.coff.o 2>&1 | \7# RUN:   FileCheck %s8# RUN: llvm-objdump --dynamic-syms %p/XCOFF/Inputs/xcoff-section-headers.o 2>&1 | \9# RUN:   FileCheck %s10 11#       CHECK:DYNAMIC SYMBOL TABLE:12#  CHECK-NEXT: warning: {{.*}}: this operation is not currently supported for this file format13# CHECK-EMPTY:14 15--- !mach-o16FileHeader:      17  magic:      0xFEEDFACF18  cputype:    0x0100000719  cpusubtype: 0x8000000320  filetype:   0x0000000221  ncmds:      022  sizeofcmds: 023  flags:      0x0021808524  reserved:   0x0000000025 26--- !COFF27header:28  Machine:         IMAGE_FILE_MACHINE_AMD6429  Characteristics: []30sections: []31symbols:  []32