mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 03:29:57 +00:00
3cb18346d7
Implement final argument precedence if multiple /debug arguments are passed on the command-line to match expected link.exe behavior. Support /debug:none and emit warning for /debug:fastlink with automatic fallback to /debug:full. Emit error if last /debug:option is unknown. Emit warning if last /debugtype:option is unknown. https://reviews.llvm.org/D50404 llvm-svn: 342894
7 lines
282 B
Plaintext
7 lines
282 B
Plaintext
# RUN: yaml2obj < %p/Inputs/pdb1.yaml > %t1.obj
|
|
# RUN: yaml2obj < %p/Inputs/pdb2.yaml > %t2.obj
|
|
# RUN: not lld-link /debug /debug:invalid /pdb:%t.pdb /dll /out:%t.dll /entry:main /nodefaultlib \
|
|
# RUN: %t1.obj %t2.obj 2>&1 | FileCheck %s
|
|
|
|
# CHECK: /debug: unknown option: invalid
|