forked from OSchip/llvm-project
[LLD][ELF] - Added a test for "-image-base: number expected" message. NFC.
We had no such test. llvm-svn: 347553
This commit is contained in:
parent
e9ab0d0650
commit
6bc22e1b8c
|
@ -3,6 +3,9 @@
|
|||
# RUN: ld.lld -image-base=0x1000000 %t -o %t1
|
||||
# RUN: llvm-readobj -program-headers %t1 | FileCheck %s
|
||||
|
||||
# RUN: not ld.lld -image-base=ABC %t -o %t1 2>&1 | FileCheck --check-prefix=ERR %s
|
||||
# ERR: error: -image-base: number expected, but got ABC
|
||||
|
||||
# RUN: ld.lld -image-base=0x1000 -z max-page-size=0x2000 %t -o %t1 2>&1 | FileCheck --check-prefix=WARN %s
|
||||
# WARN: warning: -image-base: address isn't multiple of page size: 0x1000
|
||||
|
||||
|
|
Loading…
Reference in New Issue