diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2019-11-18 13:07:35 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2019-11-18 13:07:35 +0000 |
commit | dbb64b39b8bc137bb88b9f847ab8adf25a8c8583 (patch) | |
tree | f3e197ed5be621da852e436855ad5865012394b8 /llvm/test/Object | |
parent | 1ce5fcda17e6683bcbec8585349afcad02a9c98a (diff) | |
download | bcm5719-llvm-dbb64b39b8bc137bb88b9f847ab8adf25a8c8583.tar.gz bcm5719-llvm-dbb64b39b8bc137bb88b9f847ab8adf25a8c8583.zip |
Fix a print error found while testing llvm-objcopy
A value was not printed as hex. This updates the output and test cases.
Diffstat (limited to 'llvm/test/Object')
-rw-r--r-- | llvm/test/Object/invalid.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Object/invalid.test b/llvm/test/Object/invalid.test index ab498f237c9..254b8f43e7b 100644 --- a/llvm/test/Object/invalid.test +++ b/llvm/test/Object/invalid.test @@ -41,7 +41,7 @@ Sections: # RUN: not llvm-objdump -s %p/Inputs/invalid-strtab-size.elf 2>&1 \ # RUN: | FileCheck %s -DFILE=%p/Inputs/invalid-strtab-size.elf --check-prefix=INVALID-STRTAB-SIZE -# INVALID-STRTAB-SIZE: error: '[[FILE]]': section [index 1] has a sh_offset (0x70) + sh_size (0x16777215) that cannot be represented +# INVALID-STRTAB-SIZE: error: '[[FILE]]': section [index 1] has a sh_offset (0x70) + sh_size (0xffffff) that cannot be represented ## Check that llvm-dwarfdump reports an error during relocation resolution ## when instead of expected SHT_RELA section it locates a section of a different type. @@ -282,7 +282,7 @@ Sections: # RUN: yaml2obj %s --docnum=14 -o %t14 # RUN: not llvm-readobj --symbols %t14 2>&1 | FileCheck -DFILE=%t14 --check-prefix=INVALID-SECTION-SIZE2 %s -# INVALID-SECTION-SIZE2: error: '[[FILE]]': section [index 1] has a sh_offset (0xffffffff) + sh_size (0x27) that cannot be represented +# INVALID-SECTION-SIZE2: error: '[[FILE]]': section [index 1] has a sh_offset (0xffffffff) + sh_size (0x1b) that cannot be represented --- !ELF FileHeader: |