aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Transforms/Instrumentation.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
new file mode 100644
index 0000000000..a6e08d3084
--- /dev/null
+++ b/include/llvm/Transforms/Instrumentation.h
@@ -0,0 +1,19 @@
+//===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===//
+//
+// This files defines constructor functions for instrumentation passes.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_H
+#define LLVM_TRANSFORMS_INSTRUMENTATION_H
+
+class Pass;
+
+//===----------------------------------------------------------------------===//
+// Support for inserting LLVM code to print values at basic block and function
+// exits.
+//
+Pass *createTraceValuesPassForFunction(); // Just trace function entry/exit
+Pass *createTraceValuesPassForBasicBlocks(); // Trace BB's and methods
+
+#endif