Rewrite StackMap location handling to pre-compute the dwarf register
[oota-llvm.git] / include / llvm / CodeGen / StackMaps.h
index 4e48afe140042b2bf25fcd8155687e03c24d42bd..7066d531a4f795bf79b62edc455ce6c2c3ca4ec2 100644 (file)
@@ -14,6 +14,7 @@
 #include "llvm/ADT/MapVector.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/CodeGen/MachineInstr.h"
+#include "llvm/Support/Debug.h"
 #include <map>
 #include <vector>
 
@@ -246,6 +247,9 @@ private:
 
   /// \brief Emit the callsite info for each stackmap/patchpoint intrinsic call.
   void emitCallsiteEntries(MCStreamer &OS, const TargetRegisterInfo *TRI);
+
+  void print(raw_ostream &OS);
+  void debug() { print(dbgs()); }
 };
 
 }