1 ## Show that yaml2obj rejects a symbol reference from a relocation if the symbol
4 # RUN: not yaml2obj %s -o %t 2>&1 | FileCheck %s
5 # RUN: not yaml2obj -DTYPE=SHT_CREL %s -o %t 2>&1 | FileCheck %s
7 ## Check we are able to report multiple errors.
9 # CHECK: error: unknown symbol referenced: 'does_not_exist1' by YAML section '.rela.text'
10 # CHECK: error: unknown symbol referenced: 'does_not_exist2' by YAML section '.rela.text'
22 Type: [[TYPE=SHT_RELA]]
27 Symbol: does_not_exist1
29 Symbol: does_not_exist2