================ @@ -0,0 +1,11 @@ +# REQUIRES: lld, target-windows +# RUN: %build --compiler=clang-cl --nodefaultlib -fuse-ld=lld -Wl,/dll -Wl,/noentry -o %t.dll %S/Inputs/relocatable.cpp ---------------- Nerixyz wrote:
This currently fails. Unfortunately, we don't have Windows premerge CI, so you'll need to run the test manually. The build script doesn't accept free arguments. I think you have to manually call clang and lld: ``` # REQUIRES: lld, target-windows, x86 # RUN: %clang_cl --target=x86_64-uefi -Z7 -c /Fo%t.obj -- %S/Inputs/relocatable.cpp # RUN: lld-link -debug:full -subsystem:efi_application -nodefaultlib -noentry -dll %t.obj -out:%t.dll -pdb:%t.pdb ``` The resulting DLL will load with and without this PR. I'm guessing you already have some setup where you build a UEFI binary. Could you check if that uses some special linker flag? https://github.com/llvm/llvm-project/pull/173499 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
