[llvm-bugs] [Bug 46284] New: Weird interaction between -g0 and -gmodules
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 11 07:10:00 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46284
Bug ID: 46284
Summary: Weird interaction between -g0 and -gmodules
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: DebugInfo
Assignee: unassignedbugs at nondot.org
Reporter: labath at google.com
CC: jdevlieghere at apple.com, keith.walker at arm.com,
llvm-bugs at lists.llvm.org,
paul_robinson at playstation.sony.com
$ bin/clang -o - -x c -S - -gmodules -g0 <<<"void f(){}" | grep debug
.section .debug_abbrev,"", at progbits
.section .debug_info,"", at progbits
.long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
.Ldebug_info_start0:
.long .debug_abbrev # Offset Into Abbrev. Section
.Ldebug_info_end0:
.section .debug_str,"MS", at progbits,1
.section .debug_line,"", at progbits
I would have expected that the subsequent -g0 will disable all debug info, but
that doesn't seem to be happening.
--
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/20200611/1e7559b6/attachment.html>
More information about the llvm-bugs
mailing list