[PATCH] D15651: Driver part of debugger tuning

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 18 12:36:25 PST 2015


probinson created this revision.
probinson added reviewers: echristo, dblaikie, aprantl, dougk.
probinson added a subscriber: cfe-commits.

Adds driver options named -glldb and -gsce to mean -g plus tuning for
lldb and SCE debuggers respectively; the existing -ggdb option does
the same for gdb. Existing options -ggdb0, -ggdb1 etc. unpack into
-ggdb -g<N>.  (There will not be -glldb<N> or -gsce<N> options.) The
tuning gets a target-specific default in the driver, and is passed
into cc1 with the new -debugger-tuning option.

As fallout, fixes where '-gsplit-dwarf -g0' would ignore the -g0 part
on Linux.


http://reviews.llvm.org/D15651

Files:
  docs/UsersManual.rst
  include/clang/Driver/Options.td
  include/clang/Driver/ToolChain.h
  lib/Driver/ToolChains.h
  lib/Driver/Tools.cpp
  test/Driver/debug-options.c
  test/Driver/split-debug.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15651.43259.patch
Type: text/x-patch
Size: 18920 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151218/c54e2d84/attachment-0001.bin>


More information about the cfe-commits mailing list