From 00420e9a95899d235c308ad5b9f50600c025d423 Mon Sep 17 00:00:00 2001 From: "Ian A. Mason" Date: Thu, 10 May 2018 18:26:53 -0700 Subject: [PATCH] Gatta keep the grades up. --- shared/extractor.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shared/extractor.go b/shared/extractor.go index 801e7e6..edf78ac 100644 --- a/shared/extractor.go +++ b/shared/extractor.go @@ -54,10 +54,10 @@ type extractionArgs struct { WriteManifest bool SortBitcodeFiles bool BuildBitcodeArchive bool - KeepTemp bool // keep temporary linking folder - LinkArgSize int // maximum size of a llvm-link command line + KeepTemp bool // keep temporary linking folder + LinkArgSize int // maximum size of a llvm-link command line InputType int - ObjectTypeInArchive int // Type of file that can be put into an archive + ObjectTypeInArchive int // Type of file that can be put into an archive InputFile string OutputFile string LinkerName string @@ -533,7 +533,7 @@ func extractTimeLinkFiles(ea extractionArgs, filesToLink []string) { linkArgs = append(linkArgs, file) if getsize(linkArgs) > argMax { LogInfo("Linking command size exceeding system capacity : splitting the command") - var success bool + var success bool success, err = execCmd(ea.LinkerName, linkArgs, "") if !success || err != nil { LogFatal("There was an error linking input files into %s because %v, on file %s.\n", ea.OutputFile, err, file)