Skip to content

Commit

Permalink
[llvm-objdump] add more constraints for tests
Browse files Browse the repository at this point in the history
Patch by Higuoxing (Xing)

Reviewers: jhenderson

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D54299

llvm-svn: 346636
  • Loading branch information
MaskRay committed Nov 12, 2018
1 parent ca71cc9 commit 5014540
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions llvm/test/tools/llvm-objdump/relocations-elf.test
@@ -1,6 +1,8 @@
# RUN: yaml2obj %s > %t
# RUN: llvm-objdump --reloc %t | FileCheck %s
# RUN: llvm-objdump -r %t | FileCheck %s
# RUN: llvm-objdump --reloc %t > %t1
# RUN: llvm-objdump -r %t > %t2
# RUN: cmp %t1 %t2
# RUN: FileCheck %s --input-file=%t1

# CHECK: RELOCATION RECORDS FOR [.rel.text]:
# CHECK: 0000000000000001 R_X86_64_32 glob1
Expand Down
6 changes: 4 additions & 2 deletions llvm/test/tools/llvm-objdump/symbol-table-elf.test
@@ -1,6 +1,8 @@
# RUN: yaml2obj %s > %t
# RUN: llvm-objdump --syms %t | FileCheck %s
# RUN: llvm-objdump -t %t | FileCheck %s
# RUN: llvm-objdump --syms %t > %t1
# RUN: llvm-objdump -t %t > %t2
# RUN: cmp %t1 %t2
# RUN: FileCheck %s --input-file=%t1

# CHECK: SYMBOL TABLE:
# CHECK-NEXT: 0000000000000000 *UND* 00000000
Expand Down

0 comments on commit 5014540

Please sign in to comment.