summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-19 16:04:24 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-19 16:04:24 +0000
commit1f6ddfb6a359e8459d2fae8d7a908de03a727c05 (patch)
tree2ce53fb5424213af3396007849546c50ed37fe80 /llvm/lib/Target/TargetMachine.cpp
parente9983eed5ad3238820d80904577a29212fcd4ab8 (diff)
downloadbcm5719-llvm-1f6ddfb6a359e8459d2fae8d7a908de03a727c05.tar.gz
bcm5719-llvm-1f6ddfb6a359e8459d2fae8d7a908de03a727c05.zip
[NFC][llvm-objcopy] Fix overly restrictive od output check
The check against the output of `od` in the affected tests expect a specific input offset format. They also expect a specific offset value, not consistent with the EXAMPLE section for `od` in POSIX.1-2017 Chapter 4, while using the `-j` option. In particular, the example shows that the input offset begins at 0 following the bytes skipped. This patch adjusts the matching of the input offset to be more generic. In order to avoid false matches, it restricts the number of bytes to be formatted. llvm-svn: 363829
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud