[llvm-bugs] [Bug 52590] New: Unclear documentation

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 23 05:44:12 PST 2021


            Bug ID: 52590
           Summary: Unclear documentation
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jvapen at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

On https://clang.llvm.org/docs/UsersManual.html#id9 it mentions the following
command line options:
 -gline-directives-only  Emit debug line info directives only
 -gline-tables-only      Emit debug line number tables only

These options might be obvious if you have a thorough understanding of how
debug info is being stored. Though, I don't.
A quick google search for this doesn't give any helpful hints either:

My understanding from -gline-tables-only: Emit debug info that allows the
debugger to show the source code line linked to the stack frame. No information
about variables is available.

However, for the -gline-directives-only I don't understand what it does and
what the difference is with the other option.

Can this be clarified?

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211123/51027161/attachment-0001.html>

More information about the llvm-bugs mailing list