[Lldb-commits] [PATCH] D87517: [MinGW] Use lib prefix for libraries

Mateusz MikuĊ‚a via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 11 15:07:24 PDT 2020


mati865 added a comment.

`-DLLVM_ENABLE_PROJECTS="clang;lldb" -DLLVM_BUILD_LLVM_DYLIB=1` with only this patch applied (`<` is before, `>` is after):

  $ diff <(cd ../build && find ./ | sort) <(cd ../build2/ && find ./ | sort)
  38a39,41
  > ./bin/libLLVM.dll
  > ./bin/libLTO.dll
  > ./bin/libRemarks.dll
  51d53
  < ./bin/LLVM.dll
  119d120
  < ./bin/LTO.dll
  123d123
  < ./bin/Remarks.dll
  1460a1461
  > ./lib/libclang.dll.a
  1500,1501c1501
  < ./lib/liblibclang.dll.a
  < ./lib/libliblldb.dll.a
  ---
  > ./lib/liblldb.dll.a

`-DLLVM_ENABLE_PROJECTS="clang;lldb" -DBUILD_SHARED_LIBS=1`:

  $ diff <(cd ../build3 && find ./ | sort) <(cd ../build4/ && find ./ | sort)
  18,22d17
  < ./bin/clangAnalysis.dll
  < ./bin/clangARCMigrate.dll
  < ./bin/clangAST.dll
  < ./bin/clangASTMatchers.dll
  < ./bin/clangBasic.dll
  25d19
  < ./bin/clangCodeGen.dll
  27,28d20
  < ./bin/clangCrossTU.dll
  < ./bin/clangDependencyScanning.dll
  30,33d21
  < ./bin/clangDirectoryWatcher.dll
  < ./bin/clangDriver.dll
  < ./bin/clangDynamicASTMatchers.dll
  < ./bin/clangEdit.dll
  35d22
  < ./bin/clangFormat.dll
  37,40d23
  < ./bin/clangFrontend.dll
  < ./bin/clangFrontendTool.dll
  < ./bin/clangHandleCXX.dll
  < ./bin/clangHandleLLVM.dll
  42,44d24
  < ./bin/clangIndex.dll
  < ./bin/clangIndexSerialization.dll
  < ./bin/clangLex.dll
  47d26
  < ./bin/clangParse.dll
  50,51d28
  < ./bin/clangRewrite.dll
  < ./bin/clangRewriteFrontend.dll
  53,57d29
  < ./bin/clangSema.dll
  < ./bin/clangSerialization.dll
  < ./bin/clangStaticAnalyzerCheckers.dll
  < ./bin/clangStaticAnalyzerCore.dll
  < ./bin/clangStaticAnalyzerFrontend.dll
  59,66d30
  < ./bin/clangTesting.dll
  < ./bin/clangTooling.dll
  < ./bin/clangToolingASTDiff.dll
  < ./bin/clangToolingCore.dll
  < ./bin/clangToolingInclusions.dll
  < ./bin/clangToolingRefactoring.dll
  < ./bin/clangToolingSyntax.dll
  < ./bin/clangTransformer.dll
  71,72d34
  < ./bin/gtest.dll
  < ./bin/gtest_main.dll
  77a40,77
  > ./bin/libclangAnalysis.dll
  > ./bin/libclangARCMigrate.dll
  > ./bin/libclangAST.dll
  > ./bin/libclangASTMatchers.dll
  > ./bin/libclangBasic.dll
  > ./bin/libclangCodeGen.dll
  > ./bin/libclangCrossTU.dll
  > ./bin/libclangDependencyScanning.dll
  > ./bin/libclangDirectoryWatcher.dll
  > ./bin/libclangDriver.dll
  > ./bin/libclangDynamicASTMatchers.dll
  > ./bin/libclangEdit.dll
  > ./bin/libclangFormat.dll
  > ./bin/libclangFrontend.dll
  > ./bin/libclangFrontendTool.dll
  > ./bin/libclangHandleCXX.dll
  > ./bin/libclangHandleLLVM.dll
  > ./bin/libclangIndex.dll
  > ./bin/libclangIndexSerialization.dll
  > ./bin/libclangLex.dll
  > ./bin/libclangParse.dll
  > ./bin/libclangRewrite.dll
  > ./bin/libclangRewriteFrontend.dll
  > ./bin/libclangSema.dll
  > ./bin/libclangSerialization.dll
  > ./bin/libclangStaticAnalyzerCheckers.dll
  > ./bin/libclangStaticAnalyzerCore.dll
  > ./bin/libclangStaticAnalyzerFrontend.dll
  > ./bin/libclangTesting.dll
  > ./bin/libclangTooling.dll
  > ./bin/libclangToolingASTDiff.dll
  > ./bin/libclangToolingCore.dll
  > ./bin/libclangToolingInclusions.dll
  > ./bin/libclangToolingRefactoring.dll
  > ./bin/libclangToolingSyntax.dll
  > ./bin/libclangTransformer.dll
  > ./bin/libgtest.dll
  > ./bin/libgtest_main.dll
  78a79,233
  > ./bin/libLLVMAArch64AsmParser.dll
  > ./bin/libLLVMAArch64CodeGen.dll
  > ./bin/libLLVMAArch64Desc.dll
  > ./bin/libLLVMAArch64Disassembler.dll
  > ./bin/libLLVMAArch64Info.dll
  > ./bin/libLLVMAArch64Utils.dll
  > ./bin/libLLVMAggressiveInstCombine.dll
  > ./bin/libLLVMAMDGPUAsmParser.dll
  > ./bin/libLLVMAMDGPUCodeGen.dll
  > ./bin/libLLVMAMDGPUDesc.dll
  > ./bin/libLLVMAMDGPUDisassembler.dll
  > ./bin/libLLVMAMDGPUInfo.dll
  > ./bin/libLLVMAMDGPUUtils.dll
  > ./bin/libLLVMAnalysis.dll
  > ./bin/libLLVMARMAsmParser.dll
  > ./bin/libLLVMARMCodeGen.dll
  > ./bin/libLLVMARMDesc.dll
  > ./bin/libLLVMARMDisassembler.dll
  > ./bin/libLLVMARMInfo.dll
  > ./bin/libLLVMARMUtils.dll
  > ./bin/libLLVMAsmParser.dll
  > ./bin/libLLVMAsmPrinter.dll
  > ./bin/libLLVMAVRAsmParser.dll
  > ./bin/libLLVMAVRCodeGen.dll
  > ./bin/libLLVMAVRDesc.dll
  > ./bin/libLLVMAVRDisassembler.dll
  > ./bin/libLLVMAVRInfo.dll
  > ./bin/libLLVMBinaryFormat.dll
  > ./bin/libLLVMBitReader.dll
  > ./bin/libLLVMBitstreamReader.dll
  > ./bin/libLLVMBitWriter.dll
  > ./bin/libLLVMBPFAsmParser.dll
  > ./bin/libLLVMBPFCodeGen.dll
  > ./bin/libLLVMBPFDesc.dll
  > ./bin/libLLVMBPFDisassembler.dll
  > ./bin/libLLVMBPFInfo.dll
  > ./bin/libLLVMCFGuard.dll
  > ./bin/libLLVMCodeGen.dll
  > ./bin/libLLVMCore.dll
  > ./bin/libLLVMCoroutines.dll
  > ./bin/libLLVMCoverage.dll
  > ./bin/libLLVMDebugInfoCodeView.dll
  > ./bin/libLLVMDebugInfoDWARF.dll
  > ./bin/libLLVMDebugInfoGSYM.dll
  > ./bin/libLLVMDebugInfoMSF.dll
  > ./bin/libLLVMDebugInfoPDB.dll
  > ./bin/libLLVMDemangle.dll
  > ./bin/libLLVMDlltoolDriver.dll
  > ./bin/libLLVMDWARFLinker.dll
  > ./bin/libLLVMExecutionEngine.dll
  > ./bin/libLLVMExtensions.dll
  > ./bin/libLLVMFileCheck.dll
  > ./bin/libLLVMFrontendOpenACC.dll
  > ./bin/libLLVMFrontendOpenMP.dll
  > ./bin/libLLVMFuzzMutate.dll
  > ./bin/libLLVMGlobalISel.dll
  > ./bin/libLLVMHexagonAsmParser.dll
  > ./bin/libLLVMHexagonCodeGen.dll
  > ./bin/libLLVMHexagonDesc.dll
  > ./bin/libLLVMHexagonDisassembler.dll
  > ./bin/libLLVMHexagonInfo.dll
  > ./bin/libLLVMInstCombine.dll
  > ./bin/libLLVMInstrumentation.dll
  > ./bin/libLLVMInterfaceStub.dll
  > ./bin/libLLVMInterpreter.dll
  > ./bin/libLLVMipo.dll
  > ./bin/libLLVMIRReader.dll
  > ./bin/libLLVMJITLink.dll
  > ./bin/libLLVMLanaiAsmParser.dll
  > ./bin/libLLVMLanaiCodeGen.dll
  > ./bin/libLLVMLanaiDesc.dll
  > ./bin/libLLVMLanaiDisassembler.dll
  > ./bin/libLLVMLanaiInfo.dll
  > ./bin/libLLVMLibDriver.dll
  > ./bin/libLLVMLineEditor.dll
  > ./bin/libLLVMLinker.dll
  > ./bin/libLLVMLTO.dll
  > ./bin/libLLVMMC.dll
  > ./bin/libLLVMMCA.dll
  > ./bin/libLLVMMCDisassembler.dll
  > ./bin/libLLVMMCJIT.dll
  > ./bin/libLLVMMCParser.dll
  > ./bin/libLLVMMipsAsmParser.dll
  > ./bin/libLLVMMipsCodeGen.dll
  > ./bin/libLLVMMipsDesc.dll
  > ./bin/libLLVMMipsDisassembler.dll
  > ./bin/libLLVMMipsInfo.dll
  > ./bin/libLLVMMIRParser.dll
  > ./bin/libLLVMMSP430AsmParser.dll
  > ./bin/libLLVMMSP430CodeGen.dll
  > ./bin/libLLVMMSP430Desc.dll
  > ./bin/libLLVMMSP430Disassembler.dll
  > ./bin/libLLVMMSP430Info.dll
  > ./bin/libLLVMNVPTXCodeGen.dll
  > ./bin/libLLVMNVPTXDesc.dll
  > ./bin/libLLVMNVPTXInfo.dll
  > ./bin/libLLVMObjCARCOpts.dll
  > ./bin/libLLVMObject.dll
  > ./bin/libLLVMObjectYAML.dll
  > ./bin/libLLVMOption.dll
  > ./bin/libLLVMOrcError.dll
  > ./bin/libLLVMOrcJIT.dll
  > ./bin/libLLVMPasses.dll
  > ./bin/libLLVMPowerPCAsmParser.dll
  > ./bin/libLLVMPowerPCCodeGen.dll
  > ./bin/libLLVMPowerPCDesc.dll
  > ./bin/libLLVMPowerPCDisassembler.dll
  > ./bin/libLLVMPowerPCInfo.dll
  > ./bin/libLLVMProfileData.dll
  > ./bin/libLLVMRemarks.dll
  > ./bin/libLLVMRISCVAsmParser.dll
  > ./bin/libLLVMRISCVCodeGen.dll
  > ./bin/libLLVMRISCVDesc.dll
  > ./bin/libLLVMRISCVDisassembler.dll
  > ./bin/libLLVMRISCVInfo.dll
  > ./bin/libLLVMRISCVUtils.dll
  > ./bin/libLLVMRuntimeDyld.dll
  > ./bin/libLLVMScalarOpts.dll
  > ./bin/libLLVMSelectionDAG.dll
  > ./bin/libLLVMSparcAsmParser.dll
  > ./bin/libLLVMSparcCodeGen.dll
  > ./bin/libLLVMSparcDesc.dll
  > ./bin/libLLVMSparcDisassembler.dll
  > ./bin/libLLVMSparcInfo.dll
  > ./bin/libLLVMSupport.dll
  > ./bin/libLLVMSymbolize.dll
  > ./bin/libLLVMSystemZAsmParser.dll
  > ./bin/libLLVMSystemZCodeGen.dll
  > ./bin/libLLVMSystemZDesc.dll
  > ./bin/libLLVMSystemZDisassembler.dll
  > ./bin/libLLVMSystemZInfo.dll
  > ./bin/libLLVMTableGen.dll
  > ./bin/libLLVMTarget.dll
  > ./bin/libLLVMTestingSupport.dll
  > ./bin/libLLVMTextAPI.dll
  > ./bin/libLLVMTransformUtils.dll
  > ./bin/libLLVMVectorize.dll
  > ./bin/libLLVMWebAssemblyAsmParser.dll
  > ./bin/libLLVMWebAssemblyCodeGen.dll
  > ./bin/libLLVMWebAssemblyDesc.dll
  > ./bin/libLLVMWebAssemblyDisassembler.dll
  > ./bin/libLLVMWebAssemblyInfo.dll
  > ./bin/libLLVMWindowsManifest.dll
  > ./bin/libLLVMX86AsmParser.dll
  > ./bin/libLLVMX86CodeGen.dll
  > ./bin/libLLVMX86Desc.dll
  > ./bin/libLLVMX86Disassembler.dll
  > ./bin/libLLVMX86Info.dll
  > ./bin/libLLVMXCoreCodeGen.dll
  > ./bin/libLLVMXCoreDesc.dll
  > ./bin/libLLVMXCoreDisassembler.dll
  > ./bin/libLLVMXCoreInfo.dll
  > ./bin/libLLVMXRay.dll
  > ./bin/libLTO.dll
  > ./bin/libRemarks.dll
  91,96d245
  < ./bin/LLVMAArch64AsmParser.dll
  < ./bin/LLVMAArch64CodeGen.dll
  < ./bin/LLVMAArch64Desc.dll
  < ./bin/LLVMAArch64Disassembler.dll
  < ./bin/LLVMAArch64Info.dll
  < ./bin/LLVMAArch64Utils.dll
  98,105d246
  < ./bin/LLVMAggressiveInstCombine.dll
  < ./bin/LLVMAMDGPUAsmParser.dll
  < ./bin/LLVMAMDGPUCodeGen.dll
  < ./bin/LLVMAMDGPUDesc.dll
  < ./bin/LLVMAMDGPUDisassembler.dll
  < ./bin/LLVMAMDGPUInfo.dll
  < ./bin/LLVMAMDGPUUtils.dll
  < ./bin/LLVMAnalysis.dll
  107,112d247
  < ./bin/LLVMARMAsmParser.dll
  < ./bin/LLVMARMCodeGen.dll
  < ./bin/LLVMARMDesc.dll
  < ./bin/LLVMARMDisassembler.dll
  < ./bin/LLVMARMInfo.dll
  < ./bin/LLVMARMUtils.dll
  114,120d248
  < ./bin/LLVMAsmParser.dll
  < ./bin/LLVMAsmPrinter.dll
  < ./bin/LLVMAVRAsmParser.dll
  < ./bin/LLVMAVRCodeGen.dll
  < ./bin/LLVMAVRDesc.dll
  < ./bin/LLVMAVRDisassembler.dll
  < ./bin/LLVMAVRInfo.dll
  122,130d249
  < ./bin/LLVMBinaryFormat.dll
  < ./bin/LLVMBitReader.dll
  < ./bin/LLVMBitstreamReader.dll
  < ./bin/LLVMBitWriter.dll
  < ./bin/LLVMBPFAsmParser.dll
  < ./bin/LLVMBPFCodeGen.dll
  < ./bin/LLVMBPFDesc.dll
  < ./bin/LLVMBPFDisassembler.dll
  < ./bin/LLVMBPFInfo.dll
  132d250
  < ./bin/LLVMCFGuard.dll
  134d251
  < ./bin/LLVMCodeGen.dll
  136,137d252
  < ./bin/LLVMCore.dll
  < ./bin/LLVMCoroutines.dll
  139d253
  < ./bin/LLVMCoverage.dll
  145,150d258
  < ./bin/LLVMDebugInfoCodeView.dll
  < ./bin/LLVMDebugInfoDWARF.dll
  < ./bin/LLVMDebugInfoGSYM.dll
  < ./bin/LLVMDebugInfoMSF.dll
  < ./bin/LLVMDebugInfoPDB.dll
  < ./bin/LLVMDemangle.dll
  154d261
  < ./bin/LLVMDlltoolDriver.dll
  156d262
  < ./bin/LLVMDWARFLinker.dll
  159d264
  < ./bin/LLVMExecutionEngine.dll
  161d265
  < ./bin/LLVMExtensions.dll
  163,167d266
  < ./bin/LLVMFileCheck.dll
  < ./bin/LLVMFrontendOpenACC.dll
  < ./bin/LLVMFrontendOpenMP.dll
  < ./bin/LLVMFuzzMutate.dll
  < ./bin/LLVMGlobalISel.dll
  170,174d268
  < ./bin/LLVMHexagonAsmParser.dll
  < ./bin/LLVMHexagonCodeGen.dll
  < ./bin/LLVMHexagonDesc.dll
  < ./bin/LLVMHexagonDisassembler.dll
  < ./bin/LLVMHexagonInfo.dll
  177,182d270
  < ./bin/LLVMInstCombine.dll
  < ./bin/LLVMInstrumentation.dll
  < ./bin/LLVMInterfaceStub.dll
  < ./bin/LLVMInterpreter.dll
  < ./bin/LLVMipo.dll
  < ./bin/LLVMIRReader.dll
  185d272
  < ./bin/LLVMJITLink.dll
  187,191d273
  < ./bin/LLVMLanaiAsmParser.dll
  < ./bin/LLVMLanaiCodeGen.dll
  < ./bin/LLVMLanaiDesc.dll
  < ./bin/LLVMLanaiDisassembler.dll
  < ./bin/LLVMLanaiInfo.dll
  193d274
  < ./bin/LLVMLibDriver.dll
  195d275
  < ./bin/LLVMLineEditor.dll
  197d276
  < ./bin/LLVMLinker.dll
  201d279
  < ./bin/LLVMLTO.dll
  204d281
  < ./bin/LLVMMC.dll
  206d282
  < ./bin/LLVMMCA.dll
  208,210d283
  < ./bin/LLVMMCDisassembler.dll
  < ./bin/LLVMMCJIT.dll
  < ./bin/LLVMMCParser.dll
  212,217d284
  < ./bin/LLVMMipsAsmParser.dll
  < ./bin/LLVMMipsCodeGen.dll
  < ./bin/LLVMMipsDesc.dll
  < ./bin/LLVMMipsDisassembler.dll
  < ./bin/LLVMMipsInfo.dll
  < ./bin/LLVMMIRParser.dll
  220,224d286
  < ./bin/LLVMMSP430AsmParser.dll
  < ./bin/LLVMMSP430CodeGen.dll
  < ./bin/LLVMMSP430Desc.dll
  < ./bin/LLVMMSP430Disassembler.dll
  < ./bin/LLVMMSP430Info.dll
  227,230d288
  < ./bin/LLVMNVPTXCodeGen.dll
  < ./bin/LLVMNVPTXDesc.dll
  < ./bin/LLVMNVPTXInfo.dll
  < ./bin/LLVMObjCARCOpts.dll
  233,234d290
  < ./bin/LLVMObject.dll
  < ./bin/LLVMObjectYAML.dll
  236d291
  < ./bin/LLVMOption.dll
  238,240d292
  < ./bin/LLVMOrcError.dll
  < ./bin/LLVMOrcJIT.dll
  < ./bin/LLVMPasses.dll
  243,247d294
  < ./bin/LLVMPowerPCAsmParser.dll
  < ./bin/LLVMPowerPCCodeGen.dll
  < ./bin/LLVMPowerPCDesc.dll
  < ./bin/LLVMPowerPCDisassembler.dll
  < ./bin/LLVMPowerPCInfo.dll
  249d295
  < ./bin/LLVMProfileData.dll
  255,261d300
  < ./bin/LLVMRemarks.dll
  < ./bin/LLVMRISCVAsmParser.dll
  < ./bin/LLVMRISCVCodeGen.dll
  < ./bin/LLVMRISCVDesc.dll
  < ./bin/LLVMRISCVDisassembler.dll
  < ./bin/LLVMRISCVInfo.dll
  < ./bin/LLVMRISCVUtils.dll
  263,265d301
  < ./bin/LLVMRuntimeDyld.dll
  < ./bin/LLVMScalarOpts.dll
  < ./bin/LLVMSelectionDAG.dll
  267,271d302
  < ./bin/LLVMSparcAsmParser.dll
  < ./bin/LLVMSparcCodeGen.dll
  < ./bin/LLVMSparcDesc.dll
  < ./bin/LLVMSparcDisassembler.dll
  < ./bin/LLVMSparcInfo.dll
  277,278d307
  < ./bin/LLVMSupport.dll
  < ./bin/LLVMSymbolize.dll
  280,286d308
  < ./bin/LLVMSystemZAsmParser.dll
  < ./bin/LLVMSystemZCodeGen.dll
  < ./bin/LLVMSystemZDesc.dll
  < ./bin/LLVMSystemZDisassembler.dll
  < ./bin/LLVMSystemZInfo.dll
  < ./bin/LLVMTableGen.dll
  < ./bin/LLVMTarget.dll
  288,290d309
  < ./bin/LLVMTestingSupport.dll
  < ./bin/LLVMTextAPI.dll
  < ./bin/LLVMTransformUtils.dll
  292,308d310
  < ./bin/LLVMVectorize.dll
  < ./bin/LLVMWebAssemblyAsmParser.dll
  < ./bin/LLVMWebAssemblyCodeGen.dll
  < ./bin/LLVMWebAssemblyDesc.dll
  < ./bin/LLVMWebAssemblyDisassembler.dll
  < ./bin/LLVMWebAssemblyInfo.dll
  < ./bin/LLVMWindowsManifest.dll
  < ./bin/LLVMX86AsmParser.dll
  < ./bin/LLVMX86CodeGen.dll
  < ./bin/LLVMX86Desc.dll
  < ./bin/LLVMX86Disassembler.dll
  < ./bin/LLVMX86Info.dll
  < ./bin/LLVMXCoreCodeGen.dll
  < ./bin/LLVMXCoreDesc.dll
  < ./bin/LLVMXCoreDisassembler.dll
  < ./bin/LLVMXCoreInfo.dll
  < ./bin/LLVMXRay.dll
  311d312
  < ./bin/LTO.dll
  315d315
  < ./bin/Remarks.dll
  1652a1653
  > ./lib/libclang.dll.a
  1692,1693c1693
  < ./lib/liblibclang.dll.a
  < ./lib/libliblldb.dll.a
  ---
  > ./lib/liblldb.dll.a


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87517/new/

https://reviews.llvm.org/D87517



More information about the lldb-commits mailing list