add -g3 to clang build, and add comments