This is an archive of the discontinued LLVM Phabricator instance.

Driver part of debugger tuning
ClosedPublic

Authored by probinson on Dec 18 2015, 12:36 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

probinson updated this revision to Diff 43259.Dec 18 2015, 12:36 PM
probinson retitled this revision from to Driver part of debugger tuning.
probinson updated this object.
probinson added reviewers: echristo, dblaikie, aprantl, dougk.
probinson added a subscriber: cfe-commits.
echristo accepted this revision.Dec 18 2015, 2:08 PM
echristo edited edge metadata.

LGTM.

Thanks!

-eric

This revision is now accepted and ready to land.Dec 18 2015, 2:08 PM
This revision was automatically updated to reflect the committed changes.