Skip to content

Commit

Permalink
Fix raw2trace ignoring of error (#2878)
Browse files Browse the repository at this point in the history
Adds a missing error capture in raw2trace_t::read_and_map_modules() where
an error in module parsing was accidentally ignored.
  • Loading branch information
derekbruening authored Mar 7, 2018
1 parent f2d3fa2 commit f0a1f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/drcachesim/tracer/raw2trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ raw2trace_t::read_and_map_modules()
{
std::string err;
if (modlist.empty())
do_module_parsing(); // May have already been called, since public.
err = do_module_parsing(); // May have already been called, since public.
if (!err.empty())
return err;
for (auto it = modlist.begin(); it != modlist.end(); ++it) {
Expand Down

0 comments on commit f0a1f28

Please sign in to comment.