mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 02:47:10 +00:00
[yaml2obj][tests] Replace 8-byte od
conversion with 1-byte conversion
Summary: `od` on AIX does not seem to implement 8-byte integer conversions. Work around this by using 1-byte conversions, which can be used in this case since the value is byte-order insensitive. Reviewers: grimar, daltenty, xingxue, jasonliu, MaskRay Reviewed By: grimar, MaskRay Subscribers: MaskRay, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65671 llvm-svn: 367760
This commit is contained in:
parent
fcb6123d05
commit
43e60ba8c3
@ -73,8 +73,8 @@ Sections:
|
||||
|
||||
# RUN: yaml2obj --docnum=2 %s -o %t2
|
||||
# RUN: yaml2obj --docnum=3 %s -o %t3
|
||||
# RUN: od -t x8 -v %t2 > %t.txt
|
||||
# RUN: od -t x8 -v %t3 >> %t.txt
|
||||
# RUN: od -t x1 -v %t2 > %t.txt
|
||||
# RUN: od -t x1 -v %t3 >> %t.txt
|
||||
# RUN: FileCheck %s --input-file=%t.txt --check-prefix=CASE2
|
||||
|
||||
# CASE2: [[OFFSET:.*]] fe fe fe fe fe fe fe fe
|
||||
|
@ -72,8 +72,8 @@ Sections:
|
||||
|
||||
# RUN: yaml2obj --docnum=2 %s -o %t2
|
||||
# RUN: yaml2obj --docnum=3 %s -o %t3
|
||||
# RUN: od -t x8 -v %t2 > %t.txt
|
||||
# RUN: od -t x8 -v %t3 >> %t.txt
|
||||
# RUN: od -t x1 -v %t2 > %t.txt
|
||||
# RUN: od -t x1 -v %t3 >> %t.txt
|
||||
# RUN: FileCheck %s --input-file=%t.txt --check-prefix=CASE2
|
||||
|
||||
# CASE2: [[OFFSET:.*]] fe fe fe fe fe fe fe fe
|
||||
|
Loading…
x
Reference in New Issue
Block a user