Home
last modified time | relevance | path

Searched refs:swaprun (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/lld/test/COFF/
Doptions.test63 # RUN: lld-link /out:%t.exe /entry:main /swaprun:CD %t.obj
65 # RUN: lld-link /out:%t.exe /entry:main /swaprun:cd,net %t.obj
73 # RUN: lld-link /out:%t.exe /entry:main /swaprun:NeT %t.obj
75 # RUN: lld-link /out:%t.exe /entry:main /swaprun:net,cd,cd,net %t.obj
83 # RUN: not lld-link /out:%t.exe /entry:main /swaprun: %t.obj 2>&1 | \
85 # RUN: not lld-link /out:%t.exe /entry:main /swaprun:cd, %t.obj 2>&1 | \
87 # RUN: not lld-link /out:%t.exe /entry:main /swaprun:,, %t.obj 2>&1 | \
89 # RUN: not lld-link /out:%t.exe /entry:main /swaprun:,cd %t.obj 2>&1 | \
91 SWAPERR1: /swaprun: missing argument
93 # RUN: not lld-link /out:%t.exe /entry:main /swaprun:foo %t.obj 2>&1 | \
[all …]
/external/llvm-project/lld/COFF/
DOptions.td142 def swaprun : P<"swaprun",
144 def swaprun_cd : F<"swaprun:cd">, Alias<swaprun>, AliasArgs<["cd"]>,
146 def swaprun_net : F<"swaprun:net">, Alias<swaprun>, AliasArgs<["net"]>,
DDriverUtils.cpp300 StringRef swaprun, newArg; in parseSwaprun() local
301 std::tie(swaprun, newArg) = arg.split(','); in parseSwaprun()
302 if (swaprun.equals_lower("cd")) in parseSwaprun()
304 else if (swaprun.equals_lower("net")) in parseSwaprun()
306 else if (swaprun.empty()) in parseSwaprun()
309 error("/swaprun: invalid argument: " + swaprun); in parseSwaprun()