search for: invokemsvc

Displaying 2 results from an estimated 2 matches for "invokemsvc".

2017 Aug 31
2
LLD: patch to fix libCOFF calling exit() on success in a library function
...(); 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 set of native COFF files then @@ -1173,8 +1173,7 @@ void LinkerDriver::link(ArrayRef<const char *> ArgsArr) { // Write the result. writeResult(&Symtab); - // Call exit to avoid calling destr...
2017 Aug 31
2
LLD: patch to fix libCOFF calling exit() on success in a library function
...; >> } >> >> // 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 set of native COFF >> files then >> @@ -1173,8 +1173,7 @@ void LinkerDriver::link(ArrayRef<const char *> >> ArgsArr) { >> // Write...