clang -g0 vs. -g1 vs. -g2 etc

Viewed 73

I learned one can control the amount of debugging information to be produced through the -g<num>flags, from most - 0 to least - 2, however I can't find anywhere what info is included with each of these flags, and what is discarded.

0 Answers
Related