Displaying 15 results from an estimated 15 matches for "delayload".
2017 Oct 16
2
LLD COFF not closing mmaps to input files?
...--- a/deps/lld/COFF/Driver.cpp
+++ b/deps/lld/COFF/Driver.cpp
@@ -1030,7 +1030,7 @@ void LinkerDriver::link(ArrayRef<const char *>
ArgsArr) {
if (!Args.hasArgNoClaim(OPT_INPUT)) {
fixupExports();
createImportLibrary(/*AsLib=*/true);
- exit(0);
+ return;
}
// Handle /delayload
@@ -1172,9 +1172,6 @@ void LinkerDriver::link(ArrayRef<const char *>
ArgsArr) {
// Write the result.
writeResult(&Symtab);
-
- // Call exit to avoid calling destructors.
- exit(0);
}
} // namespace coff
I'm getting this error from LLVM:
unable to write object file
c:\msy...
2017 Aug 31
2
LLD: patch to fix libCOFF calling exit() on success in a library function
...870 100644
--- a/lld/COFF/Driver.cpp
+++ b/lld/COFF/Driver.cpp
@@ -1030,7 +1030,7 @@ void LinkerDriver::link(ArrayRef<const char *>
ArgsArr) {
if (!Args.hasArgNoClaim(OPT_INPUT)) {
fixupExports();
createImportLibrary(/*AsLib=*/true);
- exit(0);
+ return;
}
// Handle /delayload
@@ -1122,7 +1122,7 @@ void LinkerDriver::link(ArrayRef<const char *>
ArgsArr) {
// This is useful because MSVC link.exe can generate complete PDBs.
if (Args.hasArg(OPT_msvclto)) {
invokeMSVC(Args);
- exit(0);
+ return;
}
// Do LTO by compiling bitcode input files to a...
2014 Jan 10
1
linking R.dll 32bit in Win64
...bit) cannot find appropriate windows dlls of 32bit (kernel32.dll, msvcrt.dll,...)
I attached the screenshot of dependency walker for more detail.
From this picture we can see that R.dll is linked to 64bit windows dlls.
My question : how have I to build my 32bit dll ? which linker options to use ? /DELAYLOAD ?
2017 Oct 16
2
LLD COFF not closing mmaps to input files?
...7 @@ void LinkerDriver::link(ArrayRef<const char *>
>> ArgsArr) {
>> if (!Args.hasArgNoClaim(OPT_INPUT)) {
>> fixupExports();
>> createImportLibrary(/*AsLib=*/true);
>> - exit(0);
>> + return;
>> }
>>
>> // Handle /delayload
>> @@ -1172,9 +1172,6 @@ void LinkerDriver::link(ArrayRef<const char *>
>> ArgsArr) {
>>
>> // Write the result.
>> writeResult(&Symtab);
>> -
>> - // Call exit to avoid calling destructors.
>> - exit(0);
>> }
>>
>>...
2017 Aug 31
2
LLD: patch to fix libCOFF calling exit() on success in a library function
...7 @@ void LinkerDriver::link(ArrayRef<const char *>
>> ArgsArr) {
>> if (!Args.hasArgNoClaim(OPT_INPUT)) {
>> fixupExports();
>> createImportLibrary(/*AsLib=*/true);
>> - exit(0);
>> + return;
>> }
>>
>> // Handle /delayload
>> @@ -1122,7 +1122,7 @@ void LinkerDriver::link(ArrayRef<const char *>
>> ArgsArr) {
>> // This is useful because MSVC link.exe can generate complete PDBs.
>> if (Args.hasArg(OPT_msvclto)) {
>> invokeMSVC(Args);
>> - exit(0);
>> + re...
2014 Oct 08
2
[LLVMdev] [lld] lld build needs to have flags that specify what flavor/targets to build ?
...re allowed? Some option mapping is obvious; for example --verbose
in ld and /verbose in link.exe should be mapped to the same option.
However, --entry and /entry should not be mapped to the same option,
because their semantics are slightly different. If - lazy is given, should
it be interpreted as /delayload when linking PECOFF?
We may be able to answer all the questions. But it's not clear to me what
we get from all that efforts.
Alex
>
> On Oct 7, 2014, at 2:22 PM, Shankar Easwaran <shankare at codeaurora.org>
> wrote:
>
> > On 10/7/2014 4:10 PM, Nick Kledzik wrote:
>...
2017 Jun 14
2
Using LLD to create a .lib from a .def
...idered as live by the garbage collector.
std::set<SymbolBody *> GCRoot;
std::set<StringRef> NoDefaultLibs;
bool NoDefaultLibAll = false;
// True if we are creating a DLL.
bool DLL = false;
StringRef Implib;
std::vector<Export> Exports;
std::set<std::string> DelayLoads;
std::map<std::string, int> DLLOrder;
SymbolBody *DelayLoadHelper = nullptr;
// Used for SafeSEH.
Symbol *SEHTable = nullptr;
Symbol *SEHCount = nullptr;
// Used for /opt:lldlto=N
unsigned LTOOptLevel = 2;
// Used for /opt:lldltojobs=N
unsigned LTOJobs = 1;
// Used fo...
2019 Nov 15
0
Wine release 4.20
...onfigure: Get rid of no longer needed __builtin_clz check.
jscript: Treat only ASCII digits as digits.
vbscript: Treat only ASCII digits as digits.
msvcrt/tests: Add iswdigit tests.
vbscript: Always treat keywords after dot as identifiers.
winegcc: Add support for -Wl,-delayload argument.
makedep: Use -Wl,-delayload option for winebuild delayimports.
mshtml: Fix checks for digit characters.
oleaut32: Fix checks for digit characters.
shlwapi: Fix PathUndecorate[AW] implementation.
makedep: Use -Wl,-delayload on cross targets when supported by l...
2017 Jun 15
2
Using LLD to create a .lib from a .def
...>>
>> std::set<StringRef> NoDefaultLibs;
>> bool NoDefaultLibAll = false;
>>
>> // True if we are creating a DLL.
>> bool DLL = false;
>> StringRef Implib;
>> std::vector<Export> Exports;
>> std::set<std::string> DelayLoads;
>> std::map<std::string, int> DLLOrder;
>> SymbolBody *DelayLoadHelper = nullptr;
>>
>> // Used for SafeSEH.
>> Symbol *SEHTable = nullptr;
>> Symbol *SEHCount = nullptr;
>>
>> // Used for /opt:lldlto=N
>> unsigned LTOOptLe...
2017 Jun 16
2
Using LLD to create a .lib from a .def
...Libs;
>>>> bool NoDefaultLibAll = false;
>>>>
>>>> // True if we are creating a DLL.
>>>> bool DLL = false;
>>>> StringRef Implib;
>>>> std::vector<Export> Exports;
>>>> std::set<std::string> DelayLoads;
>>>> std::map<std::string, int> DLLOrder;
>>>> SymbolBody *DelayLoadHelper = nullptr;
>>>>
>>>> // Used for SafeSEH.
>>>> Symbol *SEHTable = nullptr;
>>>> Symbol *SEHCount = nullptr;
>>>>
>>&...
2016 Oct 01
0
Wine release 1.9.20
...y devices.
ntoskrnl.exe: Implement DevicePropertyEnumeratorName for IoGetDeviceProperty.
ntoskrnl.exe: Implement removing plug and play devices.
hid: Stub HidP_TranslateUsagesToI8042ScanCodes.
Austin English (11):
advapi32: Add EventWriteTransfer stub.
api-ms-win-core-delayload-l1-1-0: Add dll.
api-ms-win-core-libraryloader-l1-2-2: Add dll.
newdev: Add DiInstallDriverA/W stubs.
api-ms-win-core-io-l1-1-0: Add dll.
api-ms-win-core-xstate-l1-1-0: Add stub dll.
api-ms-win-service-core-l1-1-0: Add dll.
api-ms-win-service-management-l2-1-0: A...
2014 Oct 07
5
[LLVMdev] [lld] lld build needs to have flags that specify what flavor/targets to build ?
On 10/7/2014 4:10 PM, Nick Kledzik wrote:
> Shankar,
>
> Can you give provide a scenario where you want this? I’m not sure what you want here.
a) LLVM could be built just for one target(LLVM_TARGETS_TO_BUILD)
b) With LTO this case might happen more often, where an user would have
compiled LLVM just for one architecture and lld would support other
architectures that LLVM would not
2020 May 08
0
Wine release 5.8
...ot: Use __cpuid from intrin.h.
wbemprox: Use __cpuid from intrin.h.
ntdll: Export _chkstk from importlib.
ntoskrnl.exe: Export _chkstk from importlib.
winecrt0: Build exception functions on clang msvc target.
winecrt0: Add _fltused symbol.
configure: Assume that -delayload linker argument is supported when -target argument is used.
configure: Allow specifying default CROSSTARGET as configure argument.
configure: Explicitly specify subsystem when using msvc target.
winebuild: Introduce --safeseh option that allows marking assembly files as SEH compat...
2020 Feb 28
0
Wine release 5.3
...t components for platform string.
winegcc: Check more target components for platform string.
stdlib.h: Make externs declarations compatible with ucrt.
include: Add corecrt_startup.h header.
msvcrt: Use more public declarations in exe entry points.
winegcc: Fix passing -delayload argument to linker.
winegcc: Don't pass ld command to winebuild when building PE file.
vbscript: Lookup host global object in interp_me instead of storing it in script context.
Jeff Smith (7):
gdiplus: Each pen dash array element must be greater than zero.
gdiplus/tests...
2016 Feb 19
0
Wine release 1.9.4
...Translate 16 bit address in lparam for MCIWNDM_SETTIMEFORMATA message.
include: Add definitions for Win8 pseudo handles.
server: Add support for Win8 pseudo handles.
advapi32/tests: Add tests for Win8 pseudo handles.
api-ms-win-core-com-l1-1-1: Add dll.
api-ms-win-core-delayload-l1-1-1: Add dll.
api-ms-win-core-libraryloader-l1-2-0: Add dll.
api-ms-win-core-kernel32-legacy-l1-1-1: Add dll.
api-ms-win-eventing-classicprovider-l1-1-0: Add dll.
api-ms-win-core-winrt-registration-l1-1-0: Add dll.
ntdll: Implement SystemRecommendedSharedDataAlignme...