compnerd wrote:

Pushing this into CMake feels like the right thing IMO. I think that we should 
be able to do something more aggressive if we want. We could query the 
`IMPORTED_LIBNAME` property on the runtime target, and then use 
`get_filename_component` to get the basename and pass that value to the 
executable. This gives us the most pristine information directly from CMake 
allowing the user to configure things as appropriate. If that is too 
aggressive, we can also use the `IMPORTED_LIBRARY_LOCATION` as the value 
(technically, `IMPORTED_LIBNAME` _could_ be a linker option).

https://github.com/llvm/llvm-project/pull/164893
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to