search for: driverutil

Displaying 5 results from an estimated 5 matches for "driverutil".

Did you mean: driver_util
2016 Dec 19
2
[lld] RFC: Finding shared libraries on OpenBSD
...mentation in the native (ld.bfd derived) toolchain. This is an RFC as I'm not sure the diff is the best way to implement this. For one thing, iterating over files is probably undesirable on non-OpenBSD systems. And the searching code should probably be moved to its own function. Index: ELF/DriverUtils.cpp =================================================================== --- ELF/DriverUtils.cpp (revision 290066) +++ ELF/DriverUtils.cpp (working copy) @@ -153,9 +153,34 @@ return findFromSearchPaths(Name.substr(1)); for (StringRef Dir : Config->SearchPaths) { - if (!Config->St...
2016 Dec 20
0
[lld] RFC: Finding shared libraries on OpenBSD
...ed) toolchain. > > This is an RFC as I'm not sure the diff is the best way to implement > this. For one thing, iterating over files is probably undesirable on > non-OpenBSD systems. And the searching code should probably be moved > to its own function. > > > Index: ELF/DriverUtils.cpp > =================================================================== > --- ELF/DriverUtils.cpp (revision 290066) > +++ ELF/DriverUtils.cpp (working copy) > @@ -153,9 +153,34 @@ > return findFromSearchPaths(Name.substr(1)); > > for (StringRef Dir : Config->Searc...
2017 Jan 04
2
LLD and LLVM_LINK_LLVM_DYLIB
Hi all, I recently gave LLD a try and it definitely works fine. However one cannot build it together with LLVM_LINK_LLVM_DYLIB: ELF/Driver.cpp and ELF/DriverUtils.cpp pull in llvm/Support/CommandLine.h which defines the command line options so these global variables end up in libLLVM-4.0svn.so via liblldELF. If this shared library is then linked into bin/lld or bin/opt one gets errors because of "Option '...' registered more than once" as...
2017 Jan 06
2
LLD and LLVM_LINK_LLVM_DYLIB
...ia llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi all, > > > > > > > > I recently gave LLD a try and it definitely works fine. However one cannot > > > > build it together with LLVM_LINK_LLVM_DYLIB: > > > > ELF/Driver.cpp and ELF/DriverUtils.cpp pull in llvm/Support/CommandLine.h > > > > which defines the command line options so these global variables end up in > > > > libLLVM-4.0svn.so via liblldELF. > > > > If this shared library is then linked into bin/lld or bin/opt one gets > > > &...
2017 Jan 06
2
LLD and LLVM_LINK_LLVM_DYLIB
...7 at 10:31 PM, Hahnfeld, Jonas via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >> >> Hi all, >> >> I recently gave LLD a try and it definitely works fine. However one cannot >> build it together with LLVM_LINK_LLVM_DYLIB: >> ELF/Driver.cpp and ELF/DriverUtils.cpp pull in llvm/Support/CommandLine.h >> which defines the command line options so these global variables end up in >> libLLVM-4.0svn.so via liblldELF. >> If this shared library is then linked into bin/lld or bin/opt one gets >> errors because of "Option '...'...