Driver part of debugger tuning.
authorPaul Robinson <paul_robinson@playstation.sony.com>
Sat, 19 Dec 2015 19:41:48 +0000 (19:41 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Sat, 19 Dec 2015 19:41:48 +0000 (19:41 +0000)
commit0334a047df7a1b9592221ac345e6c0663e56891d
tree4d4b9834badde499996c7dc01e9350c56e6d0b1f
parentf48a1f54dd7ca643d92044ad13f33568e725ec4a
Driver part of debugger tuning.

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.

Differential Revision: http://reviews.llvm.org/D15651

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