blob: c7c841a45afb4a8d27ecbaf2e7bd97756842d5d1 (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 | //===-- 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]";
}
 |