mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 03:48:57 +00:00
Revert an accidental commit af5ca40b47b3e85c3add81ccdc0b787c4bc355ae
This commit is contained in:
parent
8ba96bda06
commit
bd7cf0f396
@ -117,12 +117,6 @@ struct Config {
|
||||
/// Statistics output file path.
|
||||
std::string StatsFile;
|
||||
|
||||
/// Time trace enabled
|
||||
bool TimeTraceEnabled = false;
|
||||
|
||||
/// Time trace granularity
|
||||
unsigned TimeTraceGranularity = 500;
|
||||
|
||||
bool ShouldDiscardValueNames = true;
|
||||
DiagnosticHandlerFunction DiagHandler;
|
||||
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "llvm/Support/TargetRegistry.h"
|
||||
#include "llvm/Support/ThreadPool.h"
|
||||
#include "llvm/Support/Threading.h"
|
||||
#include "llvm/Support/TimeProfiler.h"
|
||||
#include "llvm/Support/VCSRevision.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
@ -1134,9 +1133,6 @@ public:
|
||||
&ResolvedODR,
|
||||
const GVSummaryMapTy &DefinedGlobals,
|
||||
MapVector<StringRef, BitcodeModule> &ModuleMap) {
|
||||
if (Conf.TimeTraceEnabled)
|
||||
timeTraceProfilerInitialize(Conf.TimeTraceGranularity,
|
||||
"thin backend");
|
||||
Error E = runThinLTOBackendThread(
|
||||
AddStream, Cache, Task, BM, CombinedIndex, ImportList, ExportList,
|
||||
ResolvedODR, DefinedGlobals, ModuleMap);
|
||||
@ -1147,8 +1143,6 @@ public:
|
||||
else
|
||||
Err = std::move(E);
|
||||
}
|
||||
if (timeTraceProfilerEnabled())
|
||||
timeTraceProfilerFinishThread();
|
||||
},
|
||||
BM, std::ref(CombinedIndex), std::ref(ImportList), std::ref(ExportList),
|
||||
std::ref(ResolvedODR), std::ref(DefinedGlobals), std::ref(ModuleMap));
|
||||
|
Loading…
x
Reference in New Issue
Block a user