| Issue |
56059
|
| Summary |
[lld/macho] LLD should force-load with -ObjC when the library is passed via LC_LINKER_OPTION and explicitly
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
tapthaker
|
Assuming that `main.o` has an `LC_LINKER_OPTION: -lfoo` as a load command and the library foo is written in Objective-C.
Then the following command should import all `Objective-C` symbols in `libfoo.a`
```
lld main.o -ObjC -L <search-path> -lfoo -o main
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs