[llvm-bugs] [Bug 23182] There doesn't seem to be a way to specify a dwarf version with -gmlt/-gline-tables-only
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 26 08:32:06 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=23182
Paul Robinson <paul_robinson at playstation.sony.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Paul Robinson <paul_robinson at playstation.sony.com> ---
The -gdwarf-N option implies -g, which appears to match gcc behavior,
as of Clang 6.0.
I used -gdwarf-3 because it isn't anyone's default, and -g1 because
gcc does not recognize the -gmlt or gline-tables-only spellings.
I tested back to clang 4.0 (don't have anything older handy).
-gdwarf-3 -g1
clang <= 5.0: line tables v2, stub info v3
clang >= 6.0: line tables v3, stub info v3
gcc 7.4.0 : line tables v2, stub info v3
-g1 -gdwarf-3
clang <= 5.0: line tables v2, full info v3
clang >= 6.0: line tables v3, full info v3
gcc 7.4.0 : line tables v2, full info v3
Marking as fixed.
--
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/20190926/62a29286/attachment.html>
More information about the llvm-bugs
mailing list