26 unsigned thread_nr = 0;
27 bool thread_nr_set =
false;
29 if(!val.empty() && isdigit(val[0]) && val.find(
":") != std::string::npos)
31 std::string nr = val.substr(0, val.find(
":"));
34 val.erase(0, nr.size() + 1);
37 if(val.rfind(
":") != std::string::npos)
39 std::string
id = val.substr(0, val.rfind(
":"));
40 std::string uw_string = val.substr(val.rfind(
":") + 1);
59 std::vector<std::string> unwindset_elements =
62 for(
auto &element : unwindset_elements)
68 for(
auto &element : unwindset)
79 thread_loop_map.find(std::pair<irep_idt, unsigned>(loop_id, thread_nr));
99 std::ifstream
file(file_name);
103 throw "cannot open file "+file_name;
105 std::stringstream buffer;
106 buffer <<
file.rdbuf();