Issue 131007
Summary ld.lld 20 on win32: error: unknown argument: --push-state
Labels lld
Assignees
Reporter jcelerier
    Hello,

easily reproducible in a MSYS2 shell or with the llvm-mingw toolchain:

```
$ ld.lld -m i386pep --subsystem windows --shared -Bdynamic -o score.dll foo.o --push-state --pop-state
lld: error: unknown argument: --push-state
lld: error: unknown argument: --pop-state
```

It worked fine with previous versions. push-state / pop-state was implemented here: https://github.com/llvm/llvm-project/commit/f75ea0b99580f3ffc7473f6703890181ad231b83 and `ld.lld --help` mentions the options.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to