summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Transforms/InstrProfiling.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Transforms/InstrProfiling.h')
-rw-r--r--llvm/include/llvm/Transforms/InstrProfiling.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Transforms/InstrProfiling.h b/llvm/include/llvm/Transforms/InstrProfiling.h
index 0fe6ad5eeac..acb6968cce7 100644
--- a/llvm/include/llvm/Transforms/InstrProfiling.h
+++ b/llvm/include/llvm/Transforms/InstrProfiling.h
@@ -109,7 +109,8 @@ private:
void emitRegistration();
/// Emit the necessary plumbing to pull in the runtime initialization.
- void emitRuntimeHook();
+ /// Returns true if a change was made.
+ bool emitRuntimeHook();
/// Add uses of our data variables and runtime hook.
void emitUses();
OpenPOWER on IntegriCloud