parent
aa1bac22dd
commit
cd32eba67b
|
@ -600,7 +600,7 @@ void InstrProfiling::emitUses() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void InstrProfiling::emitInitialization() {
|
void InstrProfiling::emitInitialization() {
|
||||||
std::string InstrProfileOutput = Options.InstrProfileOutput;
|
StringRef InstrProfileOutput = Options.InstrProfileOutput;
|
||||||
|
|
||||||
Constant *RegisterF = M->getFunction(getInstrProfRegFuncsName());
|
Constant *RegisterF = M->getFunction(getInstrProfRegFuncsName());
|
||||||
if (!RegisterF && InstrProfileOutput.empty())
|
if (!RegisterF && InstrProfileOutput.empty())
|
||||||
|
|
Loading…
Reference in New Issue