[COFF][test] Fix llvm-readobj tests

This commit is contained in:
Fangrui Song 2021-07-16 13:28:46 -07:00
parent df1c3aaa17
commit fa3231eb18
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# REQUIRES: x86
# RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj
# RUN: lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe
# RUN: llvm-readobj %t.exe -sections -section-data | FileCheck %s
# RUN: llvm-readobj %t.exe --sections --section-data | FileCheck %s
# Section relocations against absolute symbols resolve to the last real output
# section index plus one.

View File

@ -1,7 +1,7 @@
# REQUIRES: x86
# RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj
# RUN: lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe
# RUN: llvm-readobj %t.exe -sections -section-data | FileCheck %s
# RUN: llvm-readobj %t.exe --sections --section-data | FileCheck %s
# Section relocations against common symbols resolve to .bss (merged into .data).