search for: coffmoduledefinition

Displaying 4 results from an estimated 4 matches for "coffmoduledefinition".

2017 Jun 15
2
Using LLD to create a .lib from a .def
...alls needed.) >> 2. Can LLD expose this ability directly so I don't have to copy paste a >> bunch of LLD internal stuff? >> > > Martell recently factored out the code to parse and generate module > definition files. You might be able to use that. See llvm/Object/ > COFFModuleDefinition.h. > > The location at where LLD uses COFFModuleDefinition.h is in > parseModuleDefs and createImportLibrary in COFF/Driver.cpp. > OK, thanks. I'll get a build going with latest trunk and see if I can get it to work. > > Regards, >> Andrew Kelley >> ziglang.org...
2017 Jun 16
2
Using LLD to create a .lib from a .def
...bility directly so I don't have to copy paste a >>>> bunch of LLD internal stuff? >>>> >>> >>> Martell recently factored out the code to parse and generate module >>> definition files. You might be able to use that. See >>> llvm/Object/COFFModuleDefinition.h. >>> >>> The location at where LLD uses COFFModuleDefinition.h is in >>> parseModuleDefs and createImportLibrary in COFF/Driver.cpp. >>> >> >> OK, thanks. I'll get a build going with latest trunk and see if I can get >> it to work. >&gt...
2017 Jun 14
2
Using LLD to create a .lib from a .def
I'm copying some LLD code into my codebase like this: // workaround for LLD not exposing ability to convert .def to .lib #include <set> namespace lld { namespace coff { class SymbolBody; class StringChunk; struct Symbol; struct Export { StringRef Name; // N in /export:N or /export:E=N StringRef ExtName; // E in /export:E=N SymbolBody *Sym = nullptr; uint16_t Ordinal
2020 Apr 23
7
Cannot build master
Hi, Using master at b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8, I cannot build LLVM. I configured with: CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/llvm11-git \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_BUILD_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DBUILD_SHARED_LIBS=OFF \ -DLLVM_ENABLE_EH=ON \ -DLLVM_ENABLE_RTTI=ON \