================
@@ -18,3 +18,38 @@
! MSVC-LINKER-OPTIONS: "{{.*}}link{{(.exe)?}}"
! MSVC-LINKER-OPTIONS-SAME: "-dll"
! MSVC-LINKER-OPTIONS-SAME: "-rpath" "/path/to/dir"
+
+! Verify that certain linker flags are known to the frontend and are not
passed on
+! to the linker.
----------------
banach-space wrote:
I don't believe that this is correct - these flags are not forwarded to the
linker.
```suggestion
! Verify that -nostdlib, -nodefeaultlibs and -nostartfiles modify what
libraries are included in the linker invocation generated by the driver.
```
https://github.com/llvm/llvm-project/pull/72601
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits