blob: c7c841a45afb4a8d27ecbaf2e7bd97756842d5d1 (
plain) (
tree)
|
|
//===-- KInstruction.cpp --------------------------------------------------===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "klee/Internal/Module/KInstruction.h"
#include <string>
using namespace llvm;
using namespace klee;
/***/
KInstruction::~KInstruction() {
delete[] operands;
}
std::string KInstruction::getSourceLocation() const {
if (!info->file.empty())
return info->file + ":" + std::to_string(info->line);
else return "[no debug info]";
}
|