[clang] [flang][Driver] Support -rpath, -shared, and -static in the frontend (PR #66702)

Tarun Prabhu via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 3 06:43:52 PDT 2023


tarunprabhu wrote:

Thanks @DavidTruby. 

For this particular patch, the main concern is how the compiler flags are mapped to the corresponding linker flags on Windows. All of that work is done by clang, and I haven't touched any of it so I am not worried about correctness. 

The two main concerns are:

1) What are the linker flags in Windows corresponding to -static and -shared on *nix. 
2) Do the checks in the test need to be expanded to account for different linkers on Windows.



https://github.com/llvm/llvm-project/pull/66702


More information about the cfe-commits mailing list