[LLVMbugs] [Bug 23182] New: There doesn't seem to be a way to specify a dwarf version with -gmlt/-gline-tables-only

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 9 16:44:51 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23182

            Bug ID: 23182
           Summary: There doesn't seem to be a way to specify a dwarf
                    version with -gmlt/-gline-tables-only
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dexonsmith at apple.com
                CC: aprantl at apple.com, dblaikie at gmail.com,
                    echristo at gmail.com, friss at apple.com,
                    llvmbugs at cs.uiuc.edu
    Classification: Unclassified

All the -g* options are in a single option group, and kill whatever comes
before them (either that, or I'm very bad at the command-line today?).

On Mach-O (where the default is currently dwarf 2), `-gdwarf-4 -gmlt` gives you
"line tables only dwarf 2", whereas `-gmlt -gdwarf-4` gives you "full debug
info dwarf 4".

It's not clear to me what the right answer is here.

-- 
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/20150409/b512aa3f/attachment.html>


More information about the llvm-bugs mailing list