Issue |
64297
|
Summary |
clang option -export-dynamic parse to -e xport-dynamic error
|
Labels |
new issue
|
Assignees |
|
Reporter |
hstk30
|
https://godbolt.org/z/jsTch9cqq
Compile command `clang -export-dynamic test.c` simply, but have a warning :
```
clang: warning: argument unused during compilation: '-e xport-dynamic' [-Wunused-command-line-argument]
```
It seem clang split option `-export-dynamic` into `-e xport-dynamic`.
It's dangerous if `-e xport-dynamic` is sent to `ld`, because of `-e` means
```
-e ADDRESS, --entry ADDRESS Set start address
```
I don't think it's reasonable to split option `-export-dynamic` into `-e xport-dynamic`.
I can't find the code that split the option, if someone knows , just tell me.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs