Valgrind

From Colettapedia
Jump to navigation Jump to search
  • compile with option -g3 to make debug symbols in DWARF-3 format
    • check to see that the symbols directory created by the compile (./<output>.dSYM/) is up to date
  • valgrind -v --dsymutil=yes --tool=memcheck --read-var-info=yes --leak-check=full --log-file=valgrind_output.log ./wndchrm train -l ~/projects/stepping_through_training/small_set/eigen ~/projects/stepping_through_training/small_set/eigen/out.fit