diff --git a/clang/docs/UsersManual.html b/clang/docs/UsersManual.html index 07015c8f19d9..2356b0314678 100644 --- a/clang/docs/UsersManual.html +++ b/clang/docs/UsersManual.html @@ -49,6 +49,7 @@ td {
  • Precompiled Headers
  • Controlling Code Generation
  • +
  • Controlling Size of Debug Information
  • C Language Features @@ -857,6 +858,29 @@ useful for environments (e.g. deeply embedded) where a trap cannot be properly handled, or when some custom behavior is desired. + +

    Controlling Size of Debug Information

    + + +

    Debug info kind generated by Clang can be set by one of the flags listed +below. If multiple flags are present, the last one is used.

    + + +
    +
    -g0: Don't generate any debug info (default). + +
    -gline-tables-only: +Generate line number tables only. +
    +This kind of debug info allows to obtain stack traces with function +names, file names and line numbers (by such tools as +gdb or addr2line). It doesn't contain any other data (e.g. +description of local variables or function parameters). +
    + +
    -g: Generate complete debug info. +
    +

    C Language Features