https://bugs.llvm.org/show_bug.cgi?id=23182
Paul Robinson <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Paul Robinson <[email protected]> ---
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs