search for: opt_msvclto

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

2017 Aug 31
2
LLD: patch to fix libCOFF calling exit() on success in a library function
...) { 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 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...
2017 Aug 31
2
LLD: patch to fix libCOFF calling exit() on success in a library function
...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 *> >> Arg...