[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Sep 30 13:14:17 PDT 2004
Changes in directory llvm/lib/Transforms/Instrumentation:
EmitFunctions.cpp updated: 1.19 -> 1.20
---
Log message:
Namespacify. Add accessor function.
---
Diffs of the changes: (+8 -0)
Index: llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
diff -u llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.19 llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.20
--- llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.19 Sun Sep 19 23:44:01 2004
+++ llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp Thu Sep 30 15:14:07 2004
@@ -20,6 +20,8 @@
#include "llvm/Support/CFG.h"
using namespace llvm;
+namespace llvm {
+
namespace {
enum Color{
WHITE,
@@ -108,3 +110,9 @@
M.getGlobalList().push_back(fnCount);
return true; // Always modifies program
}
+
+ModulePass *createEmitFunctionTablePass () {
+ return new EmitFunctionTable();
+}
+
+} // end namespace llvm
More information about the llvm-commits
mailing list