Errors in .drectve section were silently ignored. This patch fixes the issue. llvm-svn: 194110
7 lines
218 B
Plaintext
7 lines
218 B
Plaintext
# RUN: yaml2obj %p/Inputs/unknown-drectve.obj.yaml > %t.obj
|
|
#
|
|
# RUN: not lld -flavor link /out:%t.exe -- %t.obj >& %t.log
|
|
# RUN: FileCheck -check-prefix=ERROR %s < %t.log
|
|
|
|
ERROR: Failed to parse '/nosuchoption:foobar'
|