10#ifndef KLEE_INSTRUCTIONINFOTABLE_H
11#define KLEE_INSTRUCTIONINFOTABLE_H
15#include <unordered_map>
67 std::unordered_map<
const llvm::Instruction *,
68 std::unique_ptr<InstructionInfo>>
70 std::unordered_map<const llvm::Function *, std::unique_ptr<FunctionInfo>>
std::unordered_map< const llvm::Instruction *, std::unique_ptr< InstructionInfo > > infos
const FunctionInfo & getFunctionInfo(const llvm::Function &) const
const InstructionInfo & getInfo(const llvm::Instruction &) const
InstructionInfoTable(const llvm::Module &m)
std::unordered_map< const llvm::Function *, std::unique_ptr< FunctionInfo > > functionInfos
std::vector< std::unique_ptr< std::string > > internedStrings
unsigned getMaxID() const
FunctionInfo stores debug information for a KFunction.
FunctionInfo(FunctionInfo &&)=default
unsigned line
Line number in source file.
FunctionInfo(unsigned id, const std::string &file, unsigned line, uint64_t assemblyLine)
const std::string & file
Source file name.
uint64_t assemblyLine
Line number in generated assembly.ll.
FunctionInfo(const FunctionInfo &)=delete
unsigned id
The function id.
FunctionInfo & operator=(FunctionInfo const &)=delete
InstructionInfo stores debug information for a KInstruction.
unsigned column
Column number in source file.
const std::string & file
Source file name.
unsigned assemblyLine
Line number in generated assembly.ll.
unsigned line
Line number in source file.
InstructionInfo(unsigned id, const std::string &file, unsigned line, unsigned column, unsigned assemblyLine)
unsigned id
The instruction id.