Index: include/llvm/IR/CallSite.h =================================================================== --- include/llvm/IR/CallSite.h +++ include/llvm/IR/CallSite.h @@ -312,6 +312,12 @@ return false; } + /// Debugging routine to print a human readable representation of the + /// instruction represented by this CallSite + void dump() const { + getInstruction()->dump(); + } + private: unsigned getArgumentEndOffset() const { if (isCall())